Thank you for supporting the Cloud Customer Connect Community in 2024. It's a gift to work with you!

Look back
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

What value needs to be passed for "DemandSourceLineNumber" while creating the TO Reservation

Summary:

Hi Experts,

Hope you all are doing well.

we have one business requirement to create reservation once the Transfer Order gets created in Oracle. We found below REST API to achieve the business requirement. But we are getting the error "The value of the attribute {DEMANDSOURCELINENUMBER=<>} isn't valid" . We are passing TransferOrderLineNumber here and still getting the issue.

API - /fscmRestApi/resources/11.13.18.05/inventoryReservations

Payload -

{
"OrganizationCode": "<SourceOrganizationCode>",
"ItemNumber": "<ItemNumber>",
"DemandSourceType": "Transfer order",
"DemandSourceHeaderNumber": <TransferOrderNumber>,
"DemandSourceLineNumber": <TransferOrderLineNumber>,
"SupplySourceType": "On hand",
"SubinventoryCode": "<SubinventoryCode>",
"PrimaryReservationQuantity": 1,
"PrimaryUOMCode": "Ea",
"ReservationQuantity": 1,
"ReservationUOMCode": "Ea"
}

Need your immediate help to resolve this issue.

What value needs to be passed under "DemandSourceLineNumber" field while creating the reservation for the TransferOrder?

Howdy, Stranger!

Log In

To view full details, sign in.

Register

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