My Oracle Support Banner

Duplicate Project Codes Are Created when Importing a Primavera XML File Using the "New Name" Feature in the Import Template (Doc ID 2859446.1)

Last updated on MAY 23, 2022

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 20.12 to [Release 20.12]
Primavera P6 Enterprise Project Portfolio Management - Version 21.12 to [Release 21.12]
Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 22.1 to 21.2 [Release 22.1 to 21.2]
Information in this document applies to any platform.


Although Project Codes are already available in the Import template Save tab, while importing a Primavera XML file the tool shows Project Codes as New and creates duplicate records, causing the Save tab to grow in size sometimes causing the application to freeze.

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

1. Create a new Project Code named "X" with values like 2020, 2021 etc.
2. Create a new Project, assign the above Project Code with 2020 and export it to Primavera XML format.
3. In a new destination database, create a Project Code named "Y" and assign the same values as in Step 1.
4. Import the project by creating a new template in P6 Web and selecting Manage Templates > Edit > Advanced > Project Codes.
5. The Project Code "X" displays; assign the destination database values to it by selecting the New Name as "Y" created in step 3 and set its value to "X" (i.e. 2020).
6. Next time the import is tried, in the Advanced tab the Project Codes will be shown as 'saved'.
7. Change the Project Code in the original database to a new value of 2021, and export the project again.
8. Use the same template as before to import the XML file in the destination database.
9. In the Advanced tab the Project Code shows as New; assign value 2021 to it in the destination database, save and import the project.
10. After importing, when trying to save again the code shows as Saved only and is not displayed in the New list.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

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