The MODDATEVENT entry point can be used to set or change field values when exporting journal entries with the DATEV export function.
No transaction opened.
There is one log file opened.
The entry point is called before writing the required data as a line to the DATEV export file.
The [M:DTE] mask is available.
Variable or mask | Definition |
Mask [M:DTE] | DATEV export |
[L]JOURNALENTRIES(100)(120) | Array containing journal entry data for a line to be exported |
When the entry point is called, all required values for the export of a journal entry line to the DATEV export file are stored in the char array JOURNALENTRIES()(). This array is zero based. It is possible to modify every field of this array. Please be aware that the values must respect the DATEV interface specifications.
$ACTION
Case ACTION
When "MODDATEVENT" : Gosub MODDATEVENT
When Default
Endcase
Return
$MODDATEVENT
#add leading zeros
JOURNALENTRIES(6) = "0000" + JOURNALENTRIES(6)
RETURN
Table | Significant content | Table Title |
COMPANY | Yes | Company |
GTYPACCENT | ||
FACILITY | No | Sites |
GACM | Yes | Account core model |
GLED | Yes | Ledger codes |
FISCALYEAR | No | Fiscal years |
GACCOUNT | Yes | Accounts |
BPARTNER | No | Business partner |
BPCUSTOMER | No | Customers |
BPSUPPLIER | No | Suppliers |
BPADDRESS | No | Addresses |
BID | No | Bank ID statement |
TABCOUNTRY | No | Country table |
GACCENTRYD | Yes | Accountingentry lines |
GACCENTRY | Yes | Accounting entries |
GCOA | Yes | Chart of accounts |
The MODDATEVBP entry point can be used to set or change field values when exporting BP account data with the DATEV export function.
No transaction opened.
There is one log file opened.
The entry point is called before writing the required BP account data as a line to the DATEV export file.
The [M:DTE] mask is available.
Variable or mask | Definition |
Mask [M:DTE] | DATEV export |
[L]BPACCOUNTS(100)(243) | Array containing BP account data for a line to be exported |
When the entry point is called, all required values for the export of a BP account line to the DATEV export file are stored in the char array BPACCOUNTS()(). This array is zero based. It is possible to modify every field of this array. Please be aware that the values must respect the DATEV interface specifications.
$ACTION
Case ACTION
When "MODDATEVBP" : Gosub MODDATEVBP
When Default
Endcase
Return
$MODDATEVBP
#add leading zeros
BPACCOUNTS(0) = "0000" + BPACCOUNTS(0)
RETURN
Table | Significant content | Table Title |
COMPANY | No | Company |
FACILITY | No | Sites |
GACM | No | Account core model |
GLED | No | Ledger codes |
FISCALYEAR | No | Fiscalyears |
GACCOUNT | No | Accounts |
BPARTNER | Yes | Business partner |
BPCUSTOMER | Yes | Customers |
BPSUPPLIER | Yes | Suppliers |
BPADDRESS | Yes | Addresses |
BID | No | Bank IDstatement |
TABCOUNTRY | No | Countrytable |
GACCENTRYD | No | Accounting entry lines |
GACCENTRY | No | Accounting entries |
GCOA | No | Chart of accounts |
The MODDATEVACC entry point can be used to set or change field values when exporting GL account data with the DATEV export function.
No transaction opened.
There is one log file opened.
The entry point is called before writing the required GL account data as a line to the DATEV export file.
The [M:DTE] mask is available.
Variable or mask | Definition |
Mask [M:DTE] | DATEV export |
[L]GLACCOUNTS(40)(3) | Array containing GL account data for a line to be exported |
When the entry point is called, all required values for the export of a GL account line to the DATEV export file are stored in the char array GLACCOUNTS()(). This array is zero based. It is possible to modify every field of this array. Please be aware that the values must respect the DATEV interface specifications.
$ACTION
Case ACTION
When "MODDATEVACC" : Gosub MODDATEVACC
When Default
Endcase
Return
$MODDATEVACC
#add leading zeros
GLACCOUNTS(0) = "0000" + GLACCOUNTS(0)
RETURN
Table | Significant content | Table Title |
COMPANY | No | Company |
FACILITY | No | Sites |
GACM | No | Accountcore model |
GLED | No | Ledgercodes |
FISCALYEAR | No | Fiscalyears |
GACCOUNT | Yes | Accounts |
BPARTNER | No | Businesspartner |
BPCUSTOMER | No | Customers |
BPSUPPLIER | No | Suppliers |
BPADDRESS | No | Addresses |
BID | No | Bank IDstatement |
TABCOUNTRY | No | Countrytable |
GACCENTRYD | No | Accountingentry lines |
GACCENTRY | No | Accountingentries |
GCOA | No | Chart ofaccounts |