Entry points >  Module Financials >  Standard script GDPDU1  

Display all Hide all

Entry Points

Beginning with January 1, 2002, tax auditors of fiscal authorities in Germany have access to digitally stored records and can request for a copy of prepared statements in digital format. The GDPdU export function exports the whole bundle of information for tax audits.

ADDEXP: Add additional export templates.

Entry Points

Example of usage:

####################################################################
## Usage example of the entry point of the GDPDU1 process
####################################################################
$ACTION
    Case ACTION
        When "ADDEXP" : Gosub ADDEXP
    Endcase
Return

$ADDEXP
    # E. G. Accounts (from original GDPDU export code).
    X3EXPORTTEMPLATE= "GDPDU01"  # Name of the template (see GEXPOBJ function)
    TABLENOPK = 2     # No. of field containing the primary index beginning with 1st field in the export.
    TABLEURL = "GLAccounts.txt"  # Name of the CSV file the export goes.
    TABLENAME = "Accounts"   # Tablename the IDEA software shows after import.
    TABLEDESC = "General Accounts" # Description the IDEA software shows after import
 
    # Now do the export and write the table information in the index.xml file.
    Gosub EXPORTTABLEWITHDESC
Return