What's new in Customer Journeys?

Connect and learn more!
How To Create Accept and Reject Receipt Transactions using API in 23a? — Cloud Customer Connect
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

How To Create Accept and Reject Receipt Transactions using API in 23a?

Received Response
111
Views
1
Comments
edited Mar 1, 2023 1:15AM in Inventory Management 1 comment

Summary:

How To Create 4-way Receipt Transactions using API in 23a?

Business scenario:

While creating PO Receipt automation flow using REST APIs. How to receive multiple receipt lines with accept/reject status with REST API?

Please find below sample code for this requirement.

1. URL: make sure the URL in postman stop at :

https://test.fa.us6.oraclecloud.com/fscmRestApi/resources/11.13.18.05

2. Content-Type : application/vnd.oracle.adf.batch+json

3. Sample Payload :

resource name: receivingReceiptTransactionRequests

Content type:

application/vnd.oracle.adf.batch+json

Body:

{

"parts": [

{

"id": "part1",

"path": "/receivingReceiptTransactionRequests",

"operation": "create",

"payload": {

"SourceDocumentCode": "PO",

"ReceiptSourceCode": "VENDOR",

"TransactionType": "ACCEPT",

"DocumentNumber": "1000125",

"DocumentLineNumber": 1,

"ItemNumber": "RCV-100",

"OrganizationCode": "M1",

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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