Error "??fld.UserDefinedFieldValue.ForeignKeyId??: Unique Constraint (??fld.UserDefinedFieldValue.UDFTypeId??,??fld.UserDefinedFieldValue.ForeignKeyId??) Violated" When Creating UDF Values Using the Primavera Integration API

(Doc ID 2392249.1)

Last updated on MAY 21, 2018

Applies to:

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

Symptoms

When attempting to use P6 integration API to update UDF Values on Activities the following error occurs.

ERROR
-----------------------
??fld.UserDefinedFieldValue.ForeignKeyId??: Unique constraint (??fld.UserDefinedFieldValue.UDFTypeId??,??fld.UserDefinedFieldValue.ForeignKeyId??) violated. The value 16690784 of the field ??fld.UserDefinedFieldValue.ForeignKeyId?? already exists.

Changes

 

Cause

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 hundreds of Community platforms