This FILTER1 entry point is used to complete the standard filter made on the document line table in order to take into account the entries in the VAT declaration on collection program.
There is no transaction in progress.
There is an open log file.
This entry point is called at the start of the transaction in the VAT declaration on collection processing for a company.
Available variables and masksThe DCLVATFRA mask is available and contains the release parameters of the function.
The OPTPAY local variable contains the value of the DCLOPTPAY parameter.
The COMPANY [CPY] and TABCUR [TCU] tables are open and contain the company being processed as well as the currency of the main general ledger.
This entry point is used to insert additional logic just before the write to the temporary DCLVATBOXH table in order to modify the value of certain fields in the table or to initialize specific/custom fields that have been added.
The DCLVATBOXH table is used by the VAT declaration on collection report.
There is no transaction in progress.
There is an open log file.
This entry point is called right before the write or the rewrite to the temporary table DCLVATBOXH [DLVB]. The DLVB_UW variable is initialized to "W" or "U" depending on whether it is a write or rewrite operation.
The DCLVATFRA mask is available and contains the release parameters of the function.
Table | Significant content | Table title |
COMPANY | X | Companies |
TABCUR | X | Currency table |
FACILITY | X | Sites |
DCLVATBOXH | X | Temporary VAT declaration on collection table |
The FILTRE3 entry point is used to complete the standard filter made on the document line table in order to take into account the unmatched postings in the VAT declaration on collection program.
There is no transaction in progress.
There is an open log file.
This entry point is called at the end of a company's VAT declaration on collection processing in order to process the unmatched postings.
Available variables and masksThe DCLVATFRA mask is available and contains the release parameters of the function.
The OPTPAY local variable contains the value of the DCLOPTPAY parameter.
The COMPANY [CPY] and TABCUR [TCU] tables are open and contain the company being processed as well as the currency of the main general ledger.