Hello everyone, I trying to transform Transfer Order to Item Receipt using Suitetalk API. But got this error.
"o:errorDetails": [
{
"detail": "Error while accessing a resource. The total inventory detail quantity must be 1.",
"o:errorPath": "item.items[?(@.orderLine==3)]",
"o:errorCode": "USER_ERROR"
}
Anyone, have solution for this .Also attached the request body below.
{
"createdFrom": "8817***",
"memo": "testing TO,IR",
"item": {
"items": [
{
"orderLine": 3,
"itemreceive": true,
"quantity": 1.0,
"location":6,
"inventoryDetail": {
"inventoryAssignment": {
"items": [
{
"receiptInventoryNumber": "230199",
"quantity": 1.0
}
]
}
}
}
]
}
}