Refer to documentation Implementation
Presentation
Close
Fields
The following fields are present on this tab :
Block number 1
| This code identifies the created records in a unique manner. |
| Nature of the parameter :
|
| The length can be entered in an alphanumeric sequence counter. |
Grid List of values
|   |
| Define the current index in the grid. |
| Indicate the value of the parameter for each index. By convention, this is the value last allocated. |
Close
Code | Use |
EXPORT | Export number |
INTERLOC | Automatic coding of employees |
NUMFIL | Bank file number |
NUMIMP | Import/Export process number |
Text number |
All variables in class [C] must be modified in an entry transaction. In addition, a symbol locking operation is carried out on this variable before the modification of a variable of class [C]. It is not necessary to declare table APLCOM in the processes ; the engine will read this table to fill the variables of class [C] as well as to automatically update the file once any change is made to the value of a class [C] variable.
Example : allocation of a chrono used in the construction of a process name for an import or export .
#-----------------#
$TR_NUMIMP
Trbegin APLCOM
Gosub MAJ_NUMIMP
Commit
Return
#-----------------#
$MAJ_NUMIMP
Lock NUMIMP
If fstat=0
NUMIMP = [C]NUMIMP
[C]NUMIMP += 1
If fstat : ER = 2 : Endif
Else
ER = 1
Endif
Return