Table

TmpTaxDocumentTaxDetails Temporary

Tax documents

Purpose not clear from the metadata.

Table name
TmpTaxDocumentTaxDetails
Module
Cross-module and platform
Table group
Miscellaneous
Table type
TempDB
Data per company
No
Configuration key
None
Primary index
None
Replacement key
IdIdx
Key fields
TaxDocumentRow, TaxRuntimeDocComponentVersion, TaxRuntimeDocTaxTypeVersion, SourceRecId, SourceTableId
Model
TaxEngine

Fields (20)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxDocumentRowNo descriptionInt64
RefRecId
NoTaxDocumentRow.RecIdNone
TaxRuntimeDocComponentVersionNo descriptionInt64
RefRecId
NoTaxRuntimeDocComponentVersion.RecIdNone
TaxRuntimeDocTaxTypeVersionNo descriptionInt64
RefRecId
NoTaxRuntimeDocTaxTypeVersion.RecIdNone
SourceRecIdNo descriptionInt64
RefRecId
NoNone
SourceTableIdNo descriptionInteger
RefTableId
NoNone
LeftIdNo descriptionInteger
TaxRuntimeLeftRightId
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
RightIdNo descriptionInteger
TaxRuntimeLeftRightId
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxDocumentRowGUIDNo descriptionGuid
ERGUID
NoNone
TaxMeasureNo descriptionReal
TaxDocumentTaxMeasure
NoNone
TaxMeasure_AccCurNo descriptionReal
TaxDocumentTaxMeasure
NoNone
TaxMeasure_AdjNo descriptionReal
TaxDocumentTaxMeasure
NoNone
TaxMeasure_AdjAccCurNo descriptionReal
TaxDocumentTaxMeasure
NoNone
TaxMeasure_OriAccCurNo descriptionReal
TaxDocumentTaxMeasure
NoNone
TaxMeasure_TransNo descriptionReal
TaxDocumentTaxMeasure
NoNone
TaxRuntimeTaxTypeNo descriptionInt64
RefRecId
NoTaxRuntimeTaxType.RecIdNone
TaxStringMeasureNo descriptionString (60)
TaxDocumentTaxStringMeasure
NoNone

Indexes (2)

Relations (4)

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

  • TaxDocumentRow → TaxDocumentRow

    Join on TaxDocumentRow = TaxDocumentRow.RecId

    Many TmpTaxDocumentTaxDetails records → zero or one TaxDocumentRow record

  • TaxRuntimeDocComponentVersion → TaxRuntimeDocComponentVersion

    Join on TaxRuntimeDocComponentVersion = TaxRuntimeDocComponentVersion.RecId

    Many TmpTaxDocumentTaxDetails records → zero or one TaxRuntimeDocComponentVersion record

  • TaxRuntimeDocTaxTypeVersion → TaxRuntimeDocTaxTypeVersion

    Join on TaxRuntimeDocTaxTypeVersion = TaxRuntimeDocTaxTypeVersion.RecId

    Many TmpTaxDocumentTaxDetails records → exactly one TaxRuntimeDocTaxTypeVersion record

  • TaxRuntimeTaxType → TaxRuntimeTaxType

    Join on TaxRuntimeTaxType = TaxRuntimeTaxType.RecId

    Many TmpTaxDocumentTaxDetails records → exactly one TaxRuntimeTaxType record

Get this data out

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

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

Email sales@drdynamics.co.uk