Simple calculation tables
Calculators are used in the configurator :
To carry out the assignment of values to a variable when a formula does not allow it.
To create the equivalence tables.
And this by associating a value range, a value considered fixed. In the case of the conversion table, the start and end of each range are identical.
Prerequisite
Refer to documentation Implementation
Screen management
A single screen used to specify the value ranges and the corresponding results.
Entry screen
Calculator and title : This is the name of the calculator over a maximum of 8 characters and its title defined over a maximum of 30 characters.
Calculator type : It is necessary to choose the "conversion table" if the calculator is to be used as an equivalence table, if not choose "Simple calculator".
Blocking not found : This setup is used, if ticked, to interrupt the scenario if no value is found in the value range grid corresponding to the parameters used. It is then necessary to correct it in the Configurator questions window.
Ranges/results format : It is necessary to specify the format as numeric, alphanumeric or a date range and of the calculator result as well as the break used.
Ranges/results title : It is possible to personalize the titles of the range and result columns in the grid, this is to facilitate the reading of the calculator grid.
Calculator grid : This is the entry for each range of values, of the result to be used in the scenario.
Block number 1
Calc. table (field ABQNUM) |
Build the array code. |
field ABQAXX |
Type (field ABQCOD) |
Check if the grid is a conversion table ( start range = end range) |
Block not found (field RESFLG) |
To be ticked if, in the event of a negative search, the scenario should be interrupted. In this case the variable will be initialized according to its type : Zero if numerical. Empty if alphanumerical. 0/0/0 if date. |
Range
Description (field ABSAXX) |
Range format (field ABQTYP) |
Choose the format for the ranges of values .
|
Character (field ABQCHA) |
Choose: |
Result
Description (field RESAXX) |
Result format (field RESTYP) |
Choose the format for the ranges of values |
Character (field RESCHA) |
Choose: |
field STRVAL |
Enter the start value (excluded value) conforming to the predefined format. |
field ENDVAL |
Enter the end value (included value) conforming to the predefined format. |
field RESVAL |
Enter the resulting value according to the predefined resulting format. |
Reports
By default, the following reports are associated with this function :
PRTSCR : Screen print
This can be changed using a different setup.
Menu Bar
Symbols |
This is used to access the symbol management. |
Copy |
This button is used to recopy a calculator to another folder. |