FILTER: Additional filter on the invoices

This entry point is used to add additional selection criteria for the invoices established as a function of the entry.

Context and operating method

Transaction

There is a transaction in process.

Log file

There is an open log file as a function of the entry ([M:DIA]TRACE field)

Different call cases

The entry point is called for each Factor according to the selection criteria (Factors section).

The entry point is called after the standard calculation of the selection criteria ( Criteria and Sales section) and before the instruction "filter" on the table SINVOICE [SIH].

Available variables and masks

The variables [L]CRIT2 & [L]CRIT3 containing the selection criteria calculated by the standard programme (criteria linked to the Criteria and Sales). The variable [L]FILTRE is available. The maximum length of these strings is 255 characters.

The criteria entry screen is accessible using the abbreviation [DIA].

Open tables

Table

Significant content

Table Title

 SINVOICE [SIH]

No

Sales invoices

FACTOR [FCT]

Yes

Factors

COMPANY [CPY]

No

Company

FACILITY

No

Sites

GACCDUDATE

No

Open items