Entry points >  Module Financials >  Standard script CNSNATSTD  

Display all Hide all

CONTROL: Restriction on the display of journals

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.

Context and operating method

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Available screen and file classes

 - 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 OKVariable tested on return from the entry point

 

Open tables

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

YESAccounting journals lines
GACCENTRYAYESAccounting analytical lines

FACILITY

NOSite
COMPANYYESCompany
FACGROUPNOSite grouping
FISCALYEARNOAccouting financial
PERIODNOPeriods
TABCURNOCurrency tables
CACNAYESAnalytical natures
GACCOUNTNOGeneral ledger accounts
BALANANOAnalytic balance