Question & Answer
Question
Answer
An order is considered cancelled when it is no longer going to be fulfilled due to various reasons such as inventory shortage, damaged cargo, or unresolved hold issues. This action updates the order status to 'Cancelled'. On the other hand, an order is closed when the entire ORDER_QTY for all the order lines reaches the configured pickup status. The Close Order agent sets the order's ORDER_CLOSED flag to 'Y' and raises the ON_SUCCESS event. Once an order is closed, it is not picked up for monitoring. The key difference lies in the reason for the action - cancellation is typically due to unfulfillable conditions, while closure signifies completion of order fulfillment.
When the order is closed, the ORDER_CLOSED flag in the database is set to Y. 'Cancelled' is a status in which the order can exist. They are both mutually exclusive. A cancelled order will still list in the Order search for open orders.
An order can be closed (i.e. the ORDER_CLOSED flag can be set to Y) if the “Close Order” transaction has been set up in the pipeline. For example, if the "Close Order" transaction can pick up “Cancelled” orders, running the "Close Order" transaction (after an order is in the Cancelled status) will close the orders.
Historical Number
FAQ2736
Product Synonym
IBM Sterling Order Management;
Was this topic helpful?
Document Information
Modified date:
20 June 2025
UID
swg21519240