FILTER: Additional payments filter

Use this entry point to add an additional filter in the payments to be selected in the Bank entry and Bank allocation functions.

Context and operating mode

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 is used when creating 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 transaction

 BANK

 

 Bank account

 COMPANY

 

 Company

 FACILITY

 

 Sites

 TABCUR

 

 Currencies

 GACCDUDATE

 

 Open items

UPDPYH: Payment update

Use this entry point to take control and update the fields of the payments table (PAYMENTH) in the Bank entry and Bank allocation functions.

Context and operating method

Transaction

There is one transaction in progress.

Log file

In the function Bank allocation, a log file is open.

Different call cases

This entry point is included in the payment update transaction right after initializing the bank code of the PAYMENTH table ([F:PYH]BAN) and before calculating and initializing the bank amount ([F:PYH]AMTBAN).

Available variables and masks

The BANAFFA and BANAFFM masks are available in the Bank allocation and Bank entry functions respectively.

Variable or mask

Definition

 BANAFFA, BANAFFM

 Criteria masks

Open tables

Table

Significant content

Table Title

 PAYMENTH

 

 Payment header 

 PAYMENTD

 

 Payment lines

 TABPAYTYP

 

 Payment transaction

 BANK

 

 Bank account

 COMPANY

 

 Company

 FACILITY

 

 Sites

 TABCUR

 

 Currencies

 GACCDUDATE

 

 Open items