CRITERE: Additional payments filter

This entry point is used to complete the filter for payments defined according to the selection criteria specified in the mask for remittance generation.

Context and operating mode

Transaction

There is no transaction in progress

Log file

There is no open log file

Call case

The entry point is called just after the assignment of the [L]CRITERE variable and before the "Filter" instruction on the PAYMENTH table. This filter is used to retain the payments that must be taken into account by the program based on the selection criteria that have been entered.

Available variables and masks

The [L]CRITERE variable contains the selection criterion calculated by the standard program. The [L]CRITSUP variable (extension of the CRITERE variable) is available in order to complete the filter for payments. This is the variable that must be completed.

Open tables

No table contains significant content.

CRITERE2: Additional payments filter

This entry point is used to complete the filter for payments defined according to the selection criteria specified in the mask for remittance generation.

Context and operating mode

Transaction

There is no transaction in progress

Log file

There is no open log file

Call case

The entry point is called just after the assignment of the [L]CRITERE variable and before the "Filter" instruction on the PAYMENTH table. This filter is used to retain the payments matching the selection criteria that can be grouped on a single remittance note.

Available variables and masks

The [L]CRITERE variable contains the selection criterion calculated by the standard program. The [L]CRITSUP variable (extension of the CRITERE variable) is available in order to complete the filter for payments. This is the variable that must be completed.

Open tables

The TABPAYTYP, PAYMENTH and BANK tables are on line and their contents are significant.

PYH: Payment update

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, it is the only one with significant content.

FRMGNR: Generation of single-date open item slips

This entry point is used to generate single-date open item slips. It can therefore be used to generate as many remittances as there are payments associated with different open item dates.

This is already the case in standard processing for the payment transactions of 'SEPA' type. This entry point is used to obtain the same behavior regardless of the payment transaction. 

Context and operating mode

Transaction

There is no transaction in progress

Log file

There is no open log file

Call case

The entry point is called after the filter is applied to the payment table (open under the [PYH2] abbreviation) and right after the first interruption on the payment transactions to be processed. 

Available variables and masks

The [L]NIVECH variable is used to define whether single-date open item slips should be generated. If this variable is set to 2, the program will generate as many remittances as there are different dates of open item payments. All the payments with the same open item date are grouped in the same remittance note.

This variable is set to 2 for transactions of 'SEPA' type in order to resolve issues with the execution date (corresponding to the payment due date) that is mandatory and unique for the SEPA files that are to be generated. 

This variable must be set to 2 for the payment transactions that should display this behavior.

Open tables

The TABPAYTYP table is on line and contains the payment transaction being processed.

AFTCREFRM: After remittance creation

This entry point is used to take control right after the transaction for remittance creation.

Context and operating method

Transaction

There is no transaction in progress

Log file

There is an open log file

Call case

This entry point is called right after the transaction for remittance creation.

Available variables and masks

The [L]CRITERE, [L]CRITERE1 and [L]CRITERE2 variables contain the selection criteria calculated by the standard program for the filter used for payments.

Open tables

The TABPAYTYP and BANK tables are on line and their contents are significant.