REST Call to Get BP Record Data Does Not Return Line Item Data When BP Record is Created From the Document Manager File
(Doc ID 2890821.1)
Last updated on AUGUST 25, 2022
Applies to:
Primavera Unifier - Version 21.12 to 21.12.7.0 [Release 21.12]Primavera Unifier Cloud Service - Version 21.12 to 20.12.7.0 [Release 21.12 to 20.12]
Information in this document applies to any platform.
Symptoms
Issue happens to Business Process (BP) records which are created from the Document Manager files. (If the BP record is created from the BP Log node, then the rest call can get the line item data successfully.)
Run Standard REST API to get BP record with line item parameter set to 'yes' as following example:
GET URL/ws/rest/service/v1/bp/record/{project_number}?input={"bpname":"Vendors","record_no":"VEN-001","lineitem":'yes'}
The response only contains Upper form details without line item details,no "_bp_lineitems" in the response.
The issue can be reproduced at will with the following steps:
- Log in Unifier and navigate to Document Manager node
- Select one file to create BP record
- Select Document type BP with line items
- Send to the next step in the workflow
- Using REST tool like Postman
- Run Get request with above input parameters (Reference rest call document:https://docs.oracle.com/cd/F37375_01/English/Integration_Documentation/integration/index.html)
- The API response does not include the line item data
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! |