OPM Least Cost Formulation Gives Unique Constraint Error (Doc ID 2063150.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Process Manufacturing Product Development - Version 12.2.4 and later
Information in this document applies to any platform.

Goal

On : 12.2.4 version, Least Cost Formulation

When attempting to use Least Cost Formulation, get error:

ERROR
-----------------------
ORA-00001: unique constraint (GMD.GMD_LCF_TECH_DATA_GTMP_PK) violated in Package GMD_LCF_FETCH_PKG Procedure Load Tech Values

How do we fix this?


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Go to Formulation Specification Workbench
2. Actions > Formulate - takes you to Generate/Optimize Formulation
3. Click Generate button at top.
4. Get note stating calculations displayed are not the best fit.
5. Click OK and get unique constraint error
6. Click OK on error message and then OK on Generate/Optimize Formulation, and the Simulator does show costs

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot use Least Cost Formulation.
 

Solution

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