Differences

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

adminhelp:quotesadministration:cartlevelaggregates [2015/09/07 07:30]
vovanin [Cart Level Aggregates]
adminhelp:quotesadministration:cartlevelaggregates [2018/11/30 07:48] (current)
bdjordje
Line 3: Line 3:
  
 Other than attribute values, in the product rules administration page you may set and read global variables (globals, GI). Global variables are stored at cart level and are common for each main item/product configuration in the cart. Global variables may be used to model the interactions between items and to define action availability within the configuration. For details see the chapter on [[adminhelp:administration:globalinformationgivariables:globalinformationgivariables|Global Variables]]. \\  Other than attribute values, in the product rules administration page you may set and read global variables (globals, GI). Global variables are stored at cart level and are common for each main item/product configuration in the cart. Global variables may be used to model the interactions between items and to define action availability within the configuration. For details see the chapter on [[adminhelp:administration:globalinformationgivariables:globalinformationgivariables|Global Variables]]. \\ 
-Cart Level Aggregates are special Global Variables. When you define an aggregate you provide its name and  formula. This formula is evaluated for each main item in the cart. The evaluated formula is then converted to a numeric value. If it can not be converted to a numeric value, the aggregate value for that particular item is set to be zero. CPQ will implicitly multiply each formula with the quantity of the item.The final value of an aggregate is assigned to a Global Variable with the same name as the aggregate. This means that when you define an aggregate you actually define a Global Variable. \\ +Cart Level Aggregates are special Global Variables. When you define an aggregate you provide its name and formula. This formula is evaluated for each main item in the cart. The evaluated formula is then converted to a numeric value. If it can not be converted to a numeric value, the aggregate value for that particular item is set to be zero. SAP CPQ will implicitly multiply each formula with the quantity of the item. The final value of an aggregate is assigned to a Global Variable with the same name as the aggregate. This means that when you define an aggregate you actually define a Global Variable. \\ 
  
 <note>Since Quote Properties are also global, you must be careful to define unique aggregate names.</note>  <note>Since Quote Properties are also global, you must be careful to define unique aggregate names.</note> 
Line 11: Line 11:
    * Aggregate Name: "Item Count"     * Aggregate Name: "Item Count" 
    * Formula: 1    * Formula: 1
-<note important>As stated earlier, CPQ will implicitly multiply each formula with the quantity of the item. This is why the formula reads “1” – because if your item count is 3, the end result will be 3. In other words, this will create a global variable "Item Count" and its value will be equal to a count of the main line items – number of added configurations – in the cart.</note>+<note important>As stated earlier, SAP CPQ will implicitly multiply each formula with the quantity of the item. This is why the formula reads “1” – because if your item count is 3, the end result will be 3. In other words, this will create a global variable "Item Count" and its value will be equal to a count of the main line items – number of added configurations – in the cart.</note>
  
 \\  \\ 
You are here: SAP Sales Cloud CPQ Online HelpAdmin Page HelpQuotes AdministrationCart Level Aggregates