Unable To Retrieve Parent Id (TargetPartyId) In After Create Trigger

(Doc ID 2103127.1)

Last updated on APRIL 03, 2016

Applies to:

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


Create a After create trigger under opportunity:
def _AccountId = nvl(TargetPartyId, '')
 if(_AccountId != '')
{ setAttribute('Comments',_AccountId)}

If you go on an Account -> Go to Opportunities -> create opportunity -> why the trigger is retrieving null?



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