Table

ExportSalesInvoiceDomesticTaxVoucher

Export sales invoice domestic sales tax voucher

Holds voucher and journal details for the domestic sales tax side of an export sales invoice. Each row points to an export sales invoice and shows whether it is posted. It is switched on by the basic sales tax configuration key.

Table name
ExportSalesInvoiceDomesticTaxVoucher
Module
Tax
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
LedgerBasicSalesTax
Primary index
None
Replacement key
None
Key fields
None
Model
Foundation

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ExportSalesInvoicePoints to the export sales invoice.Int64
RefRecId
YesExportSalesInvoice.RecIdNone
IsPostedYes/No flag. The label is empty, so the exact meaning is inferred from the name: whether the voucher is posted.Enum
NoYes (enum)
NoNone
JournalNumberJournal batch number linked to the voucher.String (20)
LedgerJournalId
YesNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PostingDateDate of the posting.Date
TransDate
YesNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReferenceDomesticSalesTaxVoucherPoints to a domestic sales tax voucher record for the export sales invoice.Int64
RefRecId
NoExportSalesInvoiceDomesticTaxVoucher.RecIdNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VoucherVoucher number.String (20)
PlVoucher
YesNone

Indexes (3)

Relations (2)

Each relation joins ExportSalesInvoiceDomesticTaxVoucher to another table on the fields shown.

  • ExportSalesInvoice → ExportSalesInvoice

    Join on ExportSalesInvoice = ExportSalesInvoice.RecId

    Many ExportSalesInvoiceDomesticTaxVoucher records → exactly one ExportSalesInvoice record

  • ReferenceDomesticSalesTaxGroup → ExportSalesInvoiceDomesticTaxVoucher

    Join on ReferenceDomesticSalesTaxVoucher = ExportSalesInvoiceDomesticTaxVoucher.RecId

    Exactly one ExportSalesInvoiceDomesticTaxVoucher record → zero or one ExportSalesInvoiceDomesticTaxVoucher record

Get this data out

No public entity reads from ExportSalesInvoiceDomesticTaxVoucher. Its data is only reachable through the application, a custom entity or a database export.

Need help with ExportSalesInvoiceDomesticTaxVoucher in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk