Use this entry point to take over before an entry is recorded by this program.
There is one transaction in progress.
There is an open log file.
The PIECE entry point is called every time an entry is created. Unlike the entry points in the CPTAUTO program, this entry point is located after the controls.
The [F:HAE] class is loaded, the entry point is located just before the "Write" instruction. The entry elements are on the [HAE0], [HAE1] and [HAE2] screens.
Only the [F :HAE] class can be used.
Use this entry point to take over in the sub-program for the deletion of an accounting document.
There is one transaction in progress.
There is an open log file.
The "DELVCR" entry point is called in the accounting document deletion transaction, following the deletion of the following standard tables: GACCENTRYD (entry lines), GACCENTRYA (analytical entry lines), GACCENTRY (Accounting document header) and GACCDUDDATE (Due dates).
At this stage of the transaction, the balance tables have already been updated.
The TYPPCE and PIECE local variables contain the type and the number of the document being deleted.
Use this entry point to take over at the beginning of the accounting document validation program and open the specific tables that need to be updated.
There is no transaction in progress.
There is an open log file.
In the case of a validation in the GACCTMP, GACCTMPD and GACCTMPA temporary files, the DIRECT variable equals 0.
In the case of a validation in the GACCENTRY, GACCENTRYD and GACCENTRYA actual files, the DIRECT variable equals 1.