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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DocContextVersionPoints to the tax runtime document context version that this record belongs to.Int64
TaxRuntimeDefContextVersionRecId
NoTaxRuntimeDocContextVersion.RecIdNone
TaxRuntimeDocTaxTypePoints to the document tax type that this version describes.Int64
RefRecId
YesTaxRuntimeDocTaxType.RecIdNone
DescriptionFree-text description of this version.String (255)
Description255
NoNone
LabelID of the label used to show the tax type name.String (360)
ERLabelBaseId
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
RoundingToRounding rule value for the tax amount.Real
TaxDocumentRoundingTo
NoNone
RoundingTypeRounding method for the tax amount: normal, downward or rounding-up.Enum
TaxDocumentRoundingType (enum)
NoNone
SettlementRoundingToRounding rule value used for settlement.Real
TaxDocumentRoundingTo
NoNone
SettlementRoundingTypeRounding method used for settlement: normal, downward or rounding-up.Enum
TaxDocumentRoundingType (enum)
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
TaxRuntimeDocModelRowVersionPoints to the tax model row version linked to this tax type version.Int64
RefRecId
NoTaxRuntimeDocModelRowVersion.RecIdNone
TaxRuntimeTaxTypeVersionPoints to the tax runtime definition tax type version that this record refers to.Int64
RefRecId
YesTaxRuntimeTaxTypeVersion.RecIdNone

Indexes (1)

Relations (4)

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

  • TaxRuntimeDocTaxType → TaxRuntimeDocTaxType

    Join on TaxRuntimeDocTaxType = TaxRuntimeDocTaxType.RecId

    Many TaxRuntimeDocTaxTypeVersion records → exactly one TaxRuntimeDocTaxType record

  • TaxRuntimeDocContextVersion → TaxRuntimeDocContextVersion

    Join on DocContextVersion = TaxRuntimeDocContextVersion.RecId

    Many TaxRuntimeDocTaxTypeVersion records → exactly one TaxRuntimeDocContextVersion record

  • TaxRuntimeTaxTypeVersion → TaxRuntimeTaxTypeVersion

    Join on TaxRuntimeTaxTypeVersion = TaxRuntimeTaxTypeVersion.RecId

    One or more TaxRuntimeDocTaxTypeVersion records → exactly one TaxRuntimeTaxTypeVersion record

  • TaxRuntimeDocModelRowVersion → TaxRuntimeDocModelRowVersion

    Join on TaxRuntimeDocModelRowVersion = TaxRuntimeDocModelRowVersion.RecId

    Many 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.

Email sales@drdynamics.co.uk