My Oracle Support Banner

Error "UDFType <UDF Type> Will Not Be Imported, as the Match Is Found but the DataType Field Does Not Match" When Importing an MS Project XML Into P6 Professional (Doc ID 2910108.1)

Last updated on JANUARY 03, 2023

Applies to:

Primavera P6 Enterprise Project Portfolio Management - Version 19.12.14.0 to 19.12.20.0 [Release 19.12]
Primavera P6 Enterprise Project Portfolio Management - Version 20.12 to 20.12.17.0 [Release 20.12]
Primavera P6 Enterprise Project Portfolio Management - Version 21.12 to 21.12.11.0 [Release 21.12]
Primavera P6 Enterprise Project Portfolio Management Cloud Service - Version 22.1 to 22.11 [Release 22.1 to 22.11]
Information in this document applies to any platform.

Symptoms

ACTUAL BEHAVIOR

Exporting a P6 project to MS Project XML type, then opened and saved in MS Project as XML then imported back into P6 Professional results in a critical UDF error. 

EXPECTED BEHAVIOR

No error occurs during XML import after exporting a project to MS Project XML type, opened and saved in MS Project, and imported back into P6 Professional.

ERROR

WARNING: UDFType 'userField242' will not be imported, as the match is found but the DataType field does not match.

STEPS

The issue can be reproduced using the following steps:

  1. In P6 Professional, add an Activities UDF code as Integer Type.
  2. Display and add Activities UDF code values.
  3. Export the project to MSP XML format, using Custom Field Mapping to map Activities UDF code (Integer) to Number1.
  4. In MS Project, open the new MSP XML file; add and display mapped Activities UDF codes.
  5. Select File > Save As and save the project as an XML file.
  6. In P6 Professional, import the MSP XML as a new project.
  7. Observe the reported error.

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!


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