Entry points > Module Geode GX > Standard script SUBAJMA 

AJMAAVERT: Modification of the response to the Warn dialog

This entry point is used to modify the response to the Warn dialog on fields

SKN: Stock nature

ITMORI: Origin

RSA: Reservation number

LOT: Lot number.

of OAJM screen

Context and operating method

This entry point is called when checking fields

SKN: Stock nature

ITMORI: Origin

RSA: Reservation number

LOT: Lot number

of OAJM screen.

Transaction

There is no transaction in progress.

Use

This entry point is used to modify the IREPONSE value.

The IREPONSE variable is tested after this entry point.

If IREPONSE=1, same as the processing when clicking on the Warn dialog box.

If IREPONSE=2, same as the processing when clicking on OK in the dialog box.

Available tables and variables

The TRTZONE variable will specify the field that is being checked.

The INUMMESS variable will specify the message number.

The INUMCHAP variable will specify the message chapter.

The fields in the OAJM window can be accessed.