FILTER: Additional filter on the documents for the declared VAT

This entry point is used to add an additional filter on the documents for the declared VAT.

Context and operating mode

Transaction

There is no transaction in progress.

Log file

There is no open log file

Different call cases

This entry point intervenes when creating the accounting document selection filters.

The FILTSPE variable with a length of 255 is to be initialized with the selection criteria in the tables GACCENTRY [HAE] or GACCENTRYD [DAE].

Available variables and masks

Variable or mask

Definition 

 VATDCL  [DIA] 

 Mask for the criteria

Char FILTSPE(255)  Additional criteria

Open tables

In the table below, the significant content flag indicates that the content matches the context (…).

Table

Significant content

Table Title

GACCENTRY NO  Accounting documents (header)
GACCENTRYD NO  Accounting documents (lines)
COMPANY NO  Companies
FACILTY NON  Sites
FISCALYEAR NO  Accounting fiscal years
PERIOD  NO  Accounting periods
GJOURNAL NO  Accounting journals
GTYPACCENT NO  Entry type
AUTILIS NO  Users

UPDDAE: Specific/custom updates for the declared VAT postings

This entry point is used to carryout other processes on the VAT postings.

Context and operating mode

Transaction

There is one transaction in progress.

Log file

There is no open log file

Different call cases

Following the saving of the declared VAT, the entry point is called for each VAT document line. The line is represented by the index NOL from the VATSAI screen (Example : [M:VAT]NUM(NOL) is the number for the declared VAT document). 

Available variables and masks

Variable or mask

Definition 

 VATDCL  [DIA] 

 Mask for the criteria

 VATSAI [VAT]  Mask for the declared VAT
 NOL   Variable indicating the index of the processed line

Open tables

In the table below, the significant content flag indicates that the content matches the context (…).

Table

Significant content

Table Title

GACCENTRYD YES if modified VAT  Accounting documents (lines)
GACCENTRY NO  Accounting documents (header)
COMPANY NO  Companies
FACILTY NO  Sites
FISCALYEAR NO  Accounting fiscal years
PERIOD  NO  Accounting periods
GJOURNAL NO  Accounting journals
GTYPACCENT NO  Entry type
AUTILIS NO  Users