Vasilis Spilka
11/16/2023, 4:21 PMPOST {{REST_SERVICES}}/record/v1/purchaseorder/xxxx/!transform/itemreceipt
endpoint and sending a payload like this
{
item: {
replaceAll: false,
items: [
{
orderLine: 1,
itemReceive: true,
quantity: 1000,
item: 8474
},
{
orderLine: 2,
itemReceive: false,
item: 8475
}
]
}
}
``````
I have 2 lines for that PO and expected the itemreceipt to have a quanity of 1000 for line 1 and 0 of line two. Instead an Item Receipt is created that has all the items of the order, (1400 of line1 and 1000 of line2) am I misunderstanding how to use the API?
If I add the inventoryDetails
block a get the same error that Mike noted aboveVasilis Spilka
11/16/2023, 4:41 PMquantity
by mistake