Israel Gonzalez
01/23/2024, 8:37 PM<tranInvt:record xsi:type="tranInvt:InventoryTransfer">
<tranInvt:location internalId="39" xsi:type="tranInvt:location"/>
<tranInvt:transferLocation internalId="8" xsi:type="tranInvt:transferLocation"/>
<tranInvt:subsidiary type="subsidiary" internalId="3" xsi:type="tranInvt:subsidiary"/>
<tranInvt:memo>Move by USERNAME </tranInvt:memo>
<tranInvt:inventoryList>
<tranInvt:inventory>
<tranInvt:item internalId="41998" xsi:type="listAcct:InventoryItem"/>
<tranInvt:adjustQtyBy>80</tranInvt:adjustQtyBy>
<tranInvt:fromBinNumbers>SO13</tranInvt:fromBinNumbers>
<tranInvt:toBinNumbers>OZ0104F</tranInvt:toBinNumbers>
</tranInvt:inventory>
</tranInvt:inventoryList>
</tranInvt:record>
Trying to do the same in REST API using:
{
"subsidiary": {
"id": 3
},
"location": {
"id": 14
},
"transferLocation": {
"id": 8
},
"memo": "Move by USERNAME",
"custbody_a1wms_dnloadtowms": false,
"inventory": {
"items": [
{
"item": {
"id": 1869
},
"adjustQtyBy": 5,
"fromBinNumbers": "M2214A",
"toBinNumbers": "OZ1206G"
}
]
}
}
but get the error message: Error while accessing a resource. The number of bins entered (0) is not equal to the item quantity (5).