Loading
Industries Order Management
Table of Contents
Select Filters

          No results
          No results
          Here are some search tips

          Check the spelling of your keywords.
          Use more general search terms.
          Select fewer filters to broaden your search.

          Search all of Salesforce Help
          Overview of Canceled and Amended In-Flight Orders in Order Management

          Overview of Canceled and Amended In-Flight Orders in Order Management

          You can amend an in-flight order before it has reached the point of no return (PONR).

          When a fulfillment operator clicks the Amend or Cancel button on an order in CPQ, Order Management immediately freezes the order, changing the state of many orchestration items (completed items are not changed). Then the operator submits a supplemental order, which supersedes the original order. Completed orchestration items are associated with the original order.

          Note
          Note

          For information about canceling an in-flight order in CPQ, see Cancel an In-Flight Order

          Note
          Note State changes apply only to original orchestration items from the original order. Compensating items aren't affected by Amend or Cancel.

          Order Management associates the original orchestration plan with the supplemental order, updates the orchestration plan, and then follows the workflow in the rollback or amendment plans. See Configuring Plan Definitions for Rollback or Amendment

          Order Management moves orchestration items into different states depending on the logic in Orchestration Plan Update algorithm. See In-Flight Amendment Orchestration Plan Update Algorithm

          Order Management adds a note to any manual task that was running when the supplemental order was submitted. This note is in the Notes & Attachments section of the task, and explains that the order has changed.

          Common state changes when a supplemental order is submitted

          To see examples and descriptions of orchestration item states, see Orchestration Item States

          • Items being amended that were already complete move from the Completed state to the Amended state. These items are yellow.

          • Items being amended (except for manual tasks) that were previously running and then frozen when the Amend button was clicked (and are therefore in the Frozen-Running state) are moved from the Completed state to the Amended state.

            • Manual tasks are moved back into the Running state, with the amended attributes.

          • Items that are no longer required, but have already completed, move to the Canceled state. These items are black.

          • Items that were not yet started (those items in the Pending or Ready states) are discarded, and move to the Discarded state. These items are brown.

          • Items that had already failed before the order was canceled are moved to the Failed Discarded state. These items are rust-colored.

            Note
            Note

            If the Failed Discarded item is a callout or autotask, then a manual task is added as a compensating item to help the fulfillment operator remember to check for any fallout.

            If you don't want this manual task to be added, delete the Resolve Fallout item definition from the Resolve Orchestration Fallouts orchestration plan definition. See Delete the Resolve Fallout Orchestration Item Definition

          Complete table of state changes

          The following table shows how state changes are applied by Order Management.

          Type of Orchestration Item

          State after the Amend or Cancel button is clicked

          Type of change requested in supplemental order

          Result

          Any (except Manual Task)

          Frozen-Running

          Amend

          Moved to the Running state, and compensating items are added to the orchestration plan

          Any (except Push Events)

          Frozen

          No Change

          Associated with its corresponding supplemental order items

          Any (except Push Events)

          Frozen-Running

          No Change

          Remains in a Running state. Remains associated with a superseded (original) order.

          Any

          Frozen

          Cancel

          Discarded

          Any

          Discarded

          No Change or Amend

          Remains in Discarded state

          Any

          Failed Discarded

          No Change or Amend

          Remains in Failed Discarded state

          Any

          Frozen-Running

          Cancel

          Moved to Canceled state. Follows the logic of the associated rollback plan.

          Any

          Frozen-Scheduled

          Cancel

          Discarded

          Any

          Frozen-Scheduled

          No Change

          Scheduled

          Any

          Completed

          Amend

          Moved to Amended and compensating items are added to the orchestration plan

          Any

          Completed

          No Change

          Remains in Completed state

          Any

          Frozen-Failed

          No Change

          Returns to Failed state and associated with its supplemental order item

          Any

          Frozen-Fatally Failed

          No Change

          Returns to Fatally Failed state and associated with its supplemental order item

          Any

          Frozen-Failed or Frozen-Fatally Failed

          Amend

          Remains in Failed to Fatally Failed state. Remains associated with a superseded (original) order.

          Any

          Frozen-Failed or Frozen-Fatally Failed

          Cancel

          Move into Failed Discarded state.

          A manual task is added as a compensating item to ensure that the fulfillment operator checks for any fallout.

          Any

          Canceled

          Amend

          Remains in Canceled state. A copy of the orchestration item is added and associated with a supplemental order.

          Any

          Amended

          Cancel

          (cancel a previously amended order)

          Moved to Canceled state and compensating items are added to the orchestration plan

          Any

          Amended

          Amend

          (amend a previous amend order)

          Remains in Amended state and compensating items are added to the orchestration plan

          Any

          Amended

          No Change

          (don't change a previous amend order)

          Remains in Amended state

          Any

          Canceled

          No Change

          (don't change a previously canceled order)

          Remains in Canceled state

          Any

          Discarded

          No Change

          (don't change a previously discarded order)

          Remains in Discarded state

          Any

          Failed Discarded

          No Change

          (don't change a previously failed order)

          Remains in Failed Discarded state

          Any

          Failed Discarded

          Amend

          Remains in Failed Discarded state. A copy of the orchestration item is added and associated with a supplemental order.

          Any

          Skipped

          Cancel

          Moved to Canceled

          Any

          Skipped

          Amend

          Remains in a Skipped state. A copy of the orchestration item is added and associated with a supplemental order.

          Callout or Autotask

          Skipped

          No Change

          Add an item and associate it with its supplemental order item

          Callout or Autotask

          Completed

          Canceled

          Moved to Canceled and rolled back as described in the rollback plan

          Manual Task

          Frozen-Running

          Amend

          Moved to Running and associated with its supplemental order item

          Push Event

          Frozen-Running

          No Change

          Remains in a Running state. Supplemental order items are added to the Push Event's Source Line Items. This ensures that the Push Event is completed when either the Line Item or Fulfillment Request Line satisfies the condition.

          Push Event

          Frozen

          No change

          Supplemental order items are added to the Push Event's Source Line Items. This ensures that the Push Event is completed when either the Line Item or Fulfillment Request Line satisfies the condition

          Note
          Note Push Events are associated with both original and supplemental line items. All other orchestration items either remain linked to the original line item or reassigned to the supplemental line item.
           
          Loading
          Salesforce Help | Article