Sales Account trigger to create account classifications is not Setting the PrimaryFlag for some cases (Doc ID 2063336.1)

Last updated on OCTOBER 06, 2015

Applies to:

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

Symptoms

Account Assignment Not Working

Details
We are facing a problem with account assignment. Some users are relating that they are creating an Account and it's not showing to them, because the assignment didn't worked. Our Accounts are assigned using two Auxiliary Classifications, which are created using groovy script on Sales Account object. Follow the trigger. Sometimes it works, sometimes don't.
The territory assignments that do not work are the ones that the classifications do not have the PrimaryFlag active. but in the script that flag is always being set as active.

Cause

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