How to cancel an Order after closing it?
We had Closed an Order and now we're unable to Cancel it. Now the business needs to Cancel the Order and there's no option to Cancel it, how can we perform that?
There are several scenarios going from that situation, and we'll start with the OOTB (Out Of The Box) configuration scenario first:
- In this scenario, AllowOrderChangeInReceiving parameter is enabled, while all others are disabled.
- An Order that is Closed For All Actions will be in Received Status, plus it's closed. Both the status of the Order and the Close Status of the Order will not allow it to be changed.
- The Order needs to be Reopened first, which will put it in Receiving status and Open status.
- From there the Requisition will have the option to be changed.
- Perform a Change action on the Requisition and delete the Line Items.
- Submit & Approve the Requisition.
- This will initiate the Order Cancellation flow.
Other scenarios can be less strict (except one that will be addressed later), and the Order can be Cancelled by:
- If the Order is Closed, Reopen it.
- Move the Order to a status where cancellation and/or change is allowed. This is based on your realm configuration.
- A user with the permissions can now cancel the Order with Change action on the Requisition.
The most strict scenario is having all the following parameters disabled:
- AllowShippedOrderCancel
- AllowShippingOrderCancel
- AllowShippingOrderChange
- AllowShippedOrderChange
- AllowOrderChangeInReceiving
- AllowOrderChangeInReceived
- AllowOrderChangeInInvoiced
- AllowOrderChangeFromRequisitionImportTask
- AllowChangeRequisition
- RevertPOtoPreviousStatusAfterFullReversalofReceipts
In that case, an Order Change/Cancellation can only be performed when the Order is in Open and Ordered statuses (together, at the same time, at the point of cancellation).
Closing the Order under this configuration will make Cancellation impossible even after Reopening the Order. The reason being is that Closing an Order will put it in Received status, then Reopening it will put it in Receiving status. Both statuses aren't allowed to cancel/change under this configuration.
Sometimes, the business requirements are not to allow the cancellation in any of these status, so nothing can be done regarding these parameters.
That leaves one way out:
- Enable RevertPOtoPreviousStatusAfterFullReversalofReceipts.
- Then attempt to Reopen the Order.
- This will revert the Order back to Ordered status.
- This will put the Order in Ordered & Open statuses: The only statuses available for Order Change under this configuration.
This will present no business implications since the parameter helps put the Order in the correct status.
Please note that the above scenarios don't take into account the following:
- Supplier doesn't allow Order Change/Cancellation.
- The Order is Received/Partially Received: in this case reverting the received amount is needed.
- User have no permissions to cancel/change Orders and/or Requisitions: in this case permissions need to be given to the user or the action must be performed by a user with the needed permissions.
If the Order is Received/Partially Received, please add an extra step to negative receive the Order in the above steps (after Reopening the Order, before Canceling/Changing the Order).
Purchasing