cancel
Showing results for 
Search instead for 
Did you mean: 

How to Disbale Default Group Calculations execution?

BharadwajS
Explorer
0 Kudos
114

Hi All,

I have a scenario where I change the custom field value and in the backend executing a global script to update the Quote Item Custom Field, so the respective calculation group is executing and next to that Default Calculations Group also executing, is there a way we can restrict the execution of Default Calculation Group?

We are using Quote 1.0.

Thanks in Advance

SAP CPQ

Fancy_Zou
Product and Topic Expert
Product and Topic Expert
0 Kudos

Hi,

By default, the quote item calculation will not be triggered automatically when you use an IronPython script to update a custom field's value via a Global Script event. The execution of the item calculation must be explicitly initiated using relevant scripting commands such as `Quote.Calculate()` or `Quote.Reconfigure()`. Refreshing the UI layer through customizations in a Responsive Template can also trigger item calculations, such as with `cpq.models.cart.calculate()`.

To better understand your scenario, please use the Full Mode feature of the Developer Console to capture a comprehensive list of traces of the reproduction steps.

Best Regards,
Fancy

Accepted Solutions (0)

Answers (0)