'ORA-00001: Unique Constraint (RMS14.PK_ITEM_COUNTRY) Violated' When XITEMLOC Is Called From External Application
(Doc ID 2303907.1)
Last updated on SEPTEMBER 11, 2017
Applies to:Oracle Retail Merchandising System - Version 14.0.2 and later
Information in this document applies to any platform.
When XITEMLOC is called in multi-threading mode, if an Item has to be ranged to multiple locations,
could be returned by program unit NEW_ITEM_LOC_SQL.CHECK_ITEM_COUNTRY.
Steps to reproduce:
Considering below set of data:
item location_id country_id
----- --------------- -------
ABC1 1 US
ABC1 2 US
ABC1 3 US
when XITEMLOC is called in parallel for above transactions which are getting processed in multiple sessions, it's creating the insert statements for all transactions and error above can be found.
To view full details, sign in with your My Oracle Support account.
Don't have a My Oracle Support account? Click to get started!
In this Document