Revenue Cloud project notebook, written by two Meir IT consultants who implement it.

What is Revenue Cloud?

Admin · Building block 2 of 8

Salesforce Pricing

The engine that prices every quote and order line, from list price to net price, and the screens where you set that calculation up.

Checked on against the Salesforce documentation (release 264)

On this page (7 sections)
  1. What it does
  2. What to turn on
  3. Key objects
  4. Where to set it up
  5. What goes wrong on projects
  6. Articles on this product
  7. Official documentation

What it does

Salesforce Pricing calculates the price of every quote line and order line. It does that by running a pricing procedure: an ordered list of elements that starts from the list price, applies discounts and adjustments, and returns a net price. Under the hood, a pricing procedure is stored as an expression set (ExpressionSet).

The procedure pulls its values from three places. The list price sits on the price book entry. Anything that depends on a condition comes from a decision table. Volume, attribute, and bundle discounts come from price adjustment schedules.

A made-up example, in shekels. A license lists at ₪1,000, and a schedule gives 10% off from 10 units up. For 12 licenses, the procedure reads ₪1,000, applies the tier, and returns ₪900 per unit, or ₪10,800 for the line. The Price Waterfall shows each of those steps.

Salesforce Pricing reads the catalog built in Product Catalog Management and calculates prices for Transaction Management, which holds quotes and orders. The plain-language walkthrough is in Pricing: How It Works.

What to turn on

  1. A Revenue Cloud Growth or Revenue Cloud Advanced license. Procedure Plans require Revenue Cloud Advanced.
  2. Setup > Salesforce Pricing Settings: turn on Salesforce Pricing.
  3. Permission sets: Salesforce Pricing Design Time User for whoever builds procedures, Salesforce Pricing Run Time User for whoever runs them. Pricing analysts work in the Price Management app.
  4. Sharing: Public Read Only as the org-wide default on pricing objects, with read access for everyone on price books, expression sets, and price adjustment schedules.
  5. A runnable procedure. The shipped template doesn't run, so clone it from the App Launcher, Expression Set Templates > Save As. For quotes and orders, Salesforce says to start from Revenue Management Default Pricing Procedure.
  6. Setup > Revenue Settings: pick the procedure that prices quotes and orders.
  7. Setup > Salesforce Pricing Setup: run Sync Pricing Data, then turn on the waterfall for API responses and Price Waterfall Persistence.

Key objects

In the UIAPIWhat you set there
Pricing ProcedureExpressionSetThe elements, their order, the context definition it reads, and the active version.
Context DefinitionContextDefinitionWhat the procedure can see of the quote. Elements only read context tags on the transaction header and transaction lines.
Decision TableDecisionTableSource object, input criteria, output columns, and the Pricing usage type. Every combination of inputs must return exactly one row.
Pricing RecipePricingRecipeWhich decision tables procedure elements are allowed to call. Only one recipe is active at a time.
Price Adjustment SchedulePriceAdjustmentScheduleThe schedule type (volume tiers, attribute-based, bundle-based) and its rows: PriceAdjustmentTier, AttributeBasedAdjustment, BundleBasedAdjustment.
Price Book EntryPricebookEntryA product's list price for a given selling model.
Procedure PlanProcedurePlanDefinitionThe criteria that pick which procedure runs, and the order procedures run in for a quote.

Where to set it up

Procedures open from the Pricing Procedures list, in the Pricing Procedure builder. Add elements, map them to context tags, set their rank, and save. Simulate runs the procedure on values you type in one by one (Simplified mode) or as JSON (Advanced mode), and the Waterfall view then shows the list price, each discount, and the net price. Activate puts the version into service.

Decision tables live under Lookup Tables in the App Launcher. Pick the source object, the input fields and their operators, and the output columns, then click Activate.

A procedure element only offers a decision table if that table is linked to the default recipe for the procedure's subtype. You link it in Setup > Pricing Recipes, on the Price Adjustment Matrix tab, with Modify.

Price books and price adjustment schedules are managed in the Price Management app.

The pricing procedure builder, with its elements chained from top to bottom.Enlarge
A pricing procedure open in the builder: a sequence of elements, from list price to net price.

What goes wrong on projects

  • You change a procedure and nothing changes on quotes. Three settings each pick a procedure: Revenue Settings for quotes and orders, Product Discovery Settings for the price shown while browsing the catalog, and Salesforce Pricing Setup for headless calls. Start by checking which procedure Revenue Settings points to.
  • Every line drops back to list price after an edit. You have to deactivate a procedure before you can edit it, and an inactive procedure prices nothing. And the symptom doesn't look like a missed reactivation at all. After each edit, reactivate, reprice a real quote, and read the line totals. Article: When a Pricing Procedure Is Full: Procedure Plans
  • Only one of five included allowances applies. The default procedure points to its price adjustment schedules through hard-coded constants. The constant pointed to a single schedule, and the other four were never read. I moved all the tiers into one global schedule and pointed the constant at it. After a deployment, also check that the constant's record ID exists in the target org. Articles: Included Allowances and Overage, Moving Pricing Between Orgs
  • The procedure is full even though the source has few elements. What runs is the compiled version, the one ending in _Auto. In one org, the source had 81 standard steps and the compiled version 128, against an observed ceiling of 130. The documentation lists 200 elements per procedure, and I can't explain the gap yet. Count elements on the _Auto version. Article: When a Pricing Procedure Is Full: Procedure Plans
  • Prices are stale after a sandbox refresh. Pricing data doesn't carry over with the copy. Rerun Sync Pricing Data and refresh each decision table one by one. The sync covers tables linked to a recipe with the Pricing usage type.
Opening the price breakdown of a quote line: list price, discounts, net priceEnlarge
Price waterfall for one line.

Articles on this product

All 11 Salesforce Pricing articles in the list

Official documentation

Every source on this page (16)
  1. Build Your Pricing Procedures Using Salesforce Pricing
  2. Configure Record Sharing for Salesforce Pricing
  3. Configure Decision Tables
  4. Explore Price Adjustment Schedules
  5. Set Up Price Waterfall
  6. Use the Procedure Plan Framework
  7. Turn On Salesforce Pricing
  8. Configure Price Waterfall
  9. Set Price Waterfall Persistence
  10. Configure Your Pricing Procedure
  11. Create a Decision Table
  12. Pricing Recipes Setup
  13. Define Prices in Price Books
  14. Build and Manage Your Procedure Execution
  15. Create a Pricing Recipe
  16. Create a Procedure to Get List Prices for Product Discovery

A question about an article or a project?

Nathan Altmann and Ilan Malka answer every message themselves.

Contact

Type at least two letters.