Differences

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

adminhelp:productadministration:products:item_quantity_and_attribute_line_item_quantity [2018/05/04 07:59]
mnikolic [ItemQuantity Attribute]
adminhelp:productadministration:products:item_quantity_and_attribute_line_item_quantity [2018/05/04 08:44] (current)
mnikolic
Line 5: Line 5:
 In quotes that contain simple products, editable **Quantity** field will display automatically. You shouldn’t add the **ItemQuantity** attribute to simple products unless you wish to reference it somewhere in the application (e.g. container or for attribute values).\\ In quotes that contain simple products, editable **Quantity** field will display automatically. You shouldn’t add the **ItemQuantity** attribute to simple products unless you wish to reference it somewhere in the application (e.g. container or for attribute values).\\
 The following scenarios describe how the **ItemQuantity** attribute is typically handled: The following scenarios describe how the **ItemQuantity** attribute is typically handled:
-  - In the tier pricing model, pricing is based on **ItemQuantity**, and users are enabled to edit the quantity in quotes by selecting **User Can Enter Quantity**. Example: a product costs $15 when buying 1, $12 when buying two, or $8 when buying three. If a user adds the product to a quote with a quantity of 1, the price will be $15. After changing the quantity to 2, the system will pass it to the configurator through the **ItemQuantity** attribute. As pricing is based on this attribute, the price of the product will change accordingly to $12.+  - In the tier pricing model, pricing is based on **ItemQuantity**, and users are enabled to edit the quantity in quotes by selecting **User Can Enter Quantity**. Example: a product costs $15 when buying one, $12 when buying two, or $8 when buying three. If a user adds the product to a quote with a quantity of 1, the price will be $15. After changing the quantity to 2, the system will pass it to the configurator through the **ItemQuantity** attribute. As pricing is based on this attribute, the price of the product will change accordingly to $12.
   - You can expose the attribute to users so that they pick the quantity when configuring an item. Each change of  quantity will then be reflected locally in the quote, not in the configurator.   - You can expose the attribute to users so that they pick the quantity when configuring an item. Each change of  quantity will then be reflected locally in the quote, not in the configurator.
   - Calculate **ItemQuantity** via formulas as a hidden attribute. The formula will be based on other selections a user makes in CPQ. The quantity will then be reflected in the quote.   - Calculate **ItemQuantity** via formulas as a hidden attribute. The formula will be based on other selections a user makes in CPQ. The quantity will then be reflected in the quote.
 In case of parent/child configurations, the system treats the **ItemQuantity** attribute and properly propagates the quantity set up in the configurator to quotes. However, the quantity does not propagate from quotes to the configurator (the quantity remains as initially defined). In case of parent/child configurations, the system treats the **ItemQuantity** attribute and properly propagates the quantity set up in the configurator to quotes. However, the quantity does not propagate from quotes to the configurator (the quantity remains as initially defined).
 ==== Attribute and Attribute Value Quantity ==== ==== Attribute and Attribute Value Quantity ====
-For two attribute types (**User Selection w/ Quantity Inputs for each Attribute Value** and **User Selection w/ Attribute Quantity Input**) added as line items to products, the Quantity box will display automatically in the configurator.\\+For two attribute types (**User Selection w/ Quantity Inputs for each Attribute Value** and **User Selection w/ Attribute Quantity Input**) added as line items to products, the quantity box will display automatically in the configurator.\\
 There are four quantity-related options that administrators can manage for all attributes listed as line items (applies to all attribute types):\\ There are four quantity-related options that administrators can manage for all attributes listed as line items (applies to all attribute types):\\
   * **User Can Enter Quantity** - a checkbox in **Products** > a product > **Product Attributes/Options** > an attribute > **Attribute Definition**. Selecting this option enables users to enter quantity to line items independently from the main item. Whatever quantity is entered in the quote, it will be propagated back in the configurator. The quantity users enter in quotes will override the default quantity, if defined.   * **User Can Enter Quantity** - a checkbox in **Products** > a product > **Product Attributes/Options** > an attribute > **Attribute Definition**. Selecting this option enables users to enter quantity to line items independently from the main item. Whatever quantity is entered in the quote, it will be propagated back in the configurator. The quantity users enter in quotes will override the default quantity, if defined.
-  * **Inherit Quantity from Parent** - a checkbox in **Products** > a product > **Product Attributes/Options** > an attribute> **Attribute Definition**. When this option is enabled, the quantity of the line item will be multiplied with the quantity of the main item every time the quantity of the main item changes. The quantity is multiplied locally in the quote and not propagated in the catalog. If you go back in the catalog, the product quantity will remain as initially defined.+  * **Inherit Quantity from Parent** - a checkbox in **Products** > a product > **Product Attributes/Options** > an attribute> **Attribute Definition**. When this option is enabled, the quantity of the line item will be multiplied with the quantity of the main item every time the quantity of the main item changes. The quantity is multiplied locally in the quote and not propagated in the catalog. If you go back to the catalog, the product quantity will remain as initially defined.
   * **Default quantity (if not 1)** - you can define default quantities of values in an attribute line item so that whenever the attribute is listed as a line item, the selected quantity is shown for each value. To define default quantity, edit an attribute assigned to a product and in the **Attribute Values** section, select **Show More Columns**. The **Default quantity (if not 1)** column is shown for editing quantity. The default quantity will always be overridden by the quantity users define in quotes or the quantity inherited from the parent item.   * **Default quantity (if not 1)** - you can define default quantities of values in an attribute line item so that whenever the attribute is listed as a line item, the selected quantity is shown for each value. To define default quantity, edit an attribute assigned to a product and in the **Attribute Values** section, select **Show More Columns**. The **Default quantity (if not 1)** column is shown for editing quantity. The default quantity will always be overridden by the quantity users define in quotes or the quantity inherited from the parent item.
   * **Formula for Calculating Attribute Quantity** - to define a formula for calculating quantity on attribute level, edit the attribute and find the field in the **Additional Attribute Definition** section.   * **Formula for Calculating Attribute Quantity** - to define a formula for calculating quantity on attribute level, edit the attribute and find the field in the **Additional Attribute Definition** section.
 ==== Application Parameters for Quantity ==== ==== Application Parameters for Quantity ====
-The following application parameters in CPQ affect quantity:+The following CPQ application parameters affect quantity:
   * **Execute rules on attribute value’s quantity change** – the system triggers rules after changing the quantity of attribute values in the configurator.   * **Execute rules on attribute value’s quantity change** – the system triggers rules after changing the quantity of attribute values in the configurator.
   * **Calculate Auto-Reconfigure only items with modified ItemQuantity attribute** – defines whether CPQ automatically reconfigures only those items whose item quantity attribute value is changed.   * **Calculate Auto-Reconfigure only items with modified ItemQuantity attribute** – defines whether CPQ automatically reconfigures only those items whose item quantity attribute value is changed.
Line 31: Line 31:
 === User Selection w/ Attribute Quantity Input === === User Selection w/ Attribute Quantity Input ===
   * When you enable users to enter quantity for attribute line items, the attribute quantity in the configurator will display the quantity of the last edited attribute in the quote. **Example**: If you change the quantity of the line items in this order (Wireless mouse (Qy 2) > Pen (Qy 4) > Keyboard (Qy 2)), the quantity of the item in the quote will be 2.   * When you enable users to enter quantity for attribute line items, the attribute quantity in the configurator will display the quantity of the last edited attribute in the quote. **Example**: If you change the quantity of the line items in this order (Wireless mouse (Qy 2) > Pen (Qy 4) > Keyboard (Qy 2)), the quantity of the item in the quote will be 2.
-  * If the attribute inherits quantity from the parent item and has default values set for attribute values, the default quantity of the value that was edited first will show in the configurator. **Example**: If you change the quantity of the line items in this order (Wireless mouse (Qy 4) > Pen (Qy 3) > Keyboard (Qy 2)), the quantity of the item in the quote will be 4. The default value of the first selected item applies as quantity to all other attribute values in the quote and can be overridden with changing the value of the parent item. If the quantity of the parent item changes, the quantity of the line items will change accordingly. The same behavior applies if users are able to define the quantity of the attribute value and there are default values defined in Setup - the quantity of the value that was edited first will apply to all quantities in the configurator. If users change the quantity of the items in the quote, the quantity of the last edited quantity will propagate back to the configurator and it will apply to all quantities. After updating the quote, the new value will apply to all items.+  * If the attribute inherits quantity from the parent item and has default values set for attribute values, the default quantity of the value that was edited first will show in the configurator. **Example**: If you change the quantity of the line items in this order (Wireless mouse (Qy 4) > Pen (Qy 3) > Keyboard (Qy 2)), the quantity of the item in the quote will be 4. The default value of the first selected item applies as quantity to all other attribute values in the quote and can be overridden by changing the value of the parent item. If the quantity of the parent item changes, the quantity of the line items will change accordingly. The same behavior applies if users are able to define the quantity of the attribute value and if there are default values defined in **Setup** - the quantity of the value that was edited first will apply to all quantities in the configurator. If users change the quantity of items in the quote, the quantity of the last edited item will propagate back to the configurator and it will apply to all quantities. After updating the quote, the new value will apply to all items.
 === Container === === Container ===
 For container attribute line items, there are two additional fields administrators should manage when adding columns to a container attribute: For container attribute line items, there are two additional fields administrators should manage when adding columns to a container attribute:
Line 47: Line 47:
 |1.2.2.1|RAM|2| |1.2.2.1|RAM|2|
 |1.2.2.2|GPU|1| |1.2.2.2|GPU|1|
-If users change the quantity of the Computer to 3, the quantity of the underlying line items will change accordingly:+If users change the quantity of //Computer// to 3, the quantity of the underlying line items will change accordingly:
 ^Level^Item^Quantity^ ^Level^Item^Quantity^
 |1.|**Computer**|3| |1.|**Computer**|3|
You are here: SAP CPQ Online HelpAdmin Page HelpProduct AdministrationProductsItem Quantity and Attribute Line Item Quantity