In this article (4 sections)
Stage: the catalog, and pricing on the quote line. The client sells advertising campaigns (TV, web, social). Its reps never talk about quantity: the customer comes in with a budget, the rep splits it across channels, and the volume (impressions, clicks, views) follows from that. The ask was to fit that way of selling into the Revenue Cloud catalog, with no code and without multiplying products.
The budget becomes the line amount, and quantity becomes a result
Revenue Cloud works out an amount from a unit price and a quantity. The rep knows the amount and is looking for the quantity. So the design flips the calculation: the rep enters a budget per line, that budget becomes the line amount, and the volume is computed from the rate. Budget ÷ rate × 1,000 for impressions (the rate is a CPM, a price per thousand), budget ÷ rate for clicks or views. The rep sees both numbers on the line without doing any math.
The rate depends on the offer, the product, the format, the buying mode and the campaign start date (the same product can cost more at year end). The rate card is stored as attribute-based price adjustments, meaning prices that change with the answers given on the line (format, buying mode). A flow, running after the line is saved, reads the rate from that table and computes the volume, for a reason explained below.
On the quote, three amounts guide the rep: the customer budget, pulled from the opportunity; the allocated budget, the sum of the line budgets; and the balance between them, what's left to allocate. If the allocated budget exceeds the customer budget, the save is rejected: reps can shift money between lines but not go over. Fees (technical fees by budget tier, or a percentage of media spend) recalculate whenever a budget changes and stay outside the media budget: the quote total includes them, the balance doesn't.
One classification per offer, because per-bundle overrides skip classifications
Each offer (one per channel family: TV, web, and so on) is a bundle. The client wanted to add the same product to an offer more than once, say two lines with two formats and two budgets. A product component appears only once per bundle. A classification component (a classification is a shared template for several products, carrying the attributes they inherit) lets the rep add as many lines as they like, including the same product twice. So the team went with the classification.
Revenue Cloud lets you override an attribute per bundle: in the TV offer, the default format is the spot; in the web offer, it's the banner. In the client's sandbox, those per-bundle overrides only applied to product components. A line added through a classification showed the classification's general values, every format in every offer. This was confirmed by reading the catalog through the API and then on screen, in that one sandbox only, so it's worth checking elsewhere before treating it as a rule.
The result is one classification per offer, each with its own allowed formats, buying mode locked or not, and defaults. Since a product can belong to only one classification, every product needed one version per offer. The client accepted that trade-off: a few more products, but standard behavior, with no code and no validation rule to maintain.
Why a flow reads the rate card, and why lines need a date
The pricing procedure Salesforce provides has a blank reference to attribute-based price adjustments. Until it's filled in, no attribute-based price ever applies, and nothing tells you. You have to copy the standard procedure and complete that parameter. At this client that wasn't enough: rules created through the API still didn't apply, for a reason that's still to be confirmed. That's what led to reading the rate card with a flow, the only non-standard piece of the project.
The rate also depends on the campaign start date, which lives on the quote, and lines added from the UI didn't pick it up. With no date, the rate card returns no rate. A small automation copies the quote date onto every line. Both problems showed up while testing real quotes with numbers that could be checked by hand.
In practice
- When the customer buys a budget, make the budget the line amount and compute the quantity from the rate, instead of asking reps for a quantity they don't know.
- If the same product must behave differently by offer and is added through a classification, plan one classification per offer.
- In your copy of the standard pricing procedure, open the attribute-adjustment step and check that its reference is filled in.
- Test with a list of quotes whose expected volume is worked out by hand, line by line, and compare it to what's displayed.