Delete Investments Job Fails - PRJ-07536 error

Document ID : KB000038536
Last Modified Date : 14/02/2018
Show Technical Document Details

Issue: 

Other Work Investment has timesheet entries posted. The associated Time Periods were previously deleted, now the Other Work cannot be deleted, but it should be. The Delete Investments job failed.

Prerequisites:

  1. Have an existing non-project investment (NPIO) such as an 'Other Work' investment with team members that have posted timesheets
  2. The administrator has closed and deleted some old Time Reporting Periods that may have been used for the timesheets that have been posted into the NPIO investment.

Steps to Reproduce:

  1. Mark an 'Other Work' investment as inactive (uncheck Active box)
  2. Go to the Other Work List view, select this investment and click 'Mark for Delete' button
  3. Execute the 'Delete Investments' job

Expected Result: The job should complete successfully and delete the investment

Actual Result: The job failed with the error message: 

PRJ-07536: An error ocurred while attempting to delete one or more projects in the background scheduler. Please, refer to the log for details

Cause: 

The settings on the investment are preventing the job from deleting it.  Because there is at least one Time Reporting Period that has been deleted where this investment has had prior timesheet entries, the job cannot locate the time reporting period and thus causes the error message to appear.  

 

Resolution: 

To resolve this error message, you will need to set the Track Mode to 'None' and disable Open for Time Entry option so that the job will not check for matching Time Reporting Periods.  

  1. Login as the Investment Manager 
  2. Navigate to the specific Investment 
  3. Locate the Settings page where the 'Track Mode' and 'Open for Time Entry' attributes are displayed 
  4. Set Track Mode = None 
  5. Set Open for Time Entry = unchecked 
  6. Save the changes 
  7. Run the 'Delete Investments' job ; it should successfully delete the investment now