Stkschedxpld Batch Aborts With 'Unique Constraint Error: Post_ssl_struct~stake_sku_loc'

(Doc ID 2020031.1)

Last updated on MAY 03, 2016

Applies to:

Oracle Retail Merchandising System - Version 13.2.6 and later
Information in this document applies to any platform.


ORA-00001 (Unique constraint violated error) occurs when running stkschedxpld batch.

Steps to Recreate:

1. Commit max counter set to 1000 for batch stkschedxpld
2. Create an item list. The item list should contain four regular items. There should be four different packs in the system which are formed out of these four regular items.
3. Run the batch to create entries in STAKE_HEAD, STAKE_SKU_LOC and other tables.
4. The batch aborts with the below mentioned error in the ADD_TO_SSL_STUCT_FUNCTION() while inserting into STAKE_SKU_LOC table.

post_ssl_struct~stake_sku_loc~-1~ORA-00001: unique constraint (RMS13.PK_STAKE_SKU_LOC) violated~insert for count_id failed



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