Use this entry point to take over every time a bank file is generated, or a bank file is created on the storage space, for example to rename it or trigger its automatic sending. Renaming the file is carried out via a system order. It is not sufficient to just change the name of a variable as is performed in the NOMFIC entry point. For the renaming operation to work, it is necessary to dispose of the modification rights on the storage space.
In the context of the entry point :
There is no transaction in progress.
There is no open log file.
The FICHIER variable contains the name of the generated bank file.
The NUMERO (char) variable contains the number of the corresponding remittance.
The CODE variable contains the parameter code of the bank file.
The BANQUE variable contains the bank code.
Use this entry point to personalize the name of the bank file to generate.
In the context of the entry point :
There is no transaction in progress.
There is no open log file.
The NOM (char 10) variable will contain the name of the bank file to be generated.
The EXT (char 3) variable will contain the file extension.
Use this entry point to take control of each generation of lines of type "Detail" in a bank file.
In the context of the entry point :
There is no transaction in progress.
A log file is open when the processing is called by the function for batch electronic remittances.
The entry point is called just before the generation of the lines of the bank file "Detail" record type.
The FICHIER variable contains the name of the generated bank file.
The NUMERO (char) variable contains the number of the corresponding remittance.
The CODE variable contains the parameter code of the bank file.
The BANQUE variable contains the bank code.
Table | Significant content | Table Title |
PAYMENTH [PYH] | Yes | Payments |
BID [BID] | Yes | Bank ID statement |
Use this entry point to add an extra filter to the payments to take into account when generating the bank file.
In the context of the entry point :
There is no transaction in progress.
There is no open log file.
The CRITSPE (Char 250) variable will contain the specific criteria.
The FICMAG entry screen for the release criteria is available under the [DIA] abbreviation.
Table | Significant content | Table Title |
PAYMENTH [PYH] | No | Payments |
TABPAYTYP [TPY] | No | Payment transaction |
Use this entry point to take over to open other tables and load bank files with additional information.
In the context of the entry point :
There is no transaction in progress.
There is an open log file.
This entry point is called in the ENREG subprogram of the FICMAG script.
Using this entry point, for every record of a bank file line performed, a record of a previously opened table is set.
Variables | Definition |
NUMERO | Payment number |
CODE | Bank file name |
BANQUE | Bank |
TYP | Record type (Local menu no. 656) |
Tables | Significant content | Table Title |
PAYMENTH [PYH] | Yes | Payment header |
PAYMENTD [PYD] | No | Payment lines |
PAYFRM [FRM] | Yes | Payment slips |
TABPAYTYP [TPY] | Yes | Payment transaction |
TABFILBAN [TFB] | Yes | Bank files |
BANK [BAN] | Yes | Banks |
COMPANY [CPY] | Yes | Companies |
FACILITY [FCY] | Yes except when TYP=1 | Sites |
BPARTNER [BPR] | No | BP |
BPCUSTOMER [BPC] | Yes if Revenue payment | Customers |
BPSUPPLIER [BPS] | Yes if Expense payment | Suppliers |
BPADDRESS [BPA] | Yes | Addresses |
TABCUR [TCU] | Yes | Currencies |
GACCOUNT [GAC] | Yes except when TYP=1 | Accounts |
TABCHANGE [TCH] | No | Currency rate |
ATABDIV [ADI] | Yes except when TYP=1 | Miscellaneous tables |
TABCOUNTRY [TCY] | Yes except when TYP=1 | Country table |
SINVOICE [SIH] | Yes except TYP=1 and purchase payment | Sales invoices |
PINVOICE [PIH] | Yes except TYP=1 and sales payment | Purchase invoices |
EDIPAR [EDP] | No | Message setup |
BID [BID] | Yes except when TYP=1 | RIB |
Use this entry point to take over every time a setup formula for a "Detail" type file line is evaluated.
In the context of the entry point :
There is no transaction in progress.
There is an open log file.
This entry point is called in the ENREG subprogram of the FICMAG script.
It is used every time a line of the bank file is recorded to take over after the standard evaluation of the line and before writing the result in the file.
Variables | Definition |
NUMERO | Payment number |
CODE | Bank file name |
BANQUE | Bank |
TYP | Record type (Local menu no. 656) |
RESULT | Evaluated formula result |
Tables | Significant content | Table Title |
TABFILBAN [TFB] | Yes | Bank files |
PAYMENTH [PYH] | Yes | Payment header |
PAYMENTD [PYD] | No | Payment lines |
PAYFRM [FRM] | Yes | Payment advice notes |
TABPAYTYP [TPY] | Yes | Payment transaction |
TABFILBAN [TFB] | Yes | Bank files |
BANK [BAN] | Yes | Banks |
COMPANY [CPY] | Yes | Companies |
FACILITY [FCY] | Yes except when TYP=1 | Sites |
BPARTNER [BPR] | No | BP |
BPCUSTOMER [BPC] | Yes if Revenue payment | Customers |
BPSUPPLIER [BPS] | Yes if Expense payment | Suppliers |
BPADDRESS [BPA] | Yes | Addresses |
TABCUR [TCU] | Yes | Currencies |
GACCOUNT [GAC] | Yes except when TYP=1 | Accounts |
TABCHANGE [TCH] | No | Currency rate |
ATABDIV [ADI] | Yes except when TYP=1 | Miscellaneous tables |
TABCOUNTRY [TCY] | Yes except when TYP=1 | Country table |
SINVOICE [SIH] | Yes except TYP=1 and purchase payment | Sales invoices |
PINVOICE [PIH] | Yes except TYP=1 and sales payment | Purchase invoices |
EDIPAR [EDP] | No | Message setup |
BID [BID] | Yes except when TYP=1 | RIB |
Use this entry point to improve the processing performance by avoiding an open item loading loop.
In the context of the entry point :
There is no transaction in progress.
There is an open log file.
When setting the FLGLOA variable to zero, the script does not execute the loading of open items which saves time. To use this entry point, the setup of the bank file must not be based on the following variables: TFAC, TTIP, NBFAC, TTYP, TDAT, TREF, TIMPORTE, TSNS and the [PIHX] and [HAEX] classes.
Tables | Significant content | Table Title |
PAYMENTH [PYH] | Yes | Payment header |
BPARTNER [BPR] | Yes | BP |
FACILITY [FCY] | Yes | Sites |
TABCUR [TCU] | Yes | Currencies |