Unable To Auto Populate Contact Field In Activity Using Groovy (Doc ID 2172564.1)

Last updated on AUGUST 23, 2016

Applies to:

Oracle Fusion Sales Cloud Service - Version 11.1.11.1.0 to 11.1.11.1.0 [Release 1.0]
Information in this document applies to any platform.

Goal

Unable to bind the primary contact field under activity object using the contact party Id.

Actually requirement is like when associate account in activity, primary contact of that account should auto populate in primary contact field of activity.

Have put a script under update trigger in activity, in that script, it will fetch primary contact id associated with activity using activity view object. There is no field in activity to bind this id.
Couldn't find any field that hold the primary contact id under activity, only 'primarycontactName' is available in activity. Can't bind using the name since it is a dynamic drop-down.

So where to bind this contact id?
 

Solution

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