SUBGAD script: SUBGAD
CHARGE: adding fields that can be set up
Use this entry point to add in accounting entries additional fields, which can be set up as standard fields.
Context and operating method
Different call cases
This entry point is called upon loading or creation of an automatic journal, and comes after the loading of the accounting entry standard fields.
Available variables and masks
The GAD2 [GAD2] mask is available in this entry point. The "i" variable corresponds to the line read index and therefore contains the number of lines already loaded. It must be incremented before adding specific fields. When resuming the execution of the processing, this "i" variable will be assigned to the [M]NBLIG grid bottom variable.
Open tables
The ATABLE [ATB], ATABZON [ATZ], ATABIND [ATI], ATYPE [ATY], ACTIV [ACV] and AMSKZON [AMZ] tables are open, but their content is not significant.