Refer to documentation Implementation
Presentation
Used to define, in addition to the code and the title of the table, an abbreviation that will be used to access the dimension table by the update processes.
Close
Fields
The following fields are present on this tab :
| This code identifies the created records in a unique manner. It corresponds to the name of the table that will be created in the datamart database. |
| The table abbreviation must be composed of 1 to 4 characters (letters or numbers but must start with a letter). It is the unique identifier for all the table abbreviations of the data dictionary. The Adonix reserved words are prohibited. |
| It used to define a name associated with each record. |
|   |
|   |
Close
Presentation
This tab is used to define the general characteristics of the dimension table, notably the loading rules. These rules are characterised by a source table, which can be linked to a group of ancillary tables as well as an extraction logic condition and an extraction type. A custom/specific process code can be used if required to manage the exceptions.
Close
Fields
The following fields are present on this tab :
Characteristics
| 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. |
|   |
| Define the source table that will run through (with the records in the linked tables) on each time that an update of the dimension table will be triggered. This run through will be complete, if the update type is Delete and replace; if not, it will incremental, based on the modified records in the principal table. |
|   |
| This condition is applied to the records in the source table during the update processes for the dimensions table. If is is not carried out, the record is not retained to be used in the update. It is important to note that the complex expressions can be applied here, including the conditions used to intervene in the functions defined by the programmer (syntax func PRG.FONCTION...) |
| This field is used to define if the loading logic for the dimensions table must be :
|
|   |
|
|
| Used to define the code for an optional process. If it is entered, this process is called during the update, in order to carryout particular processes. In this process, a label $ACTION is found and two variables that are used to define the call context :
Thus it is possible to take control when the update of the dimension does not take place by a simple recopy of the table. |
|   |
|   |
Table Links
| Used to define the tables linked to the source table or to one of the tables that precede it in the links grid. |
| 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. |
|
Table Folders
|   |
Close
Presentation
Found here is the detailed definition of the fields that may be of the type:
Close
Fields
The following fields are present on this tab :
Table Fields
|   |
| Defines the code for the field in the facts table or the table describing dimensions. This code is that under which the field is known in the database (it is automatically suffixed with the characters "_0"). It is not visible when in the management reports (it is the title that is displayed) but can be viewed if looking at the SQL syntax that extract the data from the datamart. |
| This title, which will be viewed by the user during the creation of the reports, must be unique for each field in the facts table or for the given dimension. In addition it is recommended to not have duplications between different tables. In fact, if there are duplications aliases will be automatically created (title_2, title_3) to prevent coherence problems, but this makes the data structures less readable for the user. |
| The field type is defined here, which characterize the entry format (numeric, any characters, date...) and the coherence controls (reference to a table for example). The principal generic types that exist : A : Alphanumeric |
| Used to define the length of a field when this field uses a generic data type where the length is not fixed. This is notably the case for the types A and DCB. |
| When a field from the facts or dimensions table is of the type date and is defined as dimension, it is automatically associated with a dimensions table named AX3DAT, which is automatically managed. It is then possible to specify here what are the time characteristics linked to the date that will be accessed in the analyses. A list of characters to be defined is given, not forgetting there are the following correspondences :
Thus, for example, YMW signifies that a direct access is available for the year, the month and the week defined by the date. |
| Defines the local menu number associated with the field defined on the line. When a field is of the type local menu (from 1 to 255) corresponding to the rank of a title in a table named local menu, stored in the messages table APLSTD. On entry or on display, the following are displayed according to the choices made in the user interface :
The interest of this type of entry is that the list of choices is displayed in the user connection language. Each local menu number characterises the list of available titles. For example, the local menu 1 corresponds to the choice No / Yes in this order. In this particular case, the user interface can also be a check box. |
| If the field is associated with a miscellaneous table, the number that identifies it is defined here. |
| Used to characterize the data in the dimensions table. The following values are possible:
|
|   |
|   |
| When a field is of the type Information in a dimensions table, it must be attached to a field of the type Dimension. Therefore one of the fields of the type Dimension present in the dimensions table is entered here. |
| When the field is of the type Parent dimension, the dimension code is entered here to which it is attached. |
|   |
|   |
|   |
| This adonix calculation formula is used to define the fashion in which the field is loaded in the dimensions table when the datamart is updated from a folder in the software package. Such a formula can include constants, the fields coming from the tables declared in lines, the standard functions, but also the functions defined by a developer (by the syntax func PRG.FONCTION). |
| 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. |
Add. info.
| A dimension table must have available an index where the key values that are used to establish a join between the facts tables or other linked dimensions. This field is used to define these characteristics. This is where the list of fields that make up the index are entered. The fields are separated by a '+' if there are several fields (for example, in the sites table FACILITY there is a key whose definition is LEGCPY+FCY). A descending sort field is preceded with the sign "-" (warning, it is used in the left list). The first field that makes up the index is without a sign and is therefore ascending. |
|   |
| When this box is ticked, an object Number is added in the created universe, this is used to directly access the number of lines in the dimensions table(globally or on given criteria). |
Close
Functions accessed by right click on the grid
Fields
The following fields are present in this window :
Block number 1
| The table code must be composed of 1 to 10 characters (letters or numbers but must start with a letter). It is the unique identifier for all the table abbreviations of the data dictionary. The Adonix reserved words are prohibited. |
| Corresponds to the name field in the database table (this name is automatically completed with "_0"). |
| Title associated to the previous code. |
| If the response is Yeson the line, the selected field is transferred with its characteristics (type, length...) to the screen from which the selection function has been called. It should be noted that, by right click on the line (without being in entry on the field), it is possible to globally set the lines to Yes or No from the current line. |
Close
This function is used to add to the fields grid, from a current line, the fields coming from a table that was previously entered in the header of the window that opens (the source table is proposed by default).
The default values are applied to the grid of lines that also contains :
It is not possible to insert fields that carry the same title as field to be inserted that already exists.
Fermer
This function generates a process where the name is defined by "WMD" followed by the table code and compiles it. This process is automatically called by the update processes in the datamart. |
The following fields are present 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 function is used to access the documentation management on the first paragraph of the documentation (if there is one) associated to the current record.
This function is used to access the links management. It is used to define the links between the current and other records (for example the links between functions and setups). These links are specific to the documentation and are used to load the generation of documentation structures.
This menu is used to launch a documentation generation. The generation can also be launched from the [Generation] button at the bottom of the window.
Three types of generation can be launched one by one or simultaneously:
The range suggested by default takes into account the current record but it can be modified upon launch.