Last updated on JUNE 21, 2017
Applies to:Oracle Fusion Sales Cloud Service - Version 188.8.131.52.0 to 184.108.40.206.0 [Release 1.0]
Information in this document applies to any platform.
While trying to add a person to new Org in Sales Cloud, before adding him to new Org, user is deleting the Old assigned org to the user via terminateResource method in Resource web service (r8).
This happens fine and the user's role and org get end dated. Then add the resource to a new org via mergeResource method.
Now, when try to query the resource from Manage Resources page, then navigate to Org Tab, then go to Roles tab, and then back to Org Tab, see the error.
Can see two rows in the roles, one for the newly created role and the other one as end dated, with end date of today.
The error goes if end date the user's role to a day earlier than sysdate and save.
In order to replicate the same thing, and so that the error goes, added one more logic in the program to end date the user's old role to a date lesser than sysdate. - this is after adding the new org.
The error gets corrected and was able to navigate to the user's role and org tab correctly.
But the real problem now is, not able to terminate the same resource second time (running the program on a different date), and get the same message via the webservices:
Error: JBO-27024: Failed to validate a row with key oracle.jbo.Key[100000028322550 ] in ResourceRoleAssignEOJBO-HZ:::HZ_RS_OVERLAP_DATE_ERR: A role assignment with an overlapping date range already exists for this resource and this role.
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms