Archive Plan Summary Completing With "Error while populating the fact tables. purging this plan summary." and "ORA-00001: unique constraint (MSC.MSC_APCC_WORKERS_U1)"
(Doc ID 2031706.1)
Last updated on MARCH 16, 2020
Applies to:Oracle Advanced Planning Command Center - Version 12.2.4 and later
Information in this document applies to any platform.
On : 12.2.4 version, Load and Summarization ETL
After applying 22.214.171.124 VCP Cum <Patch 19549533>: When running the Archive Plan Summary with parameter "Enable Details" = Yes, it is completing with error
The issue is occurring while inserting records into msc_apcc_workers due to unique constraint violation.
If we run the following SQL statement manually from msc_phub_pkg.populate_details_fn (the statement which populates msc_appc_workers)
sysdate, fnd_global.user_id, fnd_global.login_id,
(select 'msc_plan_details_pkg' worker_name, 'orders' part_name from dual
union select 'msc_plan_details_pkg' worker_name, 'pegging' part_name from dual
union select 'msc_plan_details_pkg' worker_name, 'exception_details' part_name from dual
We get the following error:
The issue can be reproduced at will with the following steps:
1. Run Archive Plan Summary with parameter "Enable Details" = Yes
2. Note the error above
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