When Updating Line Items via UpdateBPrecordv2 REST Call, Error: "Field: xxx Is Required" Even Though Data Is Entered in that Field
(Doc ID 3035264.1)
Last updated on JULY 31, 2024
Applies to:
Primavera Unifier Cloud Service - Version 24.2 to 24.6 [Release 24.2 to 24.6]Information in this document applies to any platform.
Symptoms
ACTUAL BEHAVIOR
-------------------------------
A mandatory data element is displaying an error (Field: xxx is required) when running the UpdateBPRecordV2 Webservices call, even though the field has a value in the database.
STEPS TO REPRODUCE
-------------------------------
- Run webservice call UpdateBPRecordV2 to update line item.
- When there is no "bItemID" provided in "_bp_lineitems", there is no error, and the codes will create a new line item. Users need to provide value for field xxx since it's a new record (Creating new line item).
- When there is an available "bItemID" provided in "_bp_lineitems", user wants to update the existing line item, and it already has value for field xxx in the database. There will be an error: "Field: xxx required. xxx: Input required "(updating existing line item).
ADDITIONAL INFORMATION
-------------------------------
The issue happens when updating an existing line items.
EXPECTED BEHAVIOR
-------------------------------
When updating the line item, a mandatory field that already has value in the database should not be required when updating an existing line item.
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 |