My Oracle Support Banner

Error: "The At Completion Duration field is read-only. (PRM-000000046)" When Attempting to Batch Create 2 Resource Assignments on an Activity (Doc ID 3023568.1)

Last updated on MAY 29, 2024

Applies to:

Oracle Primavera Cloud Service - Version 24.4 and later
Information in this document applies to any platform.

Symptoms

When attempting to use the REST API to add multiple resource assignments using BATCH, this fails with error:

ERROR
-----------------------
Err=[BadRequest, Content={"affectedFields":["AT_COMPLETION_DURATION"],"objectClassSimpleName":
"Assignment","objectId":99528,"localizedException":true,"freeMemory":0,"message":"The At Completion Duration field is read-only. (PRM-000000046)","time":"xxxx UTC","errorCode":"000000046","exceptionType":"ERROR"}]

STEPS
-----------------------
The issue can be reproduced at will with the following steps:

  1. Attempt to add multiple resource assignments via REST API.
  2. Process will fail with error.

 

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!


In this Document
Symptoms
Cause
Solution
References


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.