My Oracle Support Banner

ORA-20202: ORA-12991: column is referenced in a multi-column constraint (Doc ID 2649564.1)

Last updated on APRIL 23, 2020

Applies to:

Oracle Demand Management Cloud Service - Version 11.13.20.01.0 and later
Information in this document applies to any platform.

Symptoms


When attempting run demand plan, the following error occurs.

ERROR
-----------------------
 BuildPlan in MscSnapshotsService invoked!
BuildPlan job errored with BIZ error. The error is: Error in creating PDS Measure Data Model: ORA-20101: Error while doing ddl. THe statement being executed was: ALTER Table "msc_data_687161_dyd" DROP(PRD_LVL_MEMBER_ID) The error is -ORA-20202: ORA-12991: column is referenced in a multi-column constraint
ORA-06512: at "FUSION.MSC_SNAPSHOT_DDL", line 115
ORA-06512: at "FUSION.MSC_SNAPSHOT_DDL", line 186
ORA-06512: at line 1

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Go to Demand Management
2. Manage Plans
3. Actions
4. Run Plan
5. See error in Scheduled Processes

Changes

The Product Hierarchy was removed, then added it back in which at that time the plan starting producing the error.

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


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.