Entry points > Module Geode GX > Standard script LOGDIV 

AV_EDTAUT: before launching an automatic report

This entry point is called before launching a report with a process.

It is used to prohibit the latter.

Context and operating method

The print is not launched and the entry point is not called if:

- parameter AUTPRT <> Yes

- the printer is not entered

- in Radio Frequency mode, if the printer is of type Preview.

Position GPE to 1 to prohibit the print.

Transaction

There is no transaction in process upon calling this entry point.

Available variables

ETAT contains the print code

IMPRIMANTE contains the printer code

TBPAR(1..), TBVAL(1..) are the print and value parameters

NOMPRT indicates the process from which the print is launched

OPT shows a ? if the print launch must be confirmed by the user (question)

OPT shows & if the launch must not be followed by a confirmation message

MSG is added to the question before the print (if OPT = ?) or to the post-print message (if OPT<> &).

AP_EDTAUT: after launching an automatic report

This entry point is called after launching a report with a process.

Context and operating method

After this entry point:

-neither GPE nor GOK are tested

-          a print confirmation message is displayed if OPT <> &.

Transaction

There is no transaction in process upon calling this entry point.

Available variables

ETAT contains the print code

IMPRIMANTE contains the printer code

TBPAR(1..), TBVAL(1..) are the print and value parameters

NOMPRT indicates the process from which the print is launched

OPT shows a ? if the print launch must be confirmed by the user (question)

OPT shows & if the launch must not be followed by a confirmation message

MSG is added to the question before the print (if OPT = ?) or to the post-print message (if OPT<> &).