What is the CPQ Quote Line Calculator and when is it triggered?
Suggested answer
The Quote Line Calculator is CPQ's internal pricing engine that computes the pricing waterfall values for all quote lines on a quote. It runs as an asynchronous process on the Salesforce server. Trigger events:
1. When a product is added to or removed from a quote.
2. When quantity, discount, or subscription term fields on a quote line are changed.
3. When the "Recalculate" button is clicked manually.
4. Via the CPQ Calculate API (for programmatic price refresh).
5. When a Price Rule with "On Calculator" evaluation event applies. Batch size: The calculator processes quote lines in batches. The default batch size is configurable in CPQ Package Settings (typically 2–5 lines per batch for complex quotes). Reducing batch size lowers the risk of hitting governor limits in large quotes but increases the number of callouts. For quotes with hundreds of lines, consider using the asynchronous CPQ API to offload calculation. Custom price calculations can hook into the calculator via Custom Price Methods (Apex classes implementing the SBQQ.PricingPlugin interface).
Practice content for interview preparation; not an official vendor answer. Verify details against current product documentation.
Community comments (0)
No comments yet.
Sign in or create a free account to add a comment. Comments are moderated before they appear.