Mark Transfer lines as Cancelled
You can mark transfer order’s warehouse schedule line as cancelled.
For this, first you need to open a warehouse session. This will assign a unique session id.
The response will return affected items with their current warehouse status upon success processing.
Once you are done with your Warehouse Operation you must close the session.
This feature works for all types of Inventory.
This feature works Only with a valid
sessionid
andwarehousetransferschedulelinerecordid
.
POST
End Point: /warehouse/transfers/{recordID}/session/{sessionID}/markascancelled
Sample Request payload
{
"scandetails":
[
{
"referencenumber": 0,
"warehouseschedulelinerecordid": "string"
}
]
}
Sample Response Payload
If Returned/ Received Successful.
Physical Inventory Count in progress
279 --> Selected line Item/Asset, having the phy inv in progress
Cannot Cancel as Lot Number(s) are selected for this Item.
1344 --> For the Inventory Transfer Order lines, when the Lot Number is assigned and try to cancel
Kit Lines cannot be Cancelled
2053 --> Serial kit header cancel from detail window is not allowed
Order is in use. Try later.
67 --> When the Linked Rental order is kept open and trying to cancel the line
You will not be able to update this Item, since it is being modified by other user.
2031 --> Selected line Product is edited and modified by some other user
Order is in use for Filling/Shipping/Receiving in Warehouse.
1319 --> Select line is being edited by some other user in warehouse
Order is in use. Please close and reopen to proceed.
1201 --> When couldn't get the transfer order lock
Warehouse operation failed. Please try again!.
1258 --> Transfer has the Lockcount increased, but couldn't get the order lock
Order is unlocked. Please close and reopen to proceed.
1259 --> Order lock has been released, need to relock by opening again
10. No valid Item(s) found to Cancel.
2023 --> With the given line, no reserver or NA line found to Cancel
11. Not a valid 'warehouseschedulelinerecordid'
2021 --> Given lineiid is invalid