You are here:
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 |
- Create a pricing procedure. To create a pricing procedure, follow the first 5 steps in Configure Your Pricing Procedure.
-
Click
to add the Pricing Setting element and map these variables.
- Build the rest of your procedure.
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.
- 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.
- 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.
- Create a pricing procedure. To create a pricing procedure, follow the first 5 steps in Configure Your Pricing Procedure.
-
Click
to add the Pricing Setting element and map these variables.
-
Click
to 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 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.



