CRITERE_ODPAYVAL: Adding criteria to the filters of the ODPAY and ODPAYE tables.

Use this entry point to add specific criteria to the list of predefined ones and modify the selection of the Miscellaneous Operations to be validated.

Context and operating mode

Call context

This entry point is called when validating the Miscellaneous Operations, after entering the criteria in the MO selection window, and before applying the filter to the MO.


Available variables

The CRITERE variable contains the standard criteria applied to the filter of table ODPAY, [F:TB1].


The CRIT variable contains the standard criteria applied to the filter of table ODPAYE, [F:TB0].


The new CRITERE2 variable has been created to include the specific criteria (default value: '1 = 1') and to modify the [F:TB1] filter applied to the ODPAY table.


The new CRIT2 variable has been created to include the specific criteria (default value: '1 = 1') and to modify the [F:TB0] filter applied to the ODPAYE table.


Available masks

Class [M] on line:

ODPAYVAL [DIA]

Open tables
ODPAY [TB1]
ODPAY [ODP1]
ODPAYA [ODA]
ODPAYE [TB0]
VALEMP [VEP]