My Oracle Support Banner

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 JUNE 20, 2018

Applies to:

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


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

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




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.