Field help (ADPCODVAR) 

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.