SAP Knowledge Base Article - Public

3556119 - Scripts executing multiple times for items in quote

Symptom

Custom scripts executing multiple times for items in quote.

Environment

SAP SALES CLOUD CPQ

Reproducing the Issue

  1. Login to CPQ.
  2. Load sample quote.
  3. Make changes to any items in quote.
  4. Custom scripts attached to any custom calculations are executed.
  5. 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

  1. 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.
  2. If set to 'False', calculations will run for all the items in quote.

See Also

Application Parameters | SAP Help Portal

Keywords

Scripts, Quote, Executing multiple times, Performance, Dev console, Custom calculation , KBA , CEC-SAL-CPQ , Sales Cloud CPQ , Problem

Product

SAP CPQ all versions