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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
HeaderRecIdLink to the tax document header. | Int64CzTaxDocumentTableRefRecId | No | CzTaxDocumentTable.RecId | None |
VATTypeType of tax, such as standard VAT, reduced VAT or excise. | EnumTaxType_W (enum) | No | TaxDocumentEntity | |
VATValueTax value for the line. | RealTaxValue | No | TaxDocumentEntity | |
AmountCurAmount in the transaction currency. | RealAmountCur | No | TaxDocumentEntity | |
AmountMSTAmount in the company currency. | RealAmountMST | No | TaxDocumentEntity | |
CurrencyCodeCurrency code of the line. | String (3)CurrencyCode | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
VATAmountCurTax amount in the transaction currency. | RealCzTaxAmountCur | No | TaxDocumentEntity | |
VATAmountMSTTax amount on the line, in accounting currency. | RealCzTaxAmountMST | No | TaxDocumentEntity |
Indexes (1)
HeaderRecIdIdxPrimary indexHeaderRecId,VATType,VATValueUnique, alternate key.
Relations (1)
Each relation joins CzTaxDocumentTrans to another table on the fields shown.
CzTaxDocumentTable→CzTaxDocumentTableJoin on
HeaderRecId = CzTaxDocumentTable.RecIdMany 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.
TaxDocumentEntity· 6 fields from this table
Need help with CzTaxDocumentTrans in a report, an integration or a migration? Talk to Dr Dynamics.