Entry points >  Module Financials >  Standard script VATSAI  

Display all Hide all

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

GACCENTRYNO Accounting documents (header)
GACCENTRYDNO Accounting documents (lines)
COMPANYNO Companies
FACILTYNON Sites
FISCALYEAR NO  Accounting fiscal years
PERIOD  NO  Accounting periods
GJOURNALNO Accounting journals
GTYPACCENTNO Entry type
AUTILISNO 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

GACCENTRYDYES if modified VAT Accounting documents (lines)
GACCENTRYNO Accounting documents (header)
COMPANYNO Companies
FACILTYNO Sites
FISCALYEAR NO  Accounting fiscal years
PERIOD  NO  Accounting periods
GJOURNALNO Accounting journals
GTYPACCENTNO Entry type
AUTILISNO Users