This entry point is used to insert additional logic afterthe validation of an automatic journal.
There is no transaction in process.
There is an open log file.
Entry point AP_COMMIT is called at each validation of a journal via the accounting batch task.
Available variables and masks
The journal is stored before its validation in the GACCENT0 [HAE0], GACCENT1 [HAE1] and GACCENT2 [HAE2] screens. All the fields in these fields are accessible. The [F :HAE], [F :DAE] and [F :DAA] classes are also on line.
Open tables
Only the [F :HAE] class can be used.
Use this entry point to take control at the beginning of the accounting batch task validation program and open the specific tables that need to be updated by the accounting task.
There is no transaction in process.
There is an open log file.
The 'OPNATB' entry point is called right after opening the standard tables used in the accounting task validation program.
Open tables
Tables GACCENTRY [HAE], GACCENTRYD [DAE], GACCENTRYA [DAA], GACCTMP [HAT], GACCTMPD [DAT], GACCTMPA [AAT] are open, but none contain significant content.
Use this entry point to take control right after creating the entry line in the entry lines table GACCENTRYD [DAE].
There is one transaction in progress.
There is an open log file.
The 'AFTWRIDAE' entry point is called during the entry lines process, which are recorded in the GACCTMPD [DAT] temporary table, and right after creating an entry line in the GACCENTRYD [DAE] table.
Available variables and masks
The TYP and PIECE local variables respectively include the type and number of the entry used in the temporary tables and that will be recorded in the final accounting entry tables.
Table | Significant content | Table Title |
GACCTMP | Yes | Accounting document header - temporary table |
GACCTMPD | Yes | Accounting entry lines - temporary table |
GACCTMPA | No | Analytical lines - temporary table |
GACCENTRY | Yes | Accounting document header |
GACCENTRYD | Yes | Accounting entry types |
GACCENTRYA | No | Analytical lines |
|
|
Use this entry point to take control before writing to the accounting documents table GACCENTRY.
There is one transaction in progress.
There is an open log file.
The 'BEFWRIHAE' entry point is called after deleting the accounting document in the temporary tables (GACCTMP, GACCTMPD and GACCTMPA) and right before the 'Write [HAE]' instruction used to create the accounting entry in the GACCENTRY final table.
Available variables and masks
The TYP and PIECE local variables respectively include the type and number of the entry used in the temporary tables and that will be recorded in the final accounting entry tables.
Table | Significant content | Table Title |
GACCTMP | No | Accounting document header - temporary table |
GACCTMPD | No | Accounting entry lines - temporary table |
GACCTMPA | No | Analytical lines - temporary table |
GACCENTRY | Yes | Accounting document header |
GACCENTRYD | Yes | Accounting entry lines |
GACCENTRYA | No | Analytical lines |
|
|