I’m doing a PUT method in Postman but it keeps creating a brand new purchase receipt instead of adding Details to the existing PurchaseReceipt that I’ve specified. How do I prevent a new PurchaseReceipt from getting created.
URL: /entity/Default/22.200.001/PurchaseReceipt
Body:
{
"ReceiptNbr": {"value": "PR00153497"},
"Details" :
{
"POOrderNbr": {"value": "PO53472"},
"POOrderType": {"value": "Drop-Ship"},
"TrackingNumber": {"value": "9999"},
"ReceiptQty": {"value": "1"},
"InventoryID":{"value": "190-34563221"},
"POLineNbr": {"value": "1"}
}
],
"VendorID": { "value": "PU3" },
"VendorRef": { "value": "FROM_API" },
"Location": {"value": "MAIN"},
"Branch": {"value": "CM"}
}