Differences

This shows you the differences between two versions of the page.

adminhelp:event_pipeline [2019/01/29 09:54]
mnikolic
adminhelp:event_pipeline [2019/01/29 10:14] (current)
mnikolic
Line 1: Line 1:
 ====== Event Pipeline ====== ====== Event Pipeline ======
-The Event Pipeline documentation provides a list of events that are triggered and executed in SAP CPQ in some typical scenarios (for example, when adding a simple product). \\ +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 so they do not have to add it in their scripts.+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: 
 +  * [[adminhelp:event_pipeline:add_simple_product|Add Simple Product]] 
 +  * [[adminhelp:event_pipeline:add_configurable_item|Add Configurable Product]] 
 +  * [[adminhelp:event_pipeline:add_parent-child_product|Add Parent-child Product]] 
 +  * [[adminhelp:event_pipeline:edit_quote_item_standard_or_custom_fields_and_trigger_reprice|Edit Quote Item Standard or Custom Fields and Trigger Reprice]] 
 +  * [[adminhelp:event_pipeline:edit_quote_custom_field_and_enter_reprice_action|Edit Quote Custom Fields and ENTER (Reprice action)]] 
 +  * [[adminhelp:event_pipeline:edit_quote_custom_field_and_manually_trigger_save_quote|Edit Quote Custom Fields and Manually Trigger Save Quote]] 
 +  * [[adminhelp:event_pipeline:copy|Copy]] 
 +  * [[adminhelp:event_pipeline:reconfigure|Reconfigure]]
  
 ===== Application Parameters ===== ===== Application Parameters =====
 +The table below displays the basic application parameters that are triggered in the typical scenarios.
 ^ Application Parameter ^ Label ^ Default Value ^ ^ Application Parameter ^ Label ^ Default Value ^
 |FIRE_SCPARAM_CHANGE_ONLY_ON_USER_ACTION |Fire event "Quote custom field change" only on changes performed by user|TRUE| |FIRE_SCPARAM_CHANGE_ONLY_ON_USER_ACTION |Fire event "Quote custom field change" only on changes performed by user|TRUE|
Line 13: Line 24:
 |ROUNDING_FIX_OPTION|Cart currency rounding error fix option:|Fix Items (1)| |ROUNDING_FIX_OPTION|Cart currency rounding error fix option:|Fix Items (1)|
 |RECALCULATE_CART_IN_SELECTED_CURRENCY|Recalculate Cart in Selected Currency|FALSE| |RECALCULATE_CART_IN_SELECTED_CURRENCY|Recalculate Cart in Selected Currency|FALSE|
 +
 +----
 +=== 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.
 +
 +
 +
  
  
-Scenarios: 
-  * Add Simple Product 
-  * Add Configurable Product 
-  * Add Parent-child Product 
-  * Edit Quote Item Standard and Custom Fields and Calculate 
-  * Edit Quote Custom Fields and ENTER (Reprice action) 
-  * Edit Quote Custom Fields and Manually Trigger Save Quote 
-  * Copy 
-  * Reconfigure 
  
You are here: SAP CPQ Online HelpAdmin Page HelpEvent Pipeline