Salesprocess Batch Fails When POSU File Has Different Tax Amounts for Same Item
(Doc ID 2880718.1)
Last updated on JULY 04, 2022
Applies to:
Oracle Retail Merchandising Foundation Cloud Service - Version 19.3 and laterInformation in this document applies to any platform.
Symptoms
Salesprocess batch is failing with an error when POSU file has different tax amounts for different transactions having same consignment item.
ERROR
---------------
ORA-00001: unique constraint (RMS01.PK_INVC_DETAIL) violated@2CORESVC_SALES_UPLOAD_PRST_SQL.PERSIST_INVC_DETAIL
ORA-00001: unique constraint (RMS01.UK_INVC_DETAIL_VAT) violated returned by program unit CORESVC_SALES_UPLOAD_PRST_SQL.PERSIST_INVC_DETAIL_VAT.
Steps to Recreate:
- Create different sale transactions for same consignment item on same date but with different tax amount.
- Audit the storeday and run saexprms batch to generate POSU file.
- Run uploadsales batch using above POSU file.
- Run salesprocess and notice the error:
ORA-00001: unique constraint (RMS01.PK_INVC_DETAIL) violated@2CORESVC_SALES_UPLOAD_PRST_SQL.PERSIST_INVC_DETAIL
ORA-00001: unique constraint (RMS01.UK_INVC_DETAIL_VAT) violated returned by program unit CORESVC_SALES_UPLOAD_PRST_SQL.PERSIST_INVC_DETAIL_VAT.
Changes
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! |
In this Document
Symptoms |
Changes |
Cause |
Solution |
References |