CONTROL: Controls before the execution of the process

Use this entry point to perform one or more controls before the processing for the re-opening of the fiscal year is executed. (OPNFIY function)

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases

This entry point is called before the fiscal year end processing is started.

Available variables and masks

The criteria entry mask OPNFIY is available under the abbreviation [DIA].

When resuming the execution of the processing, the OK variable is tested: if its value is 2, the fiscal year end processing continues; if not, you return to the menu. It is initialized to 2 before the entry point is called

This entry point can therefore be used, for example, to validate a question via the AVERTIR sub-program ("… ? " , OK) provided in the GESECRAN processing. In this case, the sub-program populates the OK variable to 2 if the user has clicked the OK button, or to 1 if they have canceled it.

 

Variable or mask

Definition

 OPNFIY [DIA]

 Criteria entry mask

 Integer OK

 Variable tested on return from the entry point

 

 

 

Open tables

Table

Significant content

Table Title

 COMPANY [CPY]

 No

 Company

 GACM [GCM]

 No

 Account core model

 FISCALYEAR [FIY]

 No

 Fiscal years

 GACCOUNT [GAC]

 No

 Accounts

 GACCENTRY [HAE]

 No

 Document header

 GACCENTRYD [DAE]

 No

 Document line

 GACCENTRYA [DAA]

 No

 Analytical line

 GACCTMP [HAT]

 No

 Document tempo table

 GTYPACCENT [GTE]

 No

 Document types

BEFWRIFIY: Re-opening of the fiscal year

This entry point is used to perform other processes after the re-opening of a fiscal year.

Context and operating method

Transaction

There is one transaction in progress.

Log file

There is an open log file.

Different call cases

The entry point is called after the re-opening of a fiscal year for additional updates and before the Commit instruction used to confirm changes. When resuming the execution of the processing, the GPE variable is tested and used to confirm or reject all the updates, which will lead to the cancellation of the fiscal year re-opening.

Available variables and masks

Variable or mask

Definition

GACCFIYOPN [M:DIA] Mask

 Re-opening of the fiscal year

Open tables

Table

Significant content

Table Title

 COMPANY [CPY]

 No

 Company

 GACM [GCM]

 No

 Account core model

 FISCALYEAR [FIY]

 No

 Fiscal years

 GACCOUNT [GAC]

 No

 Accounts

 GACCENTRY [HAE]

 No

 Document header

 GACCENTRYD [DAE]

 No

 Document line

 GACCENTRYA [DAA]

 No

 Analytical line

 GACCTMP [HAT]

 No

 Document tempo table

 GTYPACCENT [GTE]

 No

 Document types