Store Inventory Management (MOSC)

MOSC Banner

SIM.PROMOTION_PRICE_CHANGE failed with ORA-00001: unique constraint error

edited Sep 5, 2014 5:05AM in Store Inventory Management (MOSC) 2 commentsAnswered

Hello,

The job SIM.PROMOTION_PRICE_CHANGE aborted in PRD nightly batch with the below error.

Caused by: java.sql.SQLIntegrityConstraintViolationException: ORA-00001: unique constraint (SIM132.PK_RK_BPP_PRM_DETAIL) violated

ORA-06512: at "SIM132.BULK_PRICE_PROCESSING", line 4068

The data generated in the PUB file(PRMPC_20140827034432.pub) has got duplicate records.

We could see duplicates for almost all the item/loc combinations from this file.  In order to process this file, we need to remove the duplicate  records which is really complicate process.

We need to understand why duplicates are included in the pricing file. Due to this issue the price changes are not update to the SIM, which is causing price mismatch between RPM and SIM.

Howdy, Stranger!

Log In

To view full details, sign in to My Oracle Support Community.

Register

Don't have a My Oracle Support Community account? Click here to get started.

Category Leaderboard

Top contributors this month

New to My Oracle Support Community? Visit our Welcome Center

MOSC Help Center