Skip to content
CPQ Compass
← All CPQ objects and APIs

CPQ API

What is the Revenue Cloud equivalent of QuoteCalculatorPlugin?

QuoteCalculatorPlugin is the interface CPQ Custom Scripts implement, hooking into the calculation lifecycle through onInit, onBeforeCalculate and onAfterCalculate. Revenue Cloud has no equivalent lifecycle hook — pricing is evaluated by Pricing Procedures, so the logic has to be re-expressed rather than ported.

How it fails

The class still exists and still compiles. Nothing calls it, so the pricing adjustments it applied simply stop happening — and a quote that is merely wrong looks like a quote.

What to do instead

Inventory each hook's intent and map it onto Pricing Procedure elements or platform automation.

In detail

Custom Scripts hook into CPQ's calculation lifecycle (onInit, onBeforeCalculate, onAfterCalculate). Revenue Cloud has no equivalent lifecycle hook, so this logic silently stops running. Uses a CPQ Custom Script (QuoteCalculatorPlugin)

Find every occurrence in your own org

A scan reads your Apex, triggers and Flows and lists exactly where this appears — class by class, with the line it was found on.

Read-only, two OAuth scopes, no package to install, and no sales call.

Related

Other CPQ objects and APIs