Use this entry point to load specific fields or to modify the value of certain fields when recording a remittance.
There is one transaction in progress.
There is an open log file.
The entry point is called when creating and modifying the remittance, at each re-entry of the PYH table.
The PAYMENTH table is on line, this is the only one with significant content.
The FRM0 [FRM0] and FRM1 [FRM1] remittance entry screen are on line.
Use this entry point to intervene on the specific buttons at the screen bottom and in particular, the Bank file generation button.
There is no transaction in progress.
There is no open log file.
The entry point is called at each button or menu event generated by the user (First, Next…, Create, Save,… load a new remittance record, etc.), via the SETBOUT action.
In this entry point, the [L]GENFIC variable, of Integer type, is used to manage the Bank file button. If it is set to 0, the button will be deactivated. Otherwise, it is activated. By default, the GENFIC variable is set to 1.
The TABPAYTYP table is on line, it is the only one with significant content.
The FRM0 [FRM0] and FRM1 [FRM1] remittance entry screen are on line.
Use this entry point to personalize the bank file generation directory (GDIRBQE variable).
There is no transaction in progress.
There is no open log file.
The entry point is called when generating the bank file.
The GDIRBQE variable can be modified. Warning: it contains the relative path, in other word a sub-directory of the folder (ex: GDIRBQE contains 'BQE' for a file generated under /adonix/v120/DEMO/BQE).
This variable is saved before the entry point is called. It is restored when generating the file.
The TABPAYTYP table is on line, its content is significant.
The FRM0 [FRM0] and FRM1 [FRM1] remittance entry screen are on line.
Use this entry point to ensure the proper button and menu item management from specific and vertical layers in the Manual remittances function. This applies specifically to the Payment and Approve buttons.
Conditions for button and menu item management placed in this entry point should align with the ones in the SPE and SPVscripts of the SETBOUT action.
After this is called from a Subprog context, buttons and menu items are not recognized with their letter code, such as “V” for the Post button, but with their numerical values, such as 1801 for the Post button, and they should be managed directly with the Enable/Disable command.There are 4 global variables already assigned to buttons and menu items that can be used:
[V]POST_BUTTON
[V]BANK_FILE_BUTTON
[V]APPROVE_ALL_BUTTON
[V]REMOVE_UNAPPROVED_BUTTON
All the others must be managed by their number code or assigned variables and must be declared in the script called by the entry point.
For example, if you want to disable the Post button, do not use the standard command:
Call VIREBOUT(CHAINE,"V") From GOBJET
Use this command:
Disable [V]POST_BUTTON