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
          Example: Calculate the Lowest Price of a Product

          Example: Calculate the Lowest Price of a Product

          Let’s determine the lowest price of a product using the List Price element.

          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 pricing procedures: Salesforce Pricing Design Time

          Create a Procedure Output Resolution Record

          1. From the App Launcher, find and select Price Management.
          2. From the app navigation menu, select Procedure Output Resolution.
          3. Click New.
          4. Specify these details.
            1. Name: BestPrice
            2. Pricing Element: List Price
            3. Resolution Formula: MIN(ListPrice)
          5. Activate your procedure output resolution record.
          6. Save your changes.

          Create a Constant for a Resolution Strategy

          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: ResolutionStrategyMinPrice
            3. Data Type: Text
            4. Default Value: BestPrice. This is the procedure output resolution record that you created in the step above.
          5. Save your changes.

          Use the List Price Element to Calculate the Lowest Price

          1. 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 V2 decision table
          3. Select Enable Output Resolution.
          4. 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
            • Resolution Variables
              • Resolution Strategy: ResolutionStrategyMinPrice
              • Use As List: Price Book
          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 that the pricing engine has looked through all the available price books in the org and found the best (minimum) price for the Laptop product, confirming that your procedure is working as expected.
            Minimum Price Waterfall
           
          Loading
          Salesforce Help | Article