Default Account Owner (Doc ID 2294968.1)

Last updated on AUGUST 08, 2017

Applies to:

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

Goal

How to make Account Owner while creating the Account. We wrote following script in the before insert trigger of Account. But owner is not defaulted as given in the script.

setAttribute('OwnerPartyId',xxxxxxxxxxxxxxxx)
 

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