4
On a not cash-and-carry retail sales order, the location is reset if several validations are passed.
RetailCreateCustomerOrderExtensions.allowResetRetailOrderLineWarehouse()
- Line is not cash and carry.
- Advanced Warehouse Management is enabled for the item.
- Delivery mode is not empty.
- Line is not a return.
- Location is not empty.
- Line is being newly added or current location id empty.
Validation 2 checks if an item is WHS enabled, but this check should be enhanced to validate if the warehouse is also WHS enabled.
STATUS DETAILS
Needs Votes
Administrator on 3/30/2023 5:56:49 PM
Repating this item to the correct team