Question:
Process to cancel order via API if
OMS Status = Distribution has been notified and
WMS Status = Create SO
Answer:
Order cancellation
should be done from OMS via API. It will then trigger WMS API (SOC) to cancel
the order, with condition below:
- OMS status
(Distribution has been notified)
- WMS status
(Create Order)
- If order in WMS
already assigned to a wave, status will not change to cancel, instead
ERPCANCELFLAG will be change to =Y and user cannot proceed with the order.
Example:

- To follow up,
user can manually right click and cancel the order in shipment order
module.