Skip to main content

Create a Pricing Procedure with the List Price Element

Learning Objectives

After completing this unit, you’ll be able to:

  • List various pricing elements included in Salesforce Pricing.
  • Create a pricing procedure.
  • Use the Pricing Setting element to map commonly used variables in a pricing procedure.
  • Add the List Price element to your pricing procedure.

Revisit Pricing Procedures and Elements

In the Revenue Cloud Design module, you learned how context definitions, pricing procedures, and decision tables work in harmony to determine the right prices for your products. In this unit, you bridge theory with practice. But before that, time to recap some of the important stuff.

As you know by now, a pricing procedure is a customizable, ordered sequence of pricing elements used to calculate the final price of a product. This image shows a pricing procedure, with various pricing elements arranged in their order of execution.

A sample pricing procedure.

A new pricing procedure is always blank, and each added element forms a step in the pricing procedure. Salesforce Pricing comes with several out-of-the-box pricing elements to meet your pricing needs. Here are the ones that you’ll work with in this module.

Pricing elements contain variables crucial for defining and calculating product prices. These variables are mapped to context tags, which act as dynamic placeholders facilitating data transfer between the pricing elements and the overall pricing procedure.

Note

To learn more about context definitions and context tags, refer Context Definitions.

This image shows the List Price element and its variables.

‌Corresponding image.

The Input Rule (1) and Output Rule Variables (2) refer to input and output from the selected lookup table, in this case the Price Book Entries. The Input (3) and Output Variables (4) refer to data flowing into and out of the List Price element. The final output from the pricing procedure is returned to the context definition, which then populates the sales transactions displayed to the customer or sales rep.

Impressive, right? Now, it’s time to see your pricing knowledge in action. Join Richa, our pricing admin at SmartBytes, as she embarks on creating her ‌first pricing procedure.

Build a Pricing Procedure

In the last unit, Richa learned how to set the product selling model and add products to the standard price book. Next, she creates a pricing procedure to calculate the base price of products.

Open your Developer Edition org and follow along as she completes this process.

  1. From the App Launcher, find and select Price Management.
  2. Select Home from the navigation pulldown menu.
  3. On the Price Management home page, click the Pricing Procedures tile.
  4. Click New.
  5. Add the new pricing procedure details:
  • Name: Pricing Procedure Demo
  • Usage Type: Pricing
  • Context Definition: RevSalesTransactionContext
  1. Click Save. The new pricing procedure page opens.

Newly created pricing procedure page.

Note

Revenue Cloud includes the SalesTransactionContext, a context definition used by Salesforce Pricing to connect sales transactions to objects like quotes, assets, and orders. You can extend it depending on the pricing needs of your business.

Your Developer Edition org includes the RevSalesTransactionContext, which is an extension of the SalesTransactionContext. You’ll use this for your pricing procedure.

When you create a pricing procedure, the first version, suffixed with V1, is a blank pricing procedure. You add pricing elements to it and call the appropriate lookup tables to calculate product pricing. Here’s how to do it.

  1. Under Pricing Procedure Versions, click Pricing Procedure Demo V1. This opens the Pricing Procedure Builder in a new browser tab.
  2. In the central pane of the Pricing Procedure Builder, select the + symbol to open the Add Element dialog box.
  3. Search for and select Pricing Setting.
  4. Expand the Input Variables section and map the variables to these context tags:
  • Line Item: LineItem
  1. Next, expand the Output Variables section and map them to these context tags:
  • Price Waterfall: price_water_fall
  • Net Unit Price: NetUnitPrice
  • Subtotal:ItemNetTotalPrice

You have successfully added the Pricing Setting element to your pricing procedure. Here’s how it looks.

Corresponding Pricing Setting element.

  1. Save your work.

Next, add the List Price element to your pricing procedure.

  1. Under the Pricing Setting element, click the + symbol.
  2. Search for and select List Price from the Add Element menu.
  3. Under Lookup Table Details, search for and select Price Book Entries.
  4. Expand the Input Rule Variables section and map the variables to these context tags:
  • Product: Product
  • Price Book: PriceBooks
  • Product Selling Model: ProductSellingModel
  1. Expand the Output Rule Variables section and map the variable to this context tag:
  • Price Book Entry ID: ItemPricebookEntry
  1. Expand the Input Variables section and map the variable to this context tag:
  • Quantity: LineItemQuantity
  1. In the Output Variables section, add the mappings:
  • List Price: ListPrice
  • Subtotal: ItemNetTotalPrice. Since you have already mapped the Subtotal variable in the Pricing Setting element, you can also skip this.

Corresponding List Price element.

  1. On the left panel of the Pricing Procedure Builder, click Element Details.
  2. Select the Include in Output checkbox.
  3. On the left panel of the Pricing Procedure Builder, click Pricing Procedure Properties.
  4. Under Rank, enter 1.
  5. Save your work.

You have successfully added the List Price element to your pricing procedure.

Test the Pricing Procedure

You’ve added two pricing elements to your pricing procedure and mapped their variables with the right context tags.

Now, it’s time to test the pricing procedure to ensure it’s working as expected. Salesforce Pricing comes with a simulation feature that provides a real-time experience of the price waterfall. Click Simulate in the top right corner of the Pricing Procedure Builder to open the simulation window.

The simulation window.

You have two ways to simulate your pricing procedure. One is through a Simplified (1) approach where you pass the values of the variables directly into the fields. The other is through an Advanced (2) approach, where you pass the values of the variables in JSON format. Developers tend to prefer the advanced method. After passing the values of the variables, you can click Simulate (3) and see the output of your pricing procedure in the simulation results (4) area.

To locate the value of your variables, go to the associated records in your Developer Edition org and copy their ID from the browser’s URL. For example, to locate the product selling model ID of the Tablet product, follow these steps.

  1. From the Tablet product page, click the Related tab.
  2. Scroll down until you find the Product Selling Model Option section.
  3. Under Product Selling Model, click One time.
  4. Copy the record ID from the browser’s URL.

Product selling model ID available in the browser URL of your org.

Here’s an example of the simulation page with input values for the Tablet product.

Corresponding image.

The simulation results section shows the price waterfall, where you can clearly see each step that determines the final price of your product.

Coming Up

In this unit, you explored some of the standard pricing elements in Salesforce Pricing. You successfully created and tested your first pricing procedure using Pricing Setting and List Price. In the next unit, you build on this pricing procedure by adding two more pricing elements to it. Keep following along.

Resources

Partagez vos commentaires sur Trailhead dans l'aide Salesforce.

Nous aimerions connaître votre expérience avec Trailhead. Vous pouvez désormais accéder au nouveau formulaire de commentaires à tout moment depuis le site d'aide Salesforce.

En savoir plus Continuer à partager vos commentaires