My Oracle Support Banner

How to Add Resources From Account Sales Team To Partner Account Team Using Groovy (Doc ID 2436588.1)

Last updated on MAY 11, 2022

Applies to:

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


On : version, Partner Management

We have a business scenario where we need all the users present in the sales team of an Account to be present in the Partner Account sales team as well. The PartyId of both Account and Partner is same.  If LockAssignmentFlag, AccessLevelCode and AssignmentTypeCode fields are not included in the groovy then the error message is shown as -

Attribute LockAssignmentFlag in PartnerAccountResourcePEO is required.
Attribute AccessLevelCode in PartnerAccountResourcePEO is required.
Attribute AssignmentTypeCode in PartnerAccountResourcePEO is required.

And when I include this fields in the groovy then we get an error message that the LockAssignmentFlag or AccessLevelCode or AssignmentTypeCode attribute is not found.

The script is written in Before Update Trigger on accounts as Partner is hidden from UI for users and is used for visibility purpose on Opportunity


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.