HelperStable

Cancel purchase order

Cancels a purchase order that is still cancelable and preserves its history.

Business object
Cancel purchase order
Business lifecycle
Updated state

Vue d’ensemble

Cancels a purchase order that is still cancelable and preserves its history.

Exemple

Abandon a purchase order before execution because the need no longer exists.

Parameters 1

purchase_orderRequisPurchase order
Purchase order concerned by the transition.

Outputs 1

purchase_orderPurchase order
Purchase order after applying the transition.

Behavior

The purchase-order lifecycle advances to its cancellation state when the transition is allowed.

Key point The node applies a canonical business operation: it does not bypass the object's lifecycle and fails when the requested transition is incompatible with the current state.

Limits and responsibilities

  • Cancellation does not delete supplier invoices or payments already created.
  • An order that has already been executed may require a different business operation rather than cancellation.