You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register
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:

  1. Use the Get File REST API to retrieve the attachment content from the existing PO.
  2. Use the Upload File to UCM REST API to upload the file.
  3. 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.

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!