Refer to documentation Implementation
Presentation
Used to identify the triggering code.
Close
Fields
The following fields are present on this tab :
| The statistic trigger makes it possible to identify the element that will trigger the statistic. |
| [object Object] |
Close
Presentation
Define in the first tab the general information linked to the triggering statistic : the principal table in which the aggregation is managed and the fields that are used to determine the totals record to be updated.
These fields are important, in the case where the STAT table that contains the data is structured by company, site and date (according to the periodicity) and that the sub-programme must know which fields in the triggering table the values to be used are found
Close
Fields
The following fields are present on this tab :
Characteristics
| Short title over 10 alphanumeric characters. |
| [object Object] |
| An activity code is used to:
In this way, if the activity code is disabled, the marked element will not be useable, and the associated code (if any) will neither be generated nor can be activated. |
Block number 2
| Defines the table is the principal table from which the fields that will serve to trigger the statistics update are defined. This table must be on line at the time of the call with a current record characteristic of the data to be accumulated. |
Options
| Defined here is the field in the start table where the date attached to the record is found. This date is used to determine in which period the statistical value related to the record will be totaled, taking into account the periodicity of the chosen calculated. |
| Defined here is the field in the triggering table where the company code attached to the record is found. If this field, or if the site field are entered, the statistics applied to this code can be declined by the company. |
| Defined here is the field in the start table where the site code attached to the record is found. If this field is entered, the statistics using this code can be declined by site. |
Block number 4
Close
Presentation
The second tab is used to complete the description of the triggering context, when its more complex, notable :
Close
Fields
The following fields are present on this tab :
|   |
| Defines the table that will be placed on line during the totaling process, where the record is determined by a value for the link key. This will also be used as a basis for the statistical criteria and the totaled values on the fields in this table. |
| It corresponds to the abbreviation under which the linked table is open. If this field is not populated, the default abbreviation of the table is used. It is particularly useful to enter an abbreviation if the table appears several times in the grid, since several linked lines in the same table need to be on line simultaneously. |
| It defines the table key code used to read the linked lines. By default, the first key of the table is used. |
| This field is defined as one or more calculated expressions separated by a semi colon. Each expression is evaluated, and the result used to identify the value of the key used to perform the join. When multiple joins are authorized, only the first elements of the key can be given. In the expressions, constants can be used, as well as fields coming from the tables previously defined in the link list. |
|   |
| Used to define a criterion in the form of a logical expression can be used to intervene in all the on-line tables, the constants and the functions. Only the lines for which the condition evaluation returns a result that is not null (i.e. true) are involved in the data extraction. |
|   |
| Define the name of a variable used directly in the statistics totals based on the triggering event, to avoid having to define the calculated expressions based on the fields in the on line tables. |
| Title associated to the previous code. |
| Define the calculation formula corresponding to the variable. This formula is a calculated expression can includes constants, operators, functions and all the on line variable in the aggregation context. |
| In order to create the totals on the amounts express in different automatically converted currencies, there is the possibility to enter a constant or a field defining a currency code here. Following this the currency code in which each total must be managed will be entered in the statistics total definition. |
Close
The standard triggering events are documented in the documentation, organized by module, and accessible in the following link.
It should be noted that in the case of complex documents (of the type header and line), two triggering events can exist, one called once by the header and the other called once by line. One or other is chosen according to the level of detail required for the aggregation.
The following fields are included on the window opened through this button : Block number 1
Block number 2
Close This button is used to copy the record definition from or to another folder. |
This choice of menu allows to zoom to the documentation management, on the first documentation paragraph (if it exists) related to the current record.
This choice of menu allows to zoom on the dictionary link management function. This function allows to establish links between the current record and other records (for example links between functions and parameters). These links, dedicated for documentation purpose, allows the generation of documentation structure.
This choice of menu allows to generate the documentation. Three types of generation can be separately or simultaneously started :
The ranges and parameter proposed by default are defaulted according ti the current record, but they can be changed during the execution.
In addition to the generic error messages, the following messages can appear during the entry :
The proposed link field does not exist in the table.
The company, site or date field does not exist in the table.
The calculated expression defining the variable value is not correct.