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 NOVEMBER 28, 2019

Applies to:

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

Goal

On : 11.12.1.0.0 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 -

Error
Attribute LockAssignmentFlag in PartnerAccountResourcePEO is required.
Error
Attribute AccessLevelCode in PartnerAccountResourcePEO is required.
Error
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
 

Solution

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
Goal
Solution
References


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