Release : 16.0.2+
To resolve the issue, run the following queries in order to arrive at the delete statements needed to resolve the issue from the database/UI standpoint.
Be sure to have a database backup as the procedure directly updates the database.
Please contact the Support team for guidance and supervision.
Example:
/*
proj=testproject code=TESTPROJ123 id=5AAAAAA
res=johnsmith
code=johnsmith123
id= 5BBBBBB
*/
1. Get the project internal id
SELECT id,code,name FROM INV_INVESTMENTS WHERE code = 'TESTPROJ123'
--id= 5AAAAAA
2. Get the resource internal id
SELECT id,unique_name, full_name FROM srm_resources
WHERE unique_name = 'jsmith123'
--id = 5BBBBBB
3. Get assignment internal id(s)
SELECT a.practsum/3600, a.prid, a.team_id
FROM PRASSIGNMENT a
WHERE a.prresourceid = 5BBBBBB
AND prtaskid IN (SELECT prid FROM prtask WHERE prprojectid = 5AAAAAA)