"Field 'Id' in Activity may not contain more than 20 characters" when running code in Integration API
Last updated on JULY 06, 2016
Applies to:Primavera P6 Enterprise Project Portfolio 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.
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