Process BANAFFA: Bank Allocation
FILTER: Additional filter on the payments
This entry point is used to add an additional filter to the payments to be selected in the Bank allocation function. It re-uses the entry point FILTRE from the BANAFFM process.
Context and operating method
Transaction
There is no transaction in progress.
Log file
In the function Bank allocation, a log file is open.
Different call cases
This entry point intervenes at the moment of constructing the payment selection filters, before the update transaction.
Available variables and masks
The variable to be used in the two functions is the variable [L]FILTSPE, length 255.
The BANAFFA and BANAFFM masks are available in the Bank allocation and Bank entry functions respectively.
Variable or mask |
Definition |
BANAFFA, BANAFFM |
Criteria masks |
Char FILTSPE(255) |
Entry of the selection criteria |
Open tables
Table |
Significant content |
Table Title |
PAYMENTH |
|
Payment header |
PAYMENTD |
|
Payment lines |
TABPAYTYP |
|
Payment transactions |
BANK |
|
Bank account |
COMPANY |
|
Company |
FACILITY |
|
Sites |
TABCUR |
|
Currencies |
GACCDUDATE |
|
Open items |
TRTDATB: Additions to the payment header after allocation
This entry point is used to carry out the additional processes in the payment header, for each of the payments to which a bank account has been assigned by the process.
Context and operating method
Transaction
There is one transaction in progress.
Log file
There is an open log file.
Different call cases
This entry point intervenes after the loading of the bank account assigned by the process in the class [F:PYH] and before the re-writing of the payment header in the table.
Available variables and masks
The BANAFFA is available.
Variable or mask |
Definition |
BANAFFA [DIA] |
Criteria mask |
Open tables
The transaction and as well as the bank account assigned to the payment during the process are available in the classes [TPY] and [BAN].
The payment header being processed is available in the class [PYH].
Table |
Significant content |
Table Title |
COMPANY [CPY] |
|
Companies |
FACILITY [FCY] |
|
Sites |
TABPAYTYP [TPY] |
|
Payment transactions |
ACCES [ACC] |
|
Access by user |
GRPCUR [GCU] |
|
Currency groups |
TABCUR [TCU] |
|
Currencies |
PAYLOT [PYL] |
|
Entry lots |
POOL [POO] |
|
Bank pools |
BANK [BAN] |
|
Bank accounts |
PAYMENTH [PYH] |
|
Payment header |
PAYMENTH [PYH2] |
|
Payment header |
PAYMENTD [PYD] |
|
Payment lines |
PINVOICE [PIH] |
|
Purchase invoices |
PERIOD [PER] |
|
Periods |
GACCOUNT [GAC] |
|
General ledger accounts |
BALANCE [BAL] |
|
General balance |
GRPSAC [GSC] |
|
Collective account groups |
RELBANK [RBK] |
|
Bank account statements |
GACCENTRYD [DAE] |
|
Accounting documents lines |
GACCENTRY [HAE] |
|
Accounting documents |
GACCDUDATE [DUD] |
|
Open items |
FISCALYEAR [FIY] |
|
Accouting financial |