Entry points > Module Supervisor > Standard script EXEFNC 

FONCTION

This entry point is placed before the execution of a function called from a menu or another process. It is possible as a function of the context to prohibit the execution of this function.

Context and operating mode

The following tables are on line :

Table

Significant content

Table description

AFONCTION [AFC]

Yes

Function dictionary

This entry point is placed in the sub-programme EXEFNC of the process EXEFNC, before the call to the process associated with a function and just after the read of the table AFONCTION.

All global variables concerning the user and the function are available (GUSER, GFONCTION).
The GPE variable different from zero is used to stop the function from being executed.

AUTORIS

This entry point is placed before the execution of a function called from a menu or another process. (GOBJET/GCONSULT/etc.). It is possible as a function of the context to prohibit the execution of this function.

Context and operating mode

The following tables are on line :

Table

Significant content

Table description

AFONCTION [AFC]

Yes

Function dictionary

This entry point is placed at the end of sub-program AUTORIS of process EXEFNC, before the call to the process associated with a function and just after the read of the table AFONCTION.

All global variables concerning the user and the function are available (GUSER, GFONCTION).
The GUSRAUZ variable different from zero is used to stop the function from being executed.