"Field 'Id' in Activity May Not Contain More than 20 Characters" When Running Code in Integration API
(Doc ID 2156126.1)
Last updated on MARCH 07, 2019
Applies to:Primavera P6 Enterprise Project Portfolio Management - Version 8.3 and later
Primavera P6 Professional Project Management - Version 8.3 and later
Information in this document applies to any platform.
Symptom 1: Activity Id in the Primavera client allows greater than 20 but when using the API get the following error
Exception processing entry from Teradata: PROJ_ID: XXX, WBS_ID: XXX, ACTIVITY_CODE:XXXXXXXXXXXXXXXXXXXXXX, ACTIVITY_NAME: XXXXXXXXX, ACTIVITY_START_DATE: 2016-03-29 00:00:00, ACTIVITY_FINISH_DATE: 2016-04-05 00:00:00, REMAINING_DURATION: 96, REMAINING_UNITS_TIME: null, PROJ_NAME: XXXXXXXXX, SOURCE: XXX,
Exception is:Field "Id" in Activity may not contain more than 20 characters
Symptom 2: See the following error in API log.
com.primavera.integration.client.bo.InvalidValueException: Field "Id" in Activity may not be set to a length that exceeds the limit defined in GlobalPreferences.
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