The CONTROLE entry point is used, during the lot validation, to carryout the additional controls and in particular to not validate certain documents.
There is one transaction in progress.
There is an open log file.
The CONTROLE entry point is called before each document validation, when all the standard controls have been carried out. The GPE variable is set to 0, if it is different to 0 on return the document will not be validated.
The GACCENT0 [HAE0], GACCENT1 [HAE1], GACCENT2 [HAE2] screens contains the data for the document in the process of validation.
The CPTLOT [DIA] contains the launch setups.
All the tables required for the validation of the document are open. The GENTLOTH table is on line and the [F :LOH] class contains the header of the document to be validated.
The MAJLOT entry point is used to not validate the lot.
There is one transaction in progress.
There is an open log file.
The MAJLOT entry point is called at the end of each lot validation and the GPE variable functions according to the variable.
The GACCENT0 [HAE0], GACCENT1 [HAE1], GACCENT2 [HAE2] screens contains the data for the document in the process of validation.
The CPTLOT [DIA] contains the launch setups.
All the tables required for the validation of the document are open. The GENTLOTH table is on line and the [F :LOH] class contains the header of the document to be validated.