Error "ORA-00001: Unique Constraint (ADMUSER.PK_SUMTRSRC) Violated" When Attempting to Execute the RESET_SUMTBL_PK Procedure to Reset Primary Keys on the SUMTRSRC Table
(Doc ID 2757760.1)
Last updated on MARCH 22, 2022
Applies to:Primavera P6 Enterprise Project Portfolio Management - Version 184.108.40.206 and later
Information in this document applies to any platform.
When attempting to execute the summarization record maintenance stored procedure per doc id 2104603.1, to restore summarization functionality, the following error occurs:
Error starting at line : 1 in command -
Error report -
ORA-00001: unique constraint (ADMUSER.PK_SUMTRSRC) violated
ORA-06512: at "ADMUSER.RESET_SUMTBL_PK", line 22
ORA-06512: at line 2
00001. 00000 - "unique constraint (%s.%s) violated"
*Cause: An UPDATE or INSERT statement attempted to insert a duplicate key.
For Trusted Oracle configured in DBMS MAC mode, you may see
this message if a duplicate entry exists at a different level.
*Action: Either remove the unique restriction or do not insert the key.
The issue can be reproduced at will with the following steps:
1. Connect to the database as the P6 schema owner.
2. Execute the following to run the summarization record maintenance stored procedure:
3. Observe the reported error.
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