In this article (6 sections)
Stage: cutover day for a move from Salesforce CPQ and its billing package to Revenue Cloud, and the weeks after. Testing had been signed off in the sandbox. In production, nine problems showed up that the sandbox never had, and they had to be fixed without stopping the client's billing.
The pitfalls that already show up in a sandbox when you create takeover orders are in the migration article. These only existed in production. They come from four places: production settings, data loads, the old system's history and users' habits.
Production wasn't configured like the sandbox
1. The old billing package blocks new orders
No Revenue Cloud order could be activated in production. The old Salesforce Billing package was still installed there, though not in the sandbox, and its triggers and validation rules required old-style billing rules on every order line. They were turned off for the duration of the cutover, with every changed setting written down so it could be put back.
2. A sandbox ID left behind in production
No discounts or included allowances applied on quotes. A pricing procedure copied from the sandbox pointed to a rate table by its record ID, the sandbox one, and that record didn't exist in production.
3. The pricing engine can't see the new catalog
Quotes came out at $0, or with no price. Revenue Cloud reads prices and discounts from decision tables, which are copies of the data: until they're refreshed, they don't know about any new price.
4. Quantities won't stick
A user changed a quantity, Salesforce said "success," and nothing was saved. Constraints Engine, which enforces compatibility rules between products, was enabled in production with no rules defined, and it silently rejected changes to existing lines. The proof came from a simple test: the same change, skipping the configuration step, went through. The engine was turned off until a constraint model is actually in use.
The data loads got in each other's way
5. Imported negative invoices turn into credit memos
During the history import, dozens of credit memos appeared on their own and used up legal invoice numbers. A Revenue Cloud Billing setting (Convert Negative Invoice Lines to Credit Memo Lines) turns negative lines on posted invoices into credit memos, imported invoices included. Switch it off during the import, then back on. The numbers already used had to be handled with finance.
6. Two big loads at the same time
Some takeover orders got stuck in draft: the contract takeover and the history import ran in parallel and locked each other.
The old system's data was hiding things
7. Invoices the old system never finalized
After the takeover, hundreds of "overdue" billing periods were ready to go out in one batch. The old system had invoices stuck in draft, or in approval, for months, and the lines behind them had never been flagged as billed. Each overdue period was matched against history, finance made the call, and the first automated billing run went out in draft mode.
8. An invoice canceled, then reissued on another contract
A customer was billed again for a line they had already paid. In the old system, the invoice for contract A had been canceled and reissued on contract B. The takeover, which looked for invoices contract by contract, saw contract A as never billed.
Users kept their old habits
9. Users keep working in the old tool
Credit memos and payments were entered in the old tool after cutover, and Revenue Cloud never saw them. Nothing stopped it. Credit memos and payments in the old system were frozen too, with a message pointing to the right place.
Why the sandbox couldn't have shown them
A sandbox is a copy of production at a point in time, and after that the two drift apart. Whatever gets installed, configured or created in production after the copy (a package left installed, an engine switched on, a rate table) isn't in it, and record IDs differ between environments anyway. Issues 1 to 4 come from that. Issues 5 to 8 needed the real history and real volumes, which no test on a handful of contracts reproduces.
Most of these problems raised no error, and that's what made them expensive. Revenue Cloud reads a lot of things by reference: a rate table by its ID, prices from a copy, constraints through an engine. When the reference finds nothing, the calculation carries on with nothing: no discount, a zero price, a change ignored behind a success message. The first signal then comes from a user or a customer. Sandbox testing is still essential, but it doesn't replace a side-by-side check of sandbox and production before cutover day, which the cutover plan makes one of its four ground rules.
In practice
- Before cutover day, build a sandbox-versus-production table with one row per item: installed packages, billing settings, whether Constraints Engine is on, and every hard-coded ID in the pricing procedure steps.
- Refresh decision tables after every catalog load and log their last sync date in the cutover log.
- Turn off negative-invoice-to-credit-memo conversion during the history import, and run only one big load at a time, with scripts you can rerun without creating duplicates.
- Look for duplicate billing by customer, product and period, not just by contract.
- Run the first automated billing in draft, after finance has decided every overdue period.