"Cannot resolve foreign key for TASKPRED" When Importing Activity Relationships via Excel
(Doc ID 2993842.1)
Last updated on DECEMBER 20, 2023
Applies to:
Primavera P6 Enterprise Project Portfolio Management - Version 20.12.6.0 to 20.12.8.0 [Release 20.12]Information in this document applies to any platform.
Symptoms
In P6 Professional, when exporting Activity Relationships (Predecessors and Successors) to Excel, upon import back into the same database an error occurs.
ERROR
WARNING: TASKPRED: Failed to resolve foreign key for field Activity ID with value <task_id>. Field cleared.
ERROR: TBOBasedDataManager.InsertNewObject: Cannot resolve foreign key for TASKPRED
STEPS TO REPRODUCE
The issue can be reproduced at will with the following steps:
- Login to P6 Pro.
- Open the project.
- Go to File > Import.
- Choose Spreadsheet - (XLSX).
- Select the file to be imported.
- Choose the Activity Relationships checkbox.
- Select Update Existing Project and set Import To as teh open project.
- Click Finish.
- Import fails with reported error.
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 |