Metis Smart Modeling - Rules
From Metis Documentation
(→What is a rule?) |
|||
Line 3: | Line 3: | ||
== What is a rule? == | == What is a rule? == | ||
[[Image:Model_Exec_3.png|thumb|upright=0.5|alt=Metis Smart Quote Rule Execution Description|Metis Smart Quote Rule Execution Description]] | [[Image:Model_Exec_3.png|thumb|upright=0.5|alt=Metis Smart Quote Rule Execution Description|Metis Smart Quote Rule Execution Description]] | ||
- | Based on the model execution scheme, rules fit inside of group of rules in Metis. They are the logical part of the execution process. As described in the model section, once a group of rules is executed, all variables are instantiated and only after this the rules are executed. In opposition to groups of rules inside a model, rules don't have a specific order in which they are | + | Based on the model execution scheme, rules fit inside of group of rules in Metis. They are the logical part of the execution process. As described in the model section, once a group of rules is executed, all [[Metis_Smart_Modeling_-_Variables|variables]] are instantiated and only after this the rules are executed. In opposition to groups of rules inside a model, rules don't have a specific order in which they are |
Detailed description of a rule and its components. | Detailed description of a rule and its components. | ||
Line 103: | Line 103: | ||
2. '''Filter''' : Part of the rule which allow to configure the circumstances in which the rule is valid and should be executed by the application. Enabling the rule only under specific conditions | 2. '''Filter''' : Part of the rule which allow to configure the circumstances in which the rule is valid and should be executed by the application. Enabling the rule only under specific conditions | ||
- | The Variable Filter validates the rule according to variables, products, or groups of variables. | + | The Variable Filter validates the rule according to [[Metis_Smart_Modeling_-_Variables|variables]], products, or [[Metis_Smart_Modeling_-_Variables|groups of variables]]. |
To select a new variable, select a line and click to enter. Give the name, or part of the name of your parameter or a space to select all and click “ENTER.” | To select a new variable, select a line and click to enter. Give the name, or part of the name of your parameter or a space to select all and click “ENTER.” | ||
Line 111: | Line 111: | ||
{{Note | {{Note | ||
- | | When specifying output, you will only have the choice between “Product” and “Variable”, as it is not possible to set the value of a group of variables or an [[Description_of_the_Menu_Attributes|attribute]]. | + | | When specifying output, you will only have the choice between “Product” and “Variable”, as it is not possible to set the value of a [[Metis_Smart_Modeling_-_Variables|group of variables]] or an [[Description_of_the_Menu_Attributes|attribute]]. |
}} | }} | ||
- | 4. '''Add-On's'''' : Based on the result provide by the Formula part, a rule can be set-up to add implied positions or define new values in variables. Additional results from the rule based on the result of the "formula" | + | 4. '''Add-On's'''' : Based on the result provide by the Formula part, a rule can be set-up to add implied positions or define new values in [[Metis_Smart_Modeling_-_Variables|variables]]. Additional results from the rule based on the result of the "formula" |
{{Note | {{Note | ||
- | | When specifying output, you will only have the choice between “Product” and “Variable”, as it is not possible to set the value of a group of variables or an [[Description_of_the_Menu_Attributes|attribute]]. | + | | When specifying output, you will only have the choice between “Product” and “Variable”, as it is not possible to set the value of a [[Metis_Smart_Modeling_-_Variables|group of variables]] or an [[Description_of_the_Menu_Attributes|attribute]]. |
}} | }} | ||
Line 145: | Line 145: | ||
|- | |- | ||
| width="15%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | | width="15%" style="border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
- | '''Variables''' | + | '''[[Metis_Smart_Modeling_-_Variables|Variables]]''' |
| width="5%" style="text-align:center; border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | | width="5%" style="text-align:center; border-style: solid; border-color: grey; border-width: 0 1px 1px 0" | | ||
[[File:MetisSmartModelingVariableIcon.png|link=]] | [[File:MetisSmartModelingVariableIcon.png|link=]] | ||
Line 152: | Line 152: | ||
|- | |- | ||
| width="15%" style="border-style: solid; border-color: grey; border-width: 0 1px 0 0" | | | width="15%" style="border-style: solid; border-color: grey; border-width: 0 1px 0 0" | | ||
- | '''Group of variables''' | + | '''[[Metis_Smart_Modeling_-_Variables|Group of variables]]''' |
| width="5%" style="text-align:center; border-style: solid; border-color: grey; border-width: 0 1px 0 0" | | | width="5%" style="text-align:center; border-style: solid; border-color: grey; border-width: 0 1px 0 0" | | ||
[[File:MetisSmartModelingVariableGroupIcon.png|link=]] | [[File:MetisSmartModelingVariableGroupIcon.png|link=]] | ||
| width="80%" style="border-style: solid; border-color: grey; border-width: 0 0 0 0" | | | width="80%" style="border-style: solid; border-color: grey; border-width: 0 0 0 0" | | ||
- | (input only) can be used as a parameter in the filter and formula part of a rule (taking into account the sum of all the positions and variables it includes) | + | (input only) can be used as a parameter in the filter and formula part of a rule (taking into account the sum of all the positions and [[Metis_Smart_Modeling_-_Variables|variables]] it includes) |
|- | |- | ||
|} | |} | ||
- | Because rules are essentially based on value given to variables and /or positions, most of the numerical information which needs to be given when defining a rule is placed quantity fields: | + | Because rules are essentially based on value given to [[Metis_Smart_Modeling_-_Variables|variables]] and /or positions, most of the numerical information which needs to be given when defining a rule is placed quantity fields: |
{| class="wikitable centre" width="90%" style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: grey;" | {| class="wikitable centre" width="90%" style="border-collapse: separate; border-spacing: 0; border-width: 1px; border-style: solid; border-color: grey;" |