In the context where the Customer orders are created as Invoice records, the returns can be tracked by creating Credit memos and the amount can be later applied in the next payment.
So returns can be tracked to the warehouse locations in such circumstances.
In case of a damaged product returned from a Customer for which no refund is required, how can we track returns to a damaged warehouse?
In this case, we can still create a credit memo and set the rate as ‘0’ for the damaged items returned and assign the location a the ‘Damaged warehouse’. In such a way no refund will be created and the inventory can be increased in the required location.
For example in REST web services, this will be the payload
{
"entity": {
"id": "4382860"
},
"apply": {
"items": [
{
"apply": true,
"doc": {
"id": "65434556"
},
"line": 0,
"type": "Invoice"
}
]
},
"location": {
"id": "1738"
},
"department": {
"id": "2074"
},
"item": {
"items": [
{
"rate": 0.00,
"quantity":2,
"item": {
"id": "1422658"
},
"line": 1,
"location": {
"id": "1738"
}
},
{
"rate": 0.00,
"quantity":1,
"item": {
"id": "1422658"
},
"line": 2,
"location": {
"id": "1738"
}
}
]
}
}