Loading
Salesforce now sends email only from verified domains. Read More
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
          Map Context Tags in Pricing Procedures

          Map Context Tags in Pricing Procedures

          Simplify context tag mapping by using pricing elements to streamline variable mapping, ensuring accurate and straightforward pricing configurations.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions of Revenue Cloud where Salesforce Pricing is enabled

          Pricing Setting

          The Pricing Setting element serves as the initial element for any pricing procedure. They're used to map common variables in a pricing procedure to context tags.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions of Revenue Cloud where Salesforce Pricing is enabled
          User Permissions Needed
          To create, update, and delete pricing procedures: Salesforce Pricing Design Time User
          Note
          Note
          • You can modify the context tags within a pricing element in your pricing procedure. The tags defined in the pricing element will override the tags set in the Pricing Setting element.
          • The CurrencyIsoCode variable becomes visible if your organization has multicurrency enabled.
          1. Create a pricing procedure. To create a pricing procedure, follow the first 5 steps in Configure Your Pricing Procedure.
          2. Click Add Element iconto add the Pricing Setting element and map these variables.
            • Input Variables
              • Line Item: LineItem
            • Output Variables
              • Price Waterfall: price_water_fall
              • Net Unit Price: NetUnitPrice.
              • Subtotal: ItemNetTotalPrice
          3. Build the rest of your procedure.
            Pricing setting element

          Map Line Item

          The Map Line Item element is used for precise mapping of variables. It maps variables at the main line item level and sub-line item levels, which are created when multiple transactions occur on the same line item within different pricing elements.

          Note
          Note
          • Use this element only for standard mapping. Adding custom logic or using it to persist values can lead to performance degradation during pricing execution.
          • The Map Line Item element doesn't support parallel execution. To use this element, disable parallel execution.
          • You can't enable Delta Pricing if both Map Line Item and Derived Price elements are used within the same pricing procedure.

          This element is valuable for mapping variables in both discovery and pricing processes. It must be placed second in line, immediately following either the Discovery Settings or Pricing Settings element.

          Note
          Note
          • If custom fields are added to entities such as Quote Line Item, Quote Line Item Detail, Order Product, or Order Product Details, ensure the context definition is updated.
          • The Map Line Item element must be added to the pricing procedure for it to read and process these custom tags.
          • Map the custom field from the line item to the detail item. Do not write the value directly to the custom detail field. The element automatically saves the value to the detail item if it exists, or directly to the line item otherwise.
          • To learn more about the mapping limits for this element, see Salesforce Pricing Limits.
          1. Create a pricing procedure. To create a pricing procedure, follow the first 5 steps in Configure Your Pricing Procedure.
          2. Click Add Element iconto add the Pricing Setting element and map these variables.
            • Input Variables
              • Line Item: LineItem
            • Output Variables
              • Price Waterfall: price_water_fall
              • Net Unit Price: NetUnitPrice.
              • Subtotal: ItemNetTotalPrice
          3. Click Add Element iconto add the Map Line Item element to map your variables to the appropriate context tags at both the context node level and the child node level.
            Note
            Note When you are calculating the derived price of a product, then, you’ll need to build a discovery procedure and add the Discovery Settings element. To learn more about discovery procedures, see Discover Pricing Factors.
            Map Line Element
           
          Loading
          Salesforce Help | Article