Refer to documentation Implementation
Presentation
The entry of the parameters is made in a tab, the selection window being a window with branching keys with 3 parts (the chapter, the group then the code of the parameter).
It is possible to add new parameters in the case of specific/custom developments. Warning, to save these parameters in the case of version change or folder revalidation, it is essential to protect them with a specific/custom activity code (starting with X, Y or Z). To avoid conflicts with any added parameters, it is necessary to use the standard naming convention (start the names of these parameters with X, Y or Z).
There is the possibility to add these custom/specific parameters in the existing standard chapters or even in a custom/specific chapter that has previously been created. The addition of a specific/custom chapter is mad by adding a code starting with X, Y or Z in miscellaneous table 901.
The different parameters that exist for all the 'functional' modules are explained in the Prerequisite chapters in the documentation for the functions that use them. Each parameter has a descriptive record that can be called by the definition of the parameter or the entry of the parameter value.
Close
Fields
The following fields are present on this tab :
Block number 1
| The chapter, defined in miscellaneous table number 901, identifies the functional domain to which the parameter is attached. |
| A parameter is characterised by :
|
| Destined notably to figure in the reports and the screens in which the record code can be entered or selected. This text is used to give a clear description to the record concerned. |
Block number 2
| The group code, defined by miscellaneous table number 903, is used to group the parameters of a single chapter, in order to organize them and to facilitate their parameterization. In fact, there is the possibility to define the values sets by group of parameters. |
Characteristics
| The definition level is used to characterized the deepest level of detail possible to associate a value for each parameter. If, in a given context, no value exists at the defined level, ascend up successive levels until a value is found. It is therefore possible to define a default value for the levels above the bottom level of the definition, in order to only manage the specific cases of the lowest level. The definition levels possible, defined by the local menu 987, are, in descending order :
|
| Defined here is the internal type for the value and the local menu number if there is one. |
| 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. |
| Defined here is the internal type for the value and the local menu number if there is one. |
| A parameter can be the key to a record managed by an OBJect (for example, a country code, a customer code, a sequence number counter, a product group, a user, etc.). If this is the case, a code for the object is given here ; this is used to automatically make available all the controls associated with the entry of the parameter. In addition, it is possible to specify the parameter to be passed to the object management, when this is manages a table with a key of two components. The parameter CCEDSP1 "Dimension axis 1 for distribution" uses this field to indicate the number of the analytical axis. In addition, it is possible to specify one or more selection options to filter the possible values for the parameter. These options are defined in the object in the "Selection" tab. The CPTRES parameter uses the filter option on the account OBJect to authorized only the general accounts. |
|   |
|   |
| The process section is used to define the name of a process that will be called to make additional controls on the validity of the entry of the parameters. If this process is defined, then a sub-program must exist defined as follows in the process : Subprog VERF_PARAM(PARAM,VALEUR,OK) An example of its use is given for the sequence number type variables in the documents. When they should not exceed a length of 15 characters, a SUBANM process can be called. |
| To facilitate usage, it can be useful to store the parameter value in a global variable. for standard reasons, the name of this variable starts with the letter "G" for the standard, with one of the letters "X", "Y" or "Z" for specific/custom. This variable belongs to the class [V]. The fact of giving the name to a variable provokes the automatic generation of a declaration process :
Thus when connected to the older, the global variable is loaded with the parameter value. If the variable is defined at a lower level (site, company, legislation), it is likely to change value when the site, company or legislation changes ; it is in this case the responsibility of the developer to re-read the parameter values and to modify the values of the corresponding variables. A sub-programme for each module is available for this, which can be called by : Call GLOBVAR(SITE) From WWGLOBXXX In parameter creation, in the case where the variable is not yet created in the standard dictionary, the supervisor proposes to create it. In parameter update, the variable is not modifiable. However, there is the possibility to intervene in this field from the variables dictionary :
Note : the deletion of a global variable associated with a parameter is possible. In this case, the parameter is no longer linked to a global variable.
|
Table List of values
| It is possible to define a list of values that will be proposed during the entry of the parameter with the help of the selection function, accessible from the right click of the mouse. |
Properties
| Used to define if a value can be manually modified by the user with the function parameter values. If this is not the case, only a program is for modifying ; for example, the TYPDBA parameter, which defines the database used, only reflects that it has been defined during the creation or update of a folder : it can therefore not be manually modified). |
| The Ex value check box is used, if it is ticked to authorize the entry of values that fall outside of the list (which then becomes simply a group of "suggested values") or, conversely to impose a strict selection. |
| This indicator, modifiable only if the variable has been defined at the User level, is used to identify if a user can modify the value themselves(via the personal choices management function), or if a user other than the general administrator can modify this parameter in user management. |
| This indicator, only modifiable if the variable has been defined at the User level, is used to identify if an inheritance is authorised from a superior level or if a value is imposed that can only be entered at the user level (in this case, its non assignment in the user record will be interpreted as an absence of the value). |
| This access code is used to to limit access to the current record for certain users. |
Condition
|
Close
This button is used to complete and compile 2 processes : AGLOBVAR and AGLOB+chapter |
This button is used to copy the activity code definition to another folder. Warning, the linked activity code is not copied. |
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.
In addition to the generic error messages, the following messages can appear during the entry :
An attempt has been made to create a parameter that exists already under the same name in another chapter.
The global variables are standardised and must start with the letter G.
The global variable is already initialised by another parameter.
A value incompatible with the data type has been entered in the values table.
The name of a non existent process control has been entered.