FILTER_DCLEEC: Additional filter on the accounting entries

This entry point is used to take over before the generation of the statement in order to filter the entries to be taken into account.

Context and operating method

Transaction

There is one transaction in progress


Log file

There may be an open log file depending on the launching criterion.


Different call cases

The "FILTER_DCLEEC" entry point is set just before the loop on the accounting entries.

Available variables and masks

The [L]SPE_CRITERE variable is used to enter the selection criterion. The condition is evaluated in the loop on the accounting entries.

The DCLEECVATBEL mask is available and contains the release parameters of the function.

Variable or mask

Definition

 DCLEECVATBEL  [DIA] mask

EU VAT statement

SPE_CRITERE (250)

Additional selection criterion

 

Open tables

Only tables with a significant content in the context are listed.

Table

Significant content

Table title

GACCENTRYD [DAE]

Yes

Accounting entry lines

GACCENTRY [HAE]

Yes

Accounting entry header

GACCOUNT [GAC]

Yes

Accounts

SINVOICE [SIH]

 Yes

Sales invoice or BP