Hi,
Yes, the addPurchaseOrder action can only add purchaseOrders, and is a different action than the "add transfer" action in the UI:
Add purchaseOrder only allows for types: RegularOrder, DropShip, Blanket, StandardBlanket.
Minimal information that needs to be in the JSON when you post a transferReceipt seems to be this:
{
"receiptType": {
"Value": "TransferReceipt"
},
"warehouseId": {
"Value": "2"
},
"date": {
"Value": "2022-04-22T00:00:00.000Z"
},
"hold": {
"Value": false
},
"lines": [
{
"operation": "Insert",
"transferOrderNbr": {
"Value": "000108"
},
"transferOrderType": {
"Value": "TransferOrder"
},
"transferOrderLineNbr": {
"Value": 1
}
}
]
}
So atleast what lineNumbers from what transferOrder needs to be included.
If you want an action exposed for linking transferReceipts, please make a post in the ideas part of the forum.
Thank you.
... View more