This entry point is used to take control at the time of displaying and accounting document in the natures inquiry process (CNSNAT function).
The OK variable set to 0 is used to omit the document to be displayed.
There is no transaction in progress.
There is no open log file.
- The CONSNAT1 mask (criteria header) and the CRITNAT mask (all the criteria using the "Criteria" button) is used to have a list of the defined criteria to consult the accounting documents.
These masks are open and loaded.
- The variable OK set to 1 on entering the entry point is evaluated on exiting the entry point.
If OK=0, the accounting journal will not be displayed in the grid.
Variable or mask | Definition |
CONSNAT1 [NAT1] | Criteria header masks |
CONSNAT2 [NAT2] | Display grid |
CRITNAT [CNAT] | Detailed criteria entry mask |
Integer OK | Variable tested on return from the entry point |
In the table below, the significant content flag indicates that the content is coherent with the context (...).
Table | Significant content | Table Title |
GACCENTRY | YES | Accounting journals |
GACCENTRYD | YES | Accounting journals lines |
GACCENTRYA | YES | Accounting analytical lines |
FACILITY | NO | Site |
COMPANY | YES | Company |
FACGROUP | NO | Site grouping |
FISCALYEAR | NO | Accouting financial |
PERIOD | NO | Periods |
TABCUR | NO | Currency tables |
CACNA | YES | Analytical natures |
GACCOUNT | NO | General ledger accounts |
BALANA | NO | Analytic balance |