
How to make Revenue Cloud apply your pricing rules on every quote
Partner discounts, regional uplifts and tiered rates work best as one governed table that every quote reads. Here is how to build a Salesforce Revenue Cloud decision table, give it the quote data it needs through a context definition, call it from a pricing procedure and keep it current after go-live.
- Decision Tables
- Salesforce Pricing
- Context Definitions
Most pricing rules start life in a spreadsheet: a partner program grid, a regional price list, a discount matrix someone in Finance keeps up to date. Reps open it, find the row they think applies and type the discount by hand. Every quote then depends on one person’s attention, and the exceptions surface at quarter end, when Finance reconciles partner margin.
In Salesforce Revenue Cloud, a decision table takes over that lookup. The rule lives as records, Revenue Cloud matches each quote line against them and the matching row sets the price. The price waterfall shows which element applied it, so anyone can see why a line costs what it does. This guide follows the order we build in on Revenue Cloud projects, from the records behind the rule to the refresh that keeps it current. It is written for the RevOps and pricing teams who own pricing rules and the admins who build them.
Executive summary
What this article offers, what it means for the business and what to decide
One rule, one place, every quote
A decision table stores a pricing rule, such as a partner discount by tier and product family, as records. Revenue Cloud reads it on every pricing run, so each quote line gets the price policy says it should.
Three parts must agree
The decision table holds the rule, the context definition carries quote data into pricing and the pricing procedure calls the table at the right step. A gap in any one of them produces a wrong price.
Changes go live on refresh, not on save
A decision table is a cached copy of its records. Refreshes run on a schedule because Salesforce caps how many an org can run each hour.
Production needs its data as well as its metadata
Deployment moves the table definition but not its rows. The rows are loaded separately, then the table is activated and refreshed.
What it means for cash and forecast
Discounts follow the approved policy on every quote, partner margin can be read from quotes before the close and every price traces to a dated, owned row. The baseline to measure is the share of quotes that carry an off-policy discount today.
Decisions to make
Who owns each table’s rows and who approves changes; how quickly a change must reach quotes; which rules stay manual, with approval; and who signs off the test quotes before each change goes live.
In this guide
- Executive summary
- What a decision table does in Revenue Cloud pricing
- When a pricing rule belongs in a decision table
- Decisions to make before building
- How to build a pricing decision table, start to finish
- How to keep the table current after go-live
- How to move decision tables to production
- What this looks like for a software company
- What changes for GTM, Finance and Business Systems
- Where this method stops, and when not to start
- What trips teams up with Revenue Cloud decision tables
- Practices that keep pricing tables trustworthy
- Questions teams ask about Revenue Cloud decision tables
- Where to go next
What a decision table does in Revenue Cloud pricing
A decision table is a lookup. It takes a set of inputs from a quote line, finds the row whose conditions match them and returns that row’s outputs: a list price, a discount percentage, a volume tier or an adjustment amount. Revenue Cloud’s own pricing already runs this way. The price book entries, volume tiers and attribute-based adjustments you maintain are read through predefined decision tables, and you add your own for rules the standard ones don’t cover.
Three pieces work together on every pricing run:
- The decision table holds the rule. It is built on an object, standard or custom, whose records are its rows.
- The context definition carries the data. Pricing uses an extended copy of the standard sales transaction context. Its attributes and tags name each quote, quote line or product field the pricing engine can read and write.
- The pricing procedure asks the question. It is the ordered set of pricing elements that builds the price. One element calls your table, passing context tags in and reading the outputs back.
What this means for you: when a price comes out wrong, the cause sits in one of the three. Check them in order: is the table refreshed, are the tags mapped and populated and does the element map the right variables? That order finds most problems within minutes.
When a pricing rule belongs in a decision table
A decision table earns its place when a price depends on a combination of facts you already hold in Salesforce, and when a business team changes the rule on a regular cadence. Good candidates include:
- Partner or reseller discounts by partner tier and product family.
- Regional price uplifts by country or sales region.
- Discounts by contract term, customer segment or industry.
- Any rule Finance needs to audit row by row.
Some rules belong elsewhere:
- A one-off concession on a single deal. A manual discount with an approval rule is simpler and leaves a better record of why.
- Logic that depends on other lines on the quote, such as bundle or aggregate pricing. Revenue Cloud’s bundle and aggregate elements handle those.
- Standard adjustments. Volume, term and attribute-based adjustments already have predefined tables; you populate them rather than build new ones.
Decisions to make before building
Choose the Advanced table type
Salesforce recommends the Advanced type over Standard for pricing decision tables, and it is the type we use on every new build.
Give every combination of inputs exactly one answer
Salesforce Pricing doesn’t return several outputs for the same inputs. Design the rows so each combination, Gold partner and Platform product for example, matches one row and only one. Overlapping rows are the most common cause of prices nobody can explain.
Decide between records and a CSV file
An object-backed table reads its rows from Salesforce records, so the business team edits them in Salesforce with field history and permissions. A CSV-based table suits medium-scale logic but carries limits: it isn’t supported for pricing discovery or with the Attribute-Based Price element, it doesn’t accept currency as an input and it supports only date-time, text, Boolean and number data. We default to records whenever a business team will maintain the rule.
Agree on names before anyone builds
A context tag can’t share its name with the decision table’s label or API name. Settle a convention up front: a table called Partner Discount Entries, for example, with tags called PartnerTier and ProductFamily.
Put the inputs where pricing can read them
Pricing elements work line by line. We find it simplest to place every input the table needs on the quote line, using formula fields where the value really lives on the quote, the account or the product. One line then carries everything the lookup needs.
Plan for multiple currencies now
Enabling multicurrency later means deactivating any pricing procedure linked to predefined pricing tables, enabling it and reactivating the procedure. Adding a Currency field to a predefined table means deactivating the table first. If a second currency is likely, design for it now.
How to build a pricing decision table, start to finish
Build in a sandbox. The steps follow the order in which each piece depends on the one before it.
Store the rule as records
Create a custom object for the rule with one field per input and one per output: for a partner program, Partner Tier, Product Family and Discount Percent. Use restricted picklists for inputs, so a typo can’t create a row that will never match. Turn on field history tracking, and give the team that owns the rule create and edit access to this object alone. Every change to price policy then carries an author and a date.
Create the decision table
- From the App Launcher, open Lookup Tables, select Decision Table and click New.
- Name the table, press Tab to fill in the API name, set the application usage to Pricing and the type to Advanced.
- Click Save & Next, then choose your custom object as the source object.
- Add the input conditions: the source fields and their operators. Check that the condition type, all conditions met for example, matches the rule.
- Add the outputs: the source fields the table returns, each with a column name.
- Click Save & Next through the review, click Finish, then Activate on the decision table record.
Then make the table available to pricing elements. In Setup, open Salesforce Pricing, then Pricing Recipes and open the recipe your org uses. On the tab for the element that will call the table (Price Adjustment Matrix, for a discount matrix), click Modify and select the table.
Give pricing the inputs through the context definition
Salesforce Pricing doesn’t run on the base sales transaction context, so pricing always uses an extended copy. If your org already has one, add to it rather than creating a second.
- In Setup, open Context Definitions. If no extension exists yet, extend SalesTransactionContext from the Standard Definitions tab.
- In the extended definition, add an attribute on the sales transaction item node for each input field, and create a tag for each attribute.
- On the Map Data tab, edit the quote mapping and map each new attribute to its quote line field.
- Activate the context definition, and confirm your pricing procedure points to it.
Creating the custom fields before you extend the definition makes the mapping simpler, because they are available as you add attributes.
Call the table from the pricing procedure
- From the App Launcher, open Pricing Procedures and work on a new version of the procedure your org uses, so the active version stays available for rollback.
- Add the pricing element that will call the table, Price Adjustment Matrix for a discount, after the list price element and before any element that depends on the discounted price.
- In Lookup Table Details, select your decision table. Map its input variables to your context tags and its outputs to the element’s adjustment type and value.
- Choose whether the element shows in the price waterfall and which profiles can see it, set the rank, select Include in Output and save.
Salesforce advises against activating a procedure immediately after changing a decision table it uses. Make a small change to the procedure, save it again, then activate, so it doesn’t carry outdated metadata.
Refresh, then test on real quotes
Refresh the table from Setup (Decision Tables, select the table, Refresh), then check its Last Refreshed Date in Lookup Tables. Create one sandbox quote for every row and one quote that should match no row. Read each line’s price waterfall: the adjustment should name your element and show the percentage the row holds. These quotes become the regression set you rerun before every future change.
Menu labels reflect Salesforce release 264 (Winter ’27) and can change between releases.
How to keep the table current after go-live
A decision table is a cached copy of its source records. Editing a row changes nothing on a quote until the table is refreshed, and Salesforce warns that edits made while a refresh is running may not be picked up. Refreshing is therefore part of every rule change, not a step for later.
Refresh one table, not all of them
Refreshing the single table you changed from Setup is quicker and uses less of the org’s hourly allowance than refreshing every pricing table at once.
Schedule refreshes with a flow
Flows include a Refresh Decision Table action. A record-triggered flow that refreshes on every save looks tidy, but Salesforce caps how many refreshes an org can run each hour, and partners in the Salesforce community report hitting that cap this way. A schedule-triggered flow that refreshes changed tables at agreed times is the reliable pattern. For business owners without Setup access, a screen flow that lists the tables and refreshes the one they choose works well.
Use incremental refresh for large tables
An incremental refresh updates only rows whose source records changed recently. It needs one full refresh first, and it handles up to 2,000 changed records; beyond that, a full refresh is required. A full refresh updates the Last Refreshed Date, while an incremental one updates the last incremental sync date, so check the right field when you confirm a change.
What this means for you: agree when a price change becomes live and write it down. “Rule changes saved by 6 p.m. are on quotes the next morning” is a commitment sales, partner managers and Finance can all plan around.
How to move decision tables to production
Salesforce publishes a deployment order for these components, and following it avoids most failed deployments:
- Standard and custom objects and fields, including the rule object.
- Context definitions and decision tables, with any decision matrices and object aliases.
- Sub-expressions.
- The pricing procedure version that uses them.
- The definition moves; the rows don’t. Deploying a decision table moves its definition only. Load the rule object’s records into the target org with your data loading tool, then activate and refresh the table there.
- An active table reactivates on arrival. It fails if its source object isn’t already in the target org, which is another reason the objects go first.
- Tables have no versions; procedures do. Deploy procedure changes as a new version rather than updating the active one. Two versions of the same procedure can’t share a rank.
- Finish the wiring in the target. Add the table to the pricing recipe and check the context definition mappings before anyone quotes.
What this looks like for a software company
Consider a B2B security software company that sells roughly 40% of its new ARR through resellers. Its partner program sets a discount by partner tier and product family. Until now, the partner team kept the grid in a spreadsheet, reps typed the discount by hand and Finance compared quotes with the program each quarter.
| Partner tier | Platform | Add-ons |
|---|---|---|
| Registered | 10% | 5% |
| Silver | 20% | 12% |
| Gold | 30% | 20% |
The cost of the old way. A Silver reseller quoted at the Gold Platform rate on a $60,000 ARR deal receives 30% instead of 20%. That is $6,000 of ARR given away in the first year, and again at every renewal that carries the price forward.
The build. The admin creates a Partner Discount Entry object with Partner Tier, Product Family and Discount Percent, and loads six rows. Formula fields on the quote line bring in the reseller’s tier from the partner account and the family from the product. The extended context definition gains PartnerTier and ProductFamily attributes and tags. A Price Adjustment Matrix element, placed after list price, calls the Partner Discount Entries table. A scheduled flow refreshes the table each night.
The deal. A Silver reseller quotes 200 Platform seats at $300 a year ($60,000) and an add-on at $15,000. The table returns 20% and 12%, so the lines price at $48,000 and $13,200: $61,200 of ARR. The waterfall on each line shows the partner discount element and its percentage.
The program change. On 1 January, Silver Platform moves to 22%. The partner team edits one row on 31 December, Finance approves it and the overnight refresh puts it live. New quotes price at 22%; existing quotes change only when someone reprices them.
The company, tiers, rates and volumes are illustrative; your program and figures will differ.
What changes for GTM, Finance and Business Systems
GTM. Reps and partner managers see the partner discount arrive on the line as soon as they add the product, with no spreadsheet to check and no change to how they build a quote.
Finance. Discount policy becomes data Finance can audit: every row has an owner, a change history and a refresh date, and each line’s waterfall shows which element applied it. Partner margin by tier can be reported from quotes before the close rather than rebuilt after it, and discounted lines flow into orders and contracts consistently, which is where standalone selling price analysis under ASC 606 begins. Measure the share of quotes carrying an off-program discount before go-live and again after; that comparison, in your own numbers, is the return.
Business Systems. The build adds one custom object, one decision table, attributes and tags on the extended context definition, one pricing element and one scheduled flow. Keep a dependency map of which procedures call which tables and read which tags. Give rule owners access to the rule object only, never to pricing setup. Salesforce notes that a user can refresh only the decision tables they created, so decide which user owns each table and run the scheduled flow as that user. Hand over a runbook covering refresh, rollback to the previous procedure version and sign-off for rule changes.
Where this method stops, and when not to start
What it doesn’t solve. A decision table enforces the rule it is given; it doesn’t decide whether the rule is right. It won’t stop a rep adding a manual discount on top unless your approval rules do. And it doesn’t reprice quotes that are already priced.
When we would advise not proceeding. If the rule is still renegotiated every few weeks, with exceptions for named partners, settle the policy in writing first. A table that changes weekly creates refresh churn and loses the trust it was built to earn. If only a handful of quotes a month use the rule (an estimate, not a threshold Salesforce sets), a manual discount with approval is cheaper to maintain.
What trips teams up with Revenue Cloud decision tables
- The rule changed but quotes didn’t. The table wasn’t refreshed, or the procedure was activated straight after the table changed. Refresh, make a small change to the procedure, save and activate.
- Two rows match the same line. Pricing expects one answer per combination. A unique key field on the rule object, built from the input values, stops duplicates being saved.
- A tag won’t save. It shares a name with the decision table’s label or API name.
- Inputs arrive empty. The attribute isn’t mapped to a quote line field, or field-level security hides the field from users who price quotes.
- Refreshes fail during busy hours. A record-triggered flow is refreshing on every save and has reached the org’s hourly cap.
- The scheduled refresh does nothing. It runs as a user who didn’t create the table.
- The table is empty in production. The definition was deployed but its records weren’t loaded.
- Sort settings are greyed out with First Match. Known issue W-20071141: choose Output Order, set Sort By and Sort Order, then switch back to First Match.
Known issue status reflects Salesforce’s published list in October 2026, when W-20071141 was Solution Scheduled; check its current status before relying on it.
Practices that keep pricing tables trustworthy
- Name one owner per table. Record the owner in the table’s description and in the rule object’s sharing.
- Make duplicates impossible. A unique key on the rule object does what a review can’t.
- Change in a sandbox first. Rerun the regression quotes, one per row plus one that matches nothing, and compare each waterfall with the last approved run before sign-off.
- Watch the refresh. Alert the owner when a scheduled refresh reports Failed, rather than waiting for a rep to notice a price.
- Keep the previous procedure version. It is the rollback if a change misbehaves.
- Measure before and after. Count off-policy discounts for a quarter before go-live and for a quarter after.
Questions teams ask about Revenue Cloud decision tables
Do we need a decision table for every discount?
No. Use one for rules driven by a combination of facts that a team maintains over time. One-off concessions are better handled as manual discounts with approval.
How quickly does a rule change reach quotes?
When the table is refreshed. Most teams schedule a refresh at set times, for example each night, and say so to sales and partner managers.
Can business users maintain the rows without admin access?
Yes. They edit records on the rule object, and a scheduled flow or a screen flow handles the refresh, so they never need pricing setup.
What happens to quotes that were already priced?
They keep their prices until someone reprices them. A rule change applies to quotes priced after the refresh.
Can we move decision tables between sandboxes and production with our deployment tool?
The definitions, yes, in Salesforce’s published order. The rows travel separately as data, and the table is activated and refreshed in the target org.
Should we use a CSV-based table instead of records?
Only for medium-scale logic that no business team edits in Salesforce, and only where its limits don’t apply to your procedure.
Want every quote priced from the rule rather than the spreadsheet?
Tell us which pricing rules your team still applies by hand. We start with a read-only review of those rules and your pricing procedure in a sandbox, and show you which belong in a decision table, from strategy and implementation to support.