Stockcountprocess_job Failed with Unique Constraint Error
(Doc ID 2710611.1)
Last updated on APRIL 15, 2021
Applies to:
Oracle Retail Merchandising Foundation Cloud Service - Version 19.0 and laterInformation in this document applies to any platform.
Symptoms
During cycle count, stockcountprocess_job failed with error:
"0PACKAGE_ERROR@1ORA-00001: unique constraint (RMS01.PK_STAKE_SKU_LOC) violated@2CORESVC_STOCK_UPLOAD_SQL.CREATE_STAKE_SKU_LOC".
Steps to reproduce:
- Create stock count.
- Run in order:
REFEODINVENTORY_JOB
REFRESH_MV_RESTART_STOCK_COUNT_JOB
STKXPLD
STKUPD_PRE
STKUPD
DTESYS. - Upload count file.
- Run LIFSTKUP_JOB, STOCKCOUNTUPLOAD_JOB and STOCKCOUNTPROCESS_JOB.
- Check SVC_STKUPLD_FHEAD , SVC_STKUPLD_STATUS , SVC_STKUPLD_FDETL and SVC_STKUPLD_FTAIL tables.
- Notice that SVC_STKUPLD_STATUS has error: "0PACKAGE_ERROR@1ORA-00001: unique constraint (RMS01.PK_STAKE_SKU_LOC) violated@2CORESVC_STOCK_UPLOAD_SQL.CREATE_STAKE_SKU_LOC".
Cause
To view full details, sign in with your My Oracle Support account. |
|
Don't have a My Oracle Support account? Click to get started! |