Entry points >  Module A/P-A/R accounting >  Standard script SUBFRM  

Display all Hide all

PYH: Payment entry

Use this entry point to load specific fields or to modify the value of certain fields when recording a remittance.

Context and operating mode

Transaction

There is one transaction in progress.

Log file

There is an open log file.

Different call cases

The entry point is called when creating and modifying the remittance, at each re-entry of the PYH table.

Available variables and masks

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.

BUTTON: Bank file button management

Use this entry point to intervene on the specific buttons at the screen bottom and in particular, the Bank file generation button.

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases

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.

Available variables and masks

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.

FICBAN: Personalization of the directory for the bank file generation

Use this entry point to personalize the bank file generation directory (GDIRBQE variable).

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file.

Different call cases

The entry point is called when generating the bank file.

Available variables and masks

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.