Loading
Salesforce now sends email only from verified domains. Read More
Automate Your Business Processes
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
          Cancel Fulfillment Order Item Action

          Cancel Fulfillment Order Item Action

          In Salesforce Order Management, cancel fulfillment order products from a fulfillment order. You can cancel more than one product and specify a quantity to cancel for each of them. This action doesn’t cancel the associated order product summaries, it only reduces their allocated quantities. Usually, you reallocate the canceled quantities to a new fulfillment order.

          Required Editions

          Available in: Lightning Experience
          View supported editions.
          This feature requires the Salesforce Order Management add-on. To purchase, contact your Salesforce account executive.

          In Flow Builder, add an Action element to your flow. Select the Order Management category, and search for Cancel Fulfillment Order Item.

          Set Input Values

          Use values from earlier in the flow to set the inputs.

          Input ParameterDescription
          Cancel Fulfillment Order Items Input

          This input is an Apex-defined variable of class ConnectApi.FulfillmentOrderLineItemsToCancelInputRepresentation.

          The variable has one field, fulfillmentOrderLineItemsToCancel, which is a list of Apex-defined variables of class ConnectApi.FulfillmentOrderLineItemInputRepresentation. Each of those variables includes these fields:

          • fulfillmentOrderLineItemId — Reference to the fulfillment order product to cancel.
          • quantity — Quantity to cancel.
          Fulfillment Order Id Reference to the fulfillment order that you want to cancel fulfillment order items from.

          Store Output Values

          Output Parameter Description
          Cancel Fulfillment Order Items Output

          This value is an Apex-defined variable of class ConnectApi.FulfillmentOrderCancelLineItemsOutputRepresentation.

          This action doesn’t return any data.

          Usage

          To set up the Cancel Fulfillment Order Items Input, first use Assignment elements to set the fulfillmentOrderLineItemId and quantity field values on one or more ConnectApi.FulfillmentOrderLineItemInputRepresentation variables. Then use an Assignment element to add those variables to the FulfillmentOrderLineItemsToCancel field on a ConnectApi.FulfillmentOrderLineItemsToCancelInputRepresentation variable. Use that variable in the action input.

           
          Loading
          Salesforce Help | Article