sales_order_serving_groups_invalid
Serving a sales order from several warehouses received an invalid group: no groups, an empty group, a warehouse repeated in two groups or a line that does not belong to the order. A single delivery note whose selected lines leave from different warehouses is rejected the same way, with `param` `lines`.
| Code | Type | HTTP | Category |
|---|---|---|---|
sales_order_serving_groups_invalid | invalid_request_error | 422 | Sales Orders |
Cause
Serving a sales order from several warehouses received an invalid group: no groups, an empty group, a warehouse repeated in two groups or a line that does not belong to the order. A single delivery note whose selected lines leave from different warehouses is rejected the same way, with param lines.
What to do
Send one group per warehouse with at least one line of the order; param names the group (groups.N) and details.group_index its position. For a single delivery note, select lines of one warehouse or serve the order from several warehouses.