Symptom
Custom scripts executing multiple times for items in quote.
Environment
SAP SALES CLOUD CPQ
Reproducing the Issue
- Login to CPQ.
- Load sample quote.
- Make changes to any items in quote.
- Custom scripts attached to any custom calculations are executed.
- Validate in dev console.
Cause
General/Application Parameters in the 'Shopping Carts and Quote' tab, labeled 'Enable to only run calculations on items that have been changed'.
Resolution
- Set this parameter 'Enable to only run calculations on items that have been changed' to 'True' to only run calculations on items that have been changed.
- If set to 'False', calculations will run for all the items in quote.
See Also
Keywords
Scripts, Quote, Executing multiple times, Performance, Dev console, Custom calculation , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem
Product
SAP CPQ all versions