Loading
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
          Add Context Tag Mappings to the Pricing Procedure Map Line Item Element Using JSON

          Add Context Tag Mappings to the Pricing Procedure Map Line Item Element Using JSON

          To configure a pricing procedure to use advanced detail line pricing, copy and paste the map line item JSON to a pricing procedure in Revenue Pricing.

          Required Editions

          Available in: Lightning Experience
          Available in: Enterprise, Unlimited, and Developer Editions of Revenue Cloud where Transaction Management is enabled
          User Permissions Needed
          To set up and use advanced detail line pricing:

          Salesforce admin

          AND

          Pricing Design Time User permission set

          1. From the App Launcher, find and select Pricing Procedures, and then select a pricing procedure to update.
          2. Modify the pricing procedure by adding a new map line item element as the second element next to the pricing setting in the pricing procedure.
          3. Add the context tag mappings to the map line item using this JSON.
            {"componentName":"Map Line Item","usageType":"DefaultPricing","businessKnowledgeModelName":"BreakdownLineMapping","outputVariablesMappingText":{"MapLineItemNodeOutput":"SalesTransactionItemDetail"},"inputVariablesMappingText":{"section-0-input1":"LineItem","section-1-input1":"LineItemQuantity","section-2-input1":"NetUnitPrice","section-3-input1":"price_water_fall","section-4-input1":"InputUnitPrice","section-5-input1":"ItemBillingReference","section-6-input1":"ItemNetTotalPrice","section-7-input1":"TotalLineAmount","section-8-input1":"EffectiveFrom","section-9-input1":"EffectiveTo","section-10-input1":"PricingTermCount","section-11-input1":"itemTransientEndDate","section-12-input1":"ItemPricingSource","section-13-input1":"DerivedPricingAttribute","section-14-input1":"ItemGroupSummarySubtotal","section-15-input1":"ListPrice","section-16-input1":"IsContracted","section-17-input1":"ItemContractPrice","section-0-output":"SalesTrxnItemDetailSource","section-1-output":"ItemDetailQuantity","section-2-output":"ItemDetailNetUnitPrice","section-3-output":"DetailPriceWaterfallIdentifier","section-4-output":"ItemDetailUnitPrice","section-5-output":"ItemDetailBillingReference","section-6-output":"ItemDetailTotalPrice","section-7-output":"ItemDetailTotalLineAmount","section-8-output":"ItemDetailEffectiveFrom__std","section-9-output":"ItemDetailEffectiveTo__std","section-10-output":"ItemDetailPricingTermCount__std","section-11-output":"ItemDetailTransientEndDate__std","section-12-output":"ItemDetailPricingSource__std","section-13-output":"ItemDetailDerivedPricingAttribute__std","section-14-output":"ItemDetailGroupSummaryTotal__std","section-15-output":"ItemDetailListPrice__std","section-16-output":"ItemDetailIsContracted__std","section-17-output":"ItemDetailContractPrice__std","MapLineItemNodeInput":"SalesTransactionItem","sectionCount":"18","sectionJsonString1":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Text\",\"name\":\"section-0-input1\",\"value\":\"LineItem\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Text\",\"name\":\"section-0-output\",\"value\":\"SalesTrxnItemDetailSource\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString2":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Numeric\",\"name\":\"section-1-input1\",\"value\":\"LineItemQuantity\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Numeric\",\"name\":\"section-1-output\",\"value\":\"ItemDetailQuantity\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString3":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Currency\",\"name\":\"section-2-input1\",\"value\":\"NetUnitPrice\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Currency\",\"name\":\"section-2-output\",\"value\":\"ItemDetailNetUnitPrice\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString4":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Text\",\"name\":\"section-3-input1\",\"value\":\"price_water_fall\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Text\",\"name\":\"section-3-output\",\"value\":\"DetailPriceWaterfallIdentifier\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString5":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Currency\",\"name\":\"section-4-input1\",\"value\":\"InputUnitPrice\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Currency\",\"name\":\"section-4-output\",\"value\":\"ItemDetailUnitPrice\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString6":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Text\",\"name\":\"section-5-input1\",\"value\":\"ItemBillingReference\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Text\",\"name\":\"section-5-output\",\"value\":\"ItemDetailBillingReference\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString7":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Currency\",\"name\":\"section-6-input1\",\"value\":\"ItemNetTotalPrice\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Currency\",\"name\":\"section-6-output\",\"value\":\"ItemDetailTotalPrice\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString8":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Currency\",\"name\":\"section-7-input1\",\"value\":\"TotalLineAmount\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Currency\",\"name\":\"section-7-output\",\"value\":\"ItemDetailTotalLineAmount\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString9":"{\"whereConditions\":[{\"field\":{\"dataType\":\"DateTime\",\"name\":\"section-8-input1\",\"value\":\"EffectiveFrom\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"DateTime\",\"name\":\"section-8-output\",\"value\":\"ItemDetailEffectiveFrom__std\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString10":"{\"whereConditions\":[{\"field\":{\"dataType\":\"DateTime\",\"name\":\"section-9-input1\",\"value\":\"EffectiveTo\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"DateTime\",\"name\":\"section-9-output\",\"value\":\"ItemDetailEffectiveTo__std\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString11":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Numeric\",\"name\":\"section-10-input1\",\"value\":\"PricingTermCount\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Numeric\",\"name\":\"section-10-output\",\"value\":\"ItemDetailPricingTermCount__std\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString12":"{\"whereConditions\":[{\"field\":{\"dataType\":\"DateTime\",\"name\":\"section-11-input1\",\"value\":\"itemTransientEndDate\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"DateTime\",\"name\":\"section-11-output\",\"value\":\"ItemDetailTransientEndDate__std\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString13":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Text\",\"name\":\"section-12-input1\",\"value\":\"ItemPricingSource\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Text\",\"name\":\"section-12-output\",\"value\":\"ItemDetailPricingSource__std\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString14":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Boolean\",\"name\":\"section-13-input1\",\"value\":\"DerivedPricingAttribute\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Boolean\",\"name\":\"section-13-output\",\"value\":\"ItemDetailDerivedPricingAttribute__std\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString15":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Currency\",\"name\":\"section-14-input1\",\"value\":\"ItemGroupSummarySubtotal\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Currency\",\"name\":\"section-14-output\",\"value\":\"ItemDetailGroupSummaryTotal__std\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString16":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Currency\",\"name\":\"section-15-input1\",\"value\":\"ListPrice\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Currency\",\"name\":\"section-15-output\",\"value\":\"ItemDetailListPrice__std\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString17":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Boolean\",\"name\":\"section-16-input1\",\"value\":\"IsContracted\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Boolean\",\"name\":\"section-16-output\",\"value\":\"ItemDetailIsContracted__std\",\"allowCompatibleDataTypes\":true}}]}","sectionJsonString18":"{\"whereConditions\":[{\"field\":{\"dataType\":\"Currency\",\"name\":\"section-17-input1\",\"value\":\"ItemContractPrice\",\"allowCompatibleDataTypes\":true},\"value\":{\"dataType\":\"Currency\",\"name\":\"section-17-output\",\"value\":\"ItemDetailContractPrice__std\",\"allowCompatibleDataTypes\":true}}]}"},"elementAttributes":null,"parameters":null}
          4. Save your changes.
           
          Loading
          Salesforce Help | Article