Get Started with Redwood: Oracle Cloud SCM and Purchasing
how to add attachment to PR
Summary:
Issue Uploading Attachments (>13MB) from PO to PR via REST APIs in OIC
Content (please ensure you mask any confidential information):
Hi,
I have a requirement to copy attachments from an existing Purchase Order (PO) and upload them to newly created Purchase Requisitions (PRs) that are created via FBDI.
Our current approach is as follows:
- Use the Get File REST API to retrieve the attachment content from the existing PO.
- Use the Upload File to UCM REST API to upload the file.
- Use the Create Attachment REST API for Purchase Requisition, passing the file content.
This approach works successfully for files up to 13MB. However, for files larger than 13MB, we encounter issues in OIC while parsing the JSON-to-XML response payload from the Get File Content REST service.
0