In order to delete the project that the job is failing on, the user running the Delete Investments job will need to be made a Collaboration Manager on the project.
The following set of steps can be used:
1. In the PPM UI, go to the Team tab of the project in question. Based on the error message on this example, project PR0123.
2. Add the resource to the project team, which also adds the resource as a project participant (based on the 'Automatically Add Staff Members As Investment Participant' under Administration - Project Management - Settings)
3. To then make the resource a collaboration manager, create an xml file with the following and use XOG to make the update:
<?xml version="1.0" encoding="UTF-8"?>
<NikuDataBus xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../xsd/nikuxog_user.xsd">
<Header version="6010" action="write" objectType="user" externalSource="ORACLE-FINANCIAL"/>
<User externalId=" " userName="<username>" userStatus="Active">
<PersonalInformation emailAddress="<user's email address>" firstName="<users first name>" lastName="<user's last name>"/>
<Resource resourceId="<resource id>"/>
<nls languageCode="en" name="project 5110000 participant group"/>
<nls languageCode="en" name="project 5110000 CM group"/>
Where the 5110000 number referenced is the internal ID of the project that the job is failing on.
Once steps 1-3 are completed, re-run the Delete Investments job (logged in as the user that is now one of the the collaboration managers on this project).