How To Get API jtf_rs_srp_territories_pub.create_rs_srp_territories , Using Same Sequence AS In The Form UI/Resource ? (Doc ID 1922609.1)

Last updated on SEPTEMBER 02, 2016

Applies to:

Oracle Common Applications - Version 12.1.3 and later
Oracle Territory Management - Version 12.1.3 to 12.1.3 [Release 12.1]
Information in this document applies to any platform.

Goal


SALESREP_TERRITORY_ID has two different sequences.  The Resource form uses RA_SALESREP_TERRITORIES_S where as the public API  JTF_RS_SRP_TERRITORIES_S is used.

These sequences are not matching and the sequence which is used by the API is lagging behind and while creating a territory may get unique constraint error.

How can both use the same sequence, RA_SALESREP_TERRITORIES_S ?

 

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