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
          Create an Invoice from Change Orders Action

          Create an Invoice from Change Orders Action

          In Salesforce Order Management, create an invoice to represent the charges for one or more change orders. Create invoices for change orders that increase order amounts, such as return fees. When you ensure the refund for a return, include the invoices for the associated return fees in the input.

          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 Create an Invoice from Change Orders.

          Set Input Values

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

          Input ParameterDescription
          Create Invoice From Change Order Input

          Required. This input is an Apex-defined variable of class ConnectApi.CreateInvoiceFromChangeOrdersInputRepresentation. It has two fields.

          The changeOrderIds field is a list of IDs of the change orders to create an invoice for.

          The orderSummaryId field is the ID of the order summary associated with the change orders.

          Store Output Values

          Output Parameter Description
          Invoice Output

          This value is an Apex-defined variable of class ConnectApi.ChangeOrdersInvoiceOutputRepresentation. It has three fields.

          The errors field is a list of Apex-defined variables of class ConnectApi.​ErrorResponse containing any errors that were returned.

          The invoiceId field contains the ID of the created invoice.

          The success field indicates whether the transaction was successful.

           
          Loading
          Salesforce Help | Article