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

What is Revenue Cloud?

Catalog·Admin

Complex Offers: Tiers, Options, 21 Hardware Variants

A managed services catalog: a setup fee that changes at a headcount threshold, included allowances of which only one applied, and a bundle of twenty-one hardware variants that worked by hand but not when built by API.

Nathan Altmann · Revenue Cloud consultant at Meir IT

Published 6 min read

In 3 linesfor leadership

  1. A managed-services catalog combined headcount price tiers, included allowances and 21 device variants.
  2. Of five allowances set up, only one applied: the pricing calculation read a single price schedule.
  3. The bundle created in bulk by API still won't open; the next step is to compare it with one built by hand.
In this article (8 sections)
  1. Services offer: which quantity drives which price
  2. The threshold in a decision table, the options on the price book entry
  3. Included allowances: only one in five applied
  4. Hardware offer: twenty-one appliances in three roles
  5. Still open: the bundle built by API
  6. The org’s own required fields
  7. In practice
  8. Sources

Stage: the product catalog, before any quote. The client is a managed services provider with two offers that looked simple on paper. The services offer has a setup fee that changes at a headcount threshold, plus per-unit options. The hardware offer is twenty-one appliance models, each sellable in three roles, inside a single bundle. The job was to model both so that quotes price correctly.

Services offer: which quantity drives which price

The setup fee changes at a headcount threshold: one price below it, another above. The recurring management components (service delivery, review meetings, monitoring) follow a different number. They scale with the number of supported users, carried on a different field from the number of workstations.

Pointing a component at the wrong field goes unnoticed in testing, because test quotes are usually built with the two numbers equal, and then the wrong field gives the right price. The error only shows on real quotes, where the numbers differ. The defense is to write it down where it is used: name the driving quantity on each product, so whoever takes over the catalog a year later doesn’t have to work it out again.

The threshold in a decision table, the options on the price book entry

The headcount threshold is a real condition, so it goes in a decision table. The options are flat prices, and a flat price belongs on the price book entry, where it uses no procedure capacity. That matters because a pricing procedure has a ceiling, and decision tables added by reflex are what fill it.

Modeling each tier as a separate product would remove the decision table and multiply the catalog: workable with two tiers, unmanageable at five.

Included allowances: only one in five applied

Several bundles include an allowance, so many hours of training or so many months of a service, with anything beyond charged at the real rate. The native way to express that is a price adjustment schedule with tiers: the included quantity at zero, the overage at the real price. Five allowances were set up this way, and exactly one applied.

The tiers were right. The default pricing procedure applies adjustment schedules through hardcoded constants, and one constant pointed at one schedule, so only that schedule was ever read. The other four were configured, valid, and never consulted. The fix and its traps are in Included Allowances and Overage.

The Products row of the catalog workspace: products, their classifications, selling models, configuration flows and expression sets, all in one place.
The Products row of the catalog workspace: products, their classifications, selling models, configuration flows and expression sets, all in one place.

Hardware offer: twenty-one appliances in three roles

Each of the twenty-one appliance models can be sold as a primary unit, a secondary unit or part of a cluster. Modeled as separate products, that is sixty-three products. Modeled as a bundle with three component groups, it is twenty-one products and three groups. At that size, two mechanical problems show up right away:

  • A null sequence on a bundle component throws an index error at configuration time. With three components it is obvious. With sixty-three component relationships it isn’t, and the error names nothing useful. Every sequence has to be checked before release.
  • A duplicate price book entry where one is inactive blocks the active one, with the message “price book entry is inactive”, which points at the wrong record. Delete the duplicate instead of trying to reactivate it.
The Structure tab of a bundle product in Revenue Cloud: a tree with the bundle, its groups and the products they contain, plus a group detail panel.Enlarge
A bundle, from the insideProduct › Structure
  1. 1The bundle, root of the structure. This is what you sell.
  2. 2A group: what it holds, how many, mandatory or not.
  3. 3The product actually delivered in that group.
  4. 4The group detail: its name, its display rank, its parent product.

Still open: the bundle built by API

The hardware bundle was created in bulk by API: twenty-four products, the bundle, three groups, prices and selling models. Everything looked right. At configuration time, the configurator, the screen that checks a configuration is valid before pricing runs, refused to open, with a null-success error in its response that says nothing about the cause.

The product configuration window in Revenue Cloud: attribute tabs, required attributes, and a summary panel with totals by frequency.Enlarge
The configurator, in the toolConfigure Desktop
  1. 1Errors, warnings, information: this is the configurator speaking. It tells you whether the configuration is valid, not what it costs.
  2. 2One tab per attribute group: display, graphics, memory, processor, storage.
  3. 3The star marks a required attribute. While it is empty the configuration is not valid.
  4. 4The summary lists the attributes chosen…
  5. 5…and the totals by frequency: one time, monthly, quarterly, annual.

The causes were ruled out one at a time:

  1. Not the pricing. Switching the Procedure Plan settings back changed nothing, which ruled out the whole pricing path in one move.
  2. Not the obvious field. Fixing the configure-during-sale flag on the components had no effect.
  3. Not a null sequence, the known cause of index errors on bundle components, because there were none.

What was left: an equivalent bundle built by hand in the UI worked. My working hypothesis is that the UI fills fields the API call doesn’t. The next step is mechanical: build one product by hand, then compare it field by field with one created by API. The investigation is still open.

The org’s own required fields

The bulk load also has to respect what each org adds locally. Here, products carry two mandatory custom fields, the second a dependent picklist whose values are controlled by the product family. A load that sets the family and the dependent value separately produces combinations that are each valid and impossible together.

All of these, the configurator failure, the locked selling model and the dependent picklist, would have shown up in one pass if one product had been built by hand, end to end (configuration, pricing, a repriced quote), before anything was loaded, then compared with its API-created equivalent.

In practice

  • Write down which quantity drives which price, on the product itself, and build at least one test quote where those quantities differ.
  • Decision tables for thresholds only; flat prices go on the price book entry.
  • Set the selling model on the price book entry at insert. It cannot be changed afterwards.
  • Build one product by hand before any bulk load, then compare it field by field with the API version.

Everything here was seen on real orgs while building these catalogs. The appliance bundle failure is still being investigated: it is published because the ruling out is useful even though the cause is not yet proven.

Sources

  1. Product Catalog Management Fields on Product2
  2. ProductRelatedComponent
  3. PriceBookEntry
  4. PriceAdjustmentSchedule
  5. Product Catalog Management Objects
A technical question about this article?

A question about this article? I reply within 48 hours.

Something unclear, a mistake, or different behavior in your Salesforce org? Write to me.

Prefer email? Write to nathan@meir-it.com

Get notified of new articles

Type at least two letters.