My Oracle Support Banner

Error: "The DELETE Statement Conflicted With the REFERENCE Constraint 'fk_task_calendar,'" When Deleting a Project. (Doc ID 2274686.1)

Last updated on JUNE 24, 2022

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 16.2.0.0 and later
Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 16.2.0.0 and later
Primavera P6 Professional Project Management - Version 16.2.0.0 and later
Information in this document applies to any platform.

Symptoms

When attempting to delete a Project, the following error occurs:

ERROR
*****************************************************
* EXCEPTION REPORT *
*****************************************************

Executable: PM.exe
Application: Primavera P6 Professional R16.2
Event Code: PRMDB-1124-C
Message:
 PRM DBAccess Error: SQL State: 1, SQL Error Code: 3621,
 Level: 0, Procedure: , Line: 1
 The statement has been terminated.
 SQL State: 1, SQL Error Code: 547, Level: 16, Procedure: ,
 Line: 1
 The DELETE statement conflicted with the REFERENCE
 constraint "fk_task_calendar". The conflict occurred in
 database "PMDB", table "dbo.TASK", column 'clndr_id'.

Context:
 1: TDevxMainForm.BeforeFormShow
 2: TDevxMainForm.actProjectsExecute
 3: TDevxMainForm.BeforeFormShow
 4: TDevxMainForm.actProjectWBSExecute
 5: TCFormManager.SetToolbar
 6: TDevxMainForm.BeforeFormShow
 7:
 8:
 9:
 10:

Detail:
 Type: EprmDBSQLExecutionFailure
 Object Type: TCVirtualQueryGrid

Database Error:
  Error Code: 0

OTHER REPORTED ERROR
Event Code PRMDB-3470-2
PRM DBAccess Error: ORA-02292: integrity constraint (ADMUSERDE.FK_TASK_CALENDAR) violated - child record found


STEPS
The issue can be reproduced at will with the following steps:

  1. Log in to P6 Professional Client.
  2. Attempt to delete a Project.
  3. Event code error seen.

BUSINESS IMPACT
The issue has the following business impact:
Due to this issue, users cannot delete a Project.

Changes

 

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.