In this article (8 sections)
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.

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.
Enlarge- 1The bundle, root of the structure. This is what you sell.
- 2A group: what it holds, how many, mandatory or not.
- 3The product actually delivered in that group.
- 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.
Enlarge- 1Errors, warnings, information: this is the configurator speaking. It tells you whether the configuration is valid, not what it costs.
- 2One tab per attribute group: display, graphics, memory, processor, storage.
- 3The star marks a required attribute. While it is empty the configuration is not valid.
- 4The summary lists the attributes chosen…
- 5…and the totals by frequency: one time, monthly, quarterly, annual.
The causes were ruled out one at a time:
- Not the pricing. Switching the Procedure Plan settings back changed nothing, which ruled out the whole pricing path in one move.
- Not the obvious field. Fixing the configure-during-sale flag on the components had no effect.
- 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.