Bulk Create BP Record Webservice Fails For All Records, If At Least One Record Fails
(Doc ID 2898088.1)
Last updated on SEPTEMBER 23, 2022
Applies to:
Primavera Unifier Cloud Service - Version 9.7 to 22.9 [Release 9.7 to 22.9]Information in this document applies to any platform.
Symptoms
ACTUAL BEHAVIOR
When attempting to bulk create Business Process (BP) records, and a Data Element (DE) entry requires a unique value and one or more fields are invalid for the unique constraint, all subsequent entries fail and the records are not created.
EXPECTED BEHAVIOR
When attempting to bulk create BP records, and a DE entry requires a unique value and one or more fields are invalid for the unique constraint, only the fields that fail the unique constraint should not be created.
STEPS TO REPRODUCE:
-----------------------
The issue can be reproduced at will with the following steps:
- Using REST web services attempt to bulk create BP records using the Create BP Record method.
- The value for a "Unique DE" intentionally replicates that of an existing record (failing a unique constraint).
- Other records and their fields are passed in the REST call.
- A status is received stating "The value for field "Unique DE" must be unique. There is another record containing the same value for this field."
- None of the other records are created.
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 |