Unable To Programmatically Set A Custom Resource Field Via Groovy

(Doc ID 2112831.1)

Last updated on MARCH 03, 2016

Applies to:

Oracle Fusion Sales - Version and later
Information in this document applies to any platform.


On : version, Accounts, Contacts, Households

Unable to programmatically set a custom Resource field via Groovy

we have identified two related issues with the Resource object:

1. We are unable to use groovy to update a custom field on the Resource object. This is the groovy script that we are firing before Update into Database (ideally this would be changed to before Insert into Database):


Where, UserReferenceName_c is the new field we are setting with the value from the system field Username.

2. The system field User ID is not always set by the system:
We noticed that for some of the users that we created we do get the Username filled in, but for others no.


Sign In with your My Oracle Support account

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

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms