Table

CzTaxDocumentTrans

Tax document lines

Lines of a tax document. The key is the header, the tax type and the tax value, so amounts are held for each tax type and value. Each line links to the tax document header.

Table name
CzTaxDocumentTrans
Module
Tax
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
CzCustVendAdvanceInvoices
Primary index
HeaderRecIdIdx
Replacement key
None
Key fields
HeaderRecId, VATType, VATValue
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
HeaderRecIdLink to the tax document header.Int64
CzTaxDocumentTableRefRecId
NoCzTaxDocumentTable.RecIdNone
VATTypeType of tax, such as standard VAT, reduced VAT or excise.Enum
TaxType_W (enum)
NoTaxDocumentEntity
VATValueTax value for the line.Real
TaxValue
NoTaxDocumentEntity
AmountCurAmount in the transaction currency.Real
AmountCur
NoTaxDocumentEntity
AmountMSTAmount in the company currency.Real
AmountMST
NoTaxDocumentEntity
CurrencyCodeCurrency code of the line.String (3)
CurrencyCode
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VATAmountCurTax amount in the transaction currency.Real
CzTaxAmountCur
NoTaxDocumentEntity
VATAmountMSTTax amount on the line, in accounting currency.Real
CzTaxAmountMST
NoTaxDocumentEntity

Indexes (1)

Relations (1)

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

  • CzTaxDocumentTable → CzTaxDocumentTable

    Join on HeaderRecId = CzTaxDocumentTable.RecId

    Many CzTaxDocumentTrans records → exactly one CzTaxDocumentTable record

Get this data out

Tables are not exposed directly. These public entities read from CzTaxDocumentTrans; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk