Table
TaxRuntimeDocTaxTypeVersion
Tax runtime document tax type version
Holds the version of a document tax type in a context version. It stores rounding rules for the tax and for settlement. The key is the context version plus the tax type. It also links to the definition tax type version and a model row version.
- Table name
TaxRuntimeDocTaxTypeVersion- Module
Cross-module and platform- Table group
Miscellaneous- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
TaxTypeIdx- Key fields
DocContextVersion, TaxRuntimeDocTaxType- Model
TaxEngine
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DocContextVersionPoints to the tax runtime document context version that this record belongs to. | Int64TaxRuntimeDefContextVersionRecId | No | TaxRuntimeDocContextVersion.RecId | None |
TaxRuntimeDocTaxTypePoints to the document tax type that this version describes. | Int64RefRecId | Yes | TaxRuntimeDocTaxType.RecId | None |
DescriptionFree-text description of this version. | String (255)Description255 | No | None | |
LabelID of the label used to show the tax type name. | String (360)ERLabelBaseId | 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 | |
RoundingToRounding rule value for the tax amount. | RealTaxDocumentRoundingTo | No | None | |
RoundingTypeRounding method for the tax amount: normal, downward or rounding-up. | EnumTaxDocumentRoundingType (enum) | No | None | |
SettlementRoundingToRounding rule value used for settlement. | RealTaxDocumentRoundingTo | No | None | |
SettlementRoundingTypeRounding method used for settlement: normal, downward or rounding-up. | EnumTaxDocumentRoundingType (enum) | 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 | |
TaxRuntimeDocModelRowVersionPoints to the tax model row version linked to this tax type version. | Int64RefRecId | No | TaxRuntimeDocModelRowVersion.RecId | None |
TaxRuntimeTaxTypeVersionPoints to the tax runtime definition tax type version that this record refers to. | Int64RefRecId | Yes | TaxRuntimeTaxTypeVersion.RecId | None |
Indexes (1)
TaxTypeIdxReplacement keyDocContextVersion,TaxRuntimeDocTaxTypeUnique, alternate key.
Relations (4)
Each relation joins TaxRuntimeDocTaxTypeVersion to another table on the fields shown.
TaxRuntimeDocTaxType→TaxRuntimeDocTaxTypeJoin on
TaxRuntimeDocTaxType = TaxRuntimeDocTaxType.RecIdMany TaxRuntimeDocTaxTypeVersion records → exactly one TaxRuntimeDocTaxType record
TaxRuntimeDocContextVersion→TaxRuntimeDocContextVersionJoin on
DocContextVersion = TaxRuntimeDocContextVersion.RecIdMany TaxRuntimeDocTaxTypeVersion records → exactly one TaxRuntimeDocContextVersion record
TaxRuntimeTaxTypeVersion→TaxRuntimeTaxTypeVersionJoin on
TaxRuntimeTaxTypeVersion = TaxRuntimeTaxTypeVersion.RecIdOne or more TaxRuntimeDocTaxTypeVersion records → exactly one TaxRuntimeTaxTypeVersion record
TaxRuntimeDocModelRowVersion→TaxRuntimeDocModelRowVersionJoin on
TaxRuntimeDocModelRowVersion = TaxRuntimeDocModelRowVersion.RecIdMany TaxRuntimeDocTaxTypeVersion records → exactly one TaxRuntimeDocModelRowVersion record
Get this data out
No public entity reads from TaxRuntimeDocTaxTypeVersion. Its data is only reachable through the application, a custom entity or a database export.
Need help with TaxRuntimeDocTaxTypeVersion in a report, an integration or a migration? Talk to Dr Dynamics.