Differences

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

adminhelp:productadministration:products:triggers [2011/04/20 19:04]
aquandt created
adminhelp:productadministration:products:triggers [2019/06/19 09:57] (current)
bdjordje
Line 1: Line 1:
- 
 ====== Triggers ====== ====== Triggers ======
  
-Triggers allow you to perform an actionor actionswhen an event occurs on an attribute.  This is very useful for situations when you may want to reset an attribute when another attribute is selected or has changed selections. \\ +Triggers allow you to perform an action or actions when an event occurs on an attribute. This is very useful for situations when you may want to reset an attribute when another attribute is selected or if selections for that attribute have been changed. \\  
 +Unlike rules, triggers have a one-time purpose. While rules cannot be reset while choosing the default value, for example, triggers will only occur once, while later they can be changed to something else. \\
 For example, there is an attribute called Unit of Measure that determines what length is going to be entered in another attribute, Length.  Unit of Measure includes the values Inches and Centimeters.  If a user selects Inches, types in 12 in the Length attribute, but then decides to change Unit of Measure to Centimeters, then we would want to reset Length so that the user knows to enter a centimeter measurement instead of an inches measurement.  This is a good example where triggers can come into play to affect other attributes based on its own event. \\  For example, there is an attribute called Unit of Measure that determines what length is going to be entered in another attribute, Length.  Unit of Measure includes the values Inches and Centimeters.  If a user selects Inches, types in 12 in the Length attribute, but then decides to change Unit of Measure to Centimeters, then we would want to reset Length so that the user knows to enter a centimeter measurement instead of an inches measurement.  This is a good example where triggers can come into play to affect other attributes based on its own event. \\ 
-Triggers are defined for each individual attribute.  To define a trigger, go to the **Product Attributes** page of the desired Product.  Click the Trigger button in the attribute’s setting box of the desired attribute,. This opens the Trigger panel where actions can be defined for each trigger circumstance as shown in Figure A.  All that needs to be defined here is the action that will occur under each event:  Change, Selectand Reset. \\  + 
-{{ Wiki::triggersb1.png }}  +Triggers are defined for each attribute individually. To define a trigger
-;#;//Figure A - Triggers//;#;+ 
 +  - Go to **Setup** > **Product Catalog** > **Products**. \\ The product list displays. 
 +  - Click the {{:adminhelp:productadministration:products:cpq_1905_pricebooks_edit_icon.jpg?16}} icon next to a configurable product. 
 +  - (Optional) If you do not wish to use any of the available products, click **Add New** to create a new configurable product. 
 +  - Go to the **Product Attributes/Options** tab. 
 +  Click the {{:adminhelp:productadministration:products:cpq_1905_pricebooks_edit_icon.jpg?16}} icon next to an attribute. 
 +  - (Optional) If you do not wish to use any of the available attributesclick **Add New** to create a new attribute. 
 +  - In the Product Attribute Details screen click **Manage Triggers**. \\ This opens panel in which actions can be defined for each trigger instance. 
 +  - Define the action that will occur under each event - **Change****Select** and **Reset**. 
 + 
 +{{:adminhelp:productadministration:products:cpq_1905_triggers.jpg?550}} 
  The three Trigger types are:  The three Trigger types are:
    - **Change Trigger** – activates when the user changes the previously selected value within the attribute.     - **Change Trigger** – activates when the user changes the previously selected value within the attribute. 
You are here: SAP CPQ Online HelpAdmin Page HelpProduct AdministrationProductsTriggers