Last updated on JULY 07, 2016
Applies to:Oracle Fusion Sales Cloud Service - Version 18.104.22.168.0 and later
Information in this document applies to any platform.
In Partners -> Contacts sub-tab -> there is a custom FCL field named Contact Record Type, with two values:
1. End Customer Contact
This field is displayed only on Details layout.
Customer's requirement is that whenever they are creating a partner contact, the value of the FCL field should be defaulted to "Partner".
In order to achieve the requirement, they have created a Before Insert in Database Object Trigger in Contact Object, but so far no joy:
def partyUsages = PartyUsageAssignment;
def PartnerFlag = ''
def partyUsg = partyUsages.next();
if(partyUsg?.PartyUsageName=='Partner' && PartnerFlag!='Y')
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