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 Credit Memo Action

          Create Credit Memo Action

          In Salesforce Order Management, create a credit memo to represent the refund for one or more change orders associated with an order summary.

          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 Credit Memo.

          Set Input Values

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

          Input ParameterDescription
          Credit Memo Input

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

          The variable has one field, changeOrderIds, which is a list of IDs of the change orders to create a credit memo for.

          Order Summary Id Reference to the order summary associated with the change orders.

          Store Output Values

          Output Parameter Description
          Credit Memo Output

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

          The creditMemoId field contains the ID of the created credit memo.

          Usage

          To set up the Credit Memo Input, first use Assignment elements to add the change order IDs to a list of strings variable. Then use that variable in the action input.

           
          Loading
          Salesforce Help | Article