Entry points > Module Supervisor > Standard script GENECR 

VALGENECR:

The entry point VALGENECR is used to take control before the validation of the generated screen.

Context and operating mode

The following tables are on line :

Table

Significant content

Table description

AMSK [AMK]

No

Screen dictionary

AMSKACT [AMA]

No

Action-object assignment table

AMSKZON [AMZ]

No

Screen field dictionary

AMSKPAR [AMP]

No

Action-object parameters

ATEXTE [ATX]

No

Dictionary messages

ATABZON [ATZ]

No

Field dictionary

ATYPE [ATY]

No

Data types

ADOSSIER [ADS]

No

Folder table

Variable or mask

Definition

Char APPLI

Name of the folder in which the screen has been generated

Char ECRORI

Name of the source screen

Char ECRDES

Name of the screen generated

TBLOC

Table of the sections to be processed (for each section from 0 to 14)
    0 No process
    1 Make the section hidden
    2 Transform the section to display mode

TZONE

 Table of the fields to be modified (names of the screen fields over 10 characters).

TMOD

Table of the modification codes
    2 Force the field to display mode
    3 Force the field to hidden mode
    4 Change the title
    5 Substitute the fields with short title
    6 Substitute the field with the normal title
    7 Change the evaluated title              
    8 Change the data type
    9 Change the presentation of the data table (Table / Record)

The GOK variable is tested on return from the entry point. When set to zero, the sub-program is exited and the remainder of the standard process is not executed. 

AMK1 AMK2

AMSK

Screen dictionary

AMA1 AMA2

AMSKACT

Table assignment of the action-OBJect

AMZ1 AMZ2

AMSKZON

Screen fields dictionary

AMP1 AMP2

AMSKPAR

Action-OBJect parameters

ATX1 ATX2

ATEXTE

Dictionary messages

ATY

ATYPE

Data types

ATZ

ATABZON

Field dictionary

ADS1

ADOSSIER

Folders table

Other tables are open depending on the call context.