Loading
Ongoing maintenance for Salesforce HelpRead More
Feature degradation | Gmail Email delivery failureRead 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
          Calculate Volume or Tiered Discounts with Cumulative Pricing

          Calculate Volume or Tiered Discounts with Cumulative Pricing

          Determine the discount of a product based on the quantity purchased. Automatically calculate discounts on volume and tier-based quantities, including discounts from past orders.

          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

          Calculate bulk laptop purchases by using the Volume Discount element within the pricing procedure.

          Create a Price Adjustment Tier Records

          1. Create a price adjustment tier record.
          2. Specify these details.
            1. Price Adjustment Schedule: Standard Price Adjustment Tier
            2. Product: Laptop
            3. Tier Type: Percentage
            4. Tier Value: 10
            5. Lower Bound: 100
            6. Upper Bound: 299
            7. Effective From: 01-01-2025
            8. Product Selling Model: One Time
          3. Click Save & New.
          4. Create another price adjustment tier record with these details.
            1. Price Adjustment Schedule: Standard Price Adjustment Tier
            2. Product: Laptop
            3. Tier Type: Percentage
            4. Tier Value: 25
            5. Lower Bound: 300
            6. Effective From: 01-01-2025
            7. Product Selling Model: One Time
          5. Save your changes.
          6. Close the tabs for the new price adjustment tiers that you created.
          7. On the Details tab, on the Standard Price Adjustment Tier page, select Active.
          8. Save your changes.
          Important
          Important We recommend refreshing the Volume Discount Entries decision table to make sure that the price adjustment tier records are available for pricing.

          Create a Constant for a Volume Based Adjustment Variable

          1. Create a pricing procedure. To create a pricing procedure, follow the first 5 steps in Configure Your Pricing Procedure.
          2. On the Pricing Procedure builder canvas, click Pricing Elements icon.
          3. On the Resource Manager panel, click Add Resource.
          4. In the Add New Resource page, specify these details.
            1. Resource Type: Constant
            2. Resource Name: VolumePriceAdjustmentScheduleId
            3. Data Type: Text
            4. Default Value: Enter the price adjustment tier ID from the browser.
              You can locate the value of your variable by going to the associated record. For example, to locate a price adjustment schedule ID, open the price adjustment schedule record page. The price adjustment schedule ID shows in the browser’s URL. Price Adjustment Tier Browser ID
          5. Save your changes.

          Add the Volume Discount Element

          1. 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
          2. Add the List Price element to fetch the base price of the product.
            Under Lookup Table Details, select the Price Book Entries decision table and map these variables.
            • Input Rule Variables
              • Product: Product
              • Price Book: PriceBooks
              • Product Selling Model: ProductSellingModel
            • Input Variables
              • Quantity: LineItemQuantity
            • Output Variables
              • List Price: ListPrice
              • Subtotal: ItemNetTotalPrice
          3. To provide discounts on laptops when they’re purchased in bulk, add the Volume Discount element.
          4. Search for and add the Volume Discount Entries decision table and map these variables.
            • Input Rule Variables
              • Price Adjustment Schedule: VolumePriceAdjustmentScheduleId
              • Lower Bound: LineItemQuantity
              • Upper Bound: LineItemQuantity
              • Product: Product
              • Product Selling Model: ProductSellingModel
              • Effective From: EffectiveDate
              • Effective To: EffectiveDate
            • Input Variables
              • Quantity: LineItemQuantity
              • Input Unit Price: InputUnitPrice
            • Output Variables
              • List Price: NetUnitPrice
              • Subtotal: ItemNetTotalPrice
          5. Click Pricing Procedure Builder iconand select Include in Output.
          6. Finally, set your preferences to view pricing information, profile access, and rank information.
          7. Save your procedure.
          8. Click Simulate to test your procedure. Enter the input values for your laptop product and click Simulate again.
            The price waterfall shows the volume discounts used to calculate the final price of the laptops, confirming that your procedure is working as expected.
            Volume Discount Waterfall

          Using the same example, go back to the Volume Discount element and select Use Cumulative Pricing. Here, map the Lower Bound and Upper Bound input variables to the AggregatedQuantity_std context tag.

          Use cumulative pricing checkbox

          On simulation, provide values for the AggregatedQuantity_std variable to calculate the cumulative price of the laptop.

          Volume discounts with cumulative pricing waterfall
          Important
          Important Cumulative discounts calculate only when a quote is associated with a pricing contract that has the aggregation strategy set to Cumulative.
           
          Loading
          Salesforce Help | Article