Event Pipeline

The Event Pipeline documentation contains a list of events that are triggered and executed in SAP CPQ in some typical scenarios (for example, when adding a simple product).
Administrators who create scripts in SAP CPQ, can view when SAVE is triggered in the system by default so they do not have to add it in their scripts.
Scenarios:

Application Parameters

The table below displays the basic application parameters that are triggered in the typical scenarios.

Application Parameter Label Default Value
FIRE_SCPARAM_CHANGE_ONLY_ON_USER_ACTION Fire event “Quote custom field change” only on changes performed by userTRUE
KEEP_GUIDS_ON_CART_COPYWhen quote is copied, new quote items will keep same identifiers(guid) as original quoteFALSE
CopyHistoryOnQuoteCopyCopy history on quote copyTRUE
CopyOpportunityIdOnCopyQuoteCopy Opportunity Info on Copy QuoteFALSE
Cart.EditItemApplyDefaultDiscountWhen updating quote item, reapply default discount/multiplierTRUE
ALLOW_REORDERING_ITEMSAllow Reordering Items in a Cart:ALLOW PRODUCT SORTING
ROUNDING_FIX_OPTIONCart currency rounding error fix option:Fix Items (1)
RECALCULATE_CART_IN_SELECTED_CURRENCYRecalculate Cart in Selected CurrencyFALSE

Additional Notes

  • Why calculation of cart totals and product types (rolledup) gets called when saving quote?
    • Save quote calls ResetPreparedCart. Then SaveQuote calls PreparedCart to get MarketTotalAmount and save it to db. Preparing cart calls fix rounding error which invokes CartTotal and ProductType mathematics if ROUNDING_FIX_OPTION parameter is equal to Fix Items(1) or Fix Summeries(2). If RECALCULATE_CART_IN_SELECTED_CURRENCY parameter is on, all mathematics will be invoked in addition.
  • What happens when Quote.Save is called from scripting?
    • SAVE QUOTE MODEL - do calculate quote custom fields flow is invoked. (see here)
  • When are quote item custom fields calculated (calculation formula evaluated…)?
    • During item mathematics execution, after standard fields calculation.
You are here: SAP Sales Cloud CPQ Online HelpAdmin Page HelpEvent Pipeline