My Oracle Support Banner

Using JTF_RS_ROLE_RELATE_PUB API to Assign Roles to Resource always commits (Doc ID 420969.1)

Last updated on AUGUST 06, 2020

Applies to:

Oracle Incentive Compensation - Version and later
Information in this document applies to any platform.


Using the Paygroup to Role Role API JTF_RS_ROLE_RELATE_PUB.create_resource_role_relate to convert over 70000 resources.  Even though the parameter for P_COMMIT is entered as FND_API.G_FALSE, the API commits the transaction. This will be a huge problem when running conversions, if they need to roll back a specific transaction.

The issue can be reproduced at will with the following steps:
1. Create the sql script.
2. In the script call the API JTF_RS_ROLE_RELATE_PUB.create_resource_role_relate.
3. Here's a snippet of the code that will be used to assign roles to resources:


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.