Memory Based Planner Errors APP-FND-01564 mraorc_add_onhand_recom failed ORA-00001 unique constraint (MSC.MSC_SUPPLIES_U1) violated

(Doc ID 749475.1)

Last updated on JUNE 28, 2017

Applies to:

Oracle Advanced Supply Chain Planning - Version 11.5.10 and later
Information in this document applies to any platform.

Symptoms

On 11.5.10 Memory Based Planner

Memory Based Planner (MSCNEW) ends with error:

APP-FND-01564: ORACLE error 1 in mraorc_add_onhand_recom

Cause: mraorc_add_onhand_recom failed due to ORA-00001: unique constraint (MSC.MSC_SUPPLIES_U1) violated

The SQL statement being executed at the time of the error was: insert into msc_supplies(plan_id,sr_instance_id,transaction_id,last_up and was executed from the file .
APP-MRP-22075: An internal error has occurred (mrfrec_flush_supplies, 11, 51994,  )
@ERRORTEXT            Cause:        The current routine encountered the specified@ERRORTEXT  x        Action:        Contact your customer supportrepresentative.

Statement with the error:
insert into msc_supplies(plan_id,sr_instance_id,transaction_id,last_up

The issue can be reproduced at will with the following steps:
1. Run the ASCP plan.

2.  Error occurs

Cause

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