Script CALVATPORP : X3 connection properties
ROOTALT: specify an additional account for field 7 in Portuguese VAT declaration
The entry point ROOTALT in the process CALVATPORP allows you to specify an additional account to be considered for the field 7 in the Portuguese VAT declaration (GESDVPHP). Typically, this is defined in GESDVPP in the SALGOOROT field. However, it is possible to consider an additional account by using this entry point.
Context and operating mode
When the entry point is called, the variable [L]ROOTALT is available and it is empty. If the variable is used (not empty), it is taken into consideration when processing journal entries. Note: The entry point itself is not enough. The account should have the correct setup to be compatible with field 7.
This entry point is placed before any filter is applied over the GACCENTRY table [F:HAE]. At the moment this entry point is called, there is one transaction in progress.