Error "Field 'Id' in Activity may not contain more than 20 characters" When Running Code in Integration API
(Doc ID 2156126.1)
Last updated on OCTOBER 11, 2022
Applies to:
Primavera P6 Enterprise Project Portfolio Management - Version 8.3 and laterPrimavera P6 Professional Project Management - Version 8.3 and later
Information in this document applies to any platform.
Symptoms
When attempting to create or update an Activity ID field in a P6 database via the Integration API, one of the following errors occurs.
- The Activity ID field in P6 Web or P6 Professional (connected to an EPPM database only) allows a string length greater than 20, but when using the API the following error occurs.
Exception processing entry: 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 - The following error is displayed in the 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
Changes
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! |