Table

TaxDocumentComponentMeasure

Tax document component measure

Holds one measure (a value) for a line of a tax document component. Each record links to a tax document, a component line and a runtime measure version. It stores the value in its original form and as amounts in two currencies.

Table name
TaxDocumentComponentMeasure
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
TaxEngine

Fields (11)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
AmountAccCurAmount of the measure, labelled as being in the transaction currency.Real
TaxDocumentAccCurAmount
NoNone
AmountTransCurMeasure amount in the transaction currency, judging by the field name.Real
TaxDocumentTransAmount
NoNone
CurrencyCodeCurrency code linked to the measure amounts.String (3)
CurrencyCode
NoNone
OriginalValueThe measure value in its original form, before any currency split.Real
TaxDocumentOriginalValue
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxDocumentPoints to the tax document that holds this record.Int64
RefRecId
NoTaxDocument.RecIdNone
TaxDocumentComponentLinePoints to the tax document component line that this measure belongs to.Int64
RefRecId
NoTaxDocumentComponentLine.RecIdNone
TaxRuntimeDocComponentMeasureVersionPoints to the runtime version of the tax component measure.Int64
RefRecId
NoTaxRuntimeDocComponentMeasureVersion.RecIdNone

Indexes (2)

Relations (3)

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

  • TaxDocumentComponentLine → TaxDocumentComponentLine

    Join on TaxDocumentComponentLine = TaxDocumentComponentLine.RecId

    Many TaxDocumentComponentMeasure records → exactly one TaxDocumentComponentLine record

  • TaxDocument → TaxDocument

    Join on TaxDocument = TaxDocument.RecId

    Many TaxDocumentComponentMeasure records → exactly one TaxDocument record

  • TaxRuntimeDocComponentMeasureVersion → TaxRuntimeDocComponentMeasureVersion

    Join on TaxRuntimeDocComponentMeasureVersion = TaxRuntimeDocComponentMeasureVersion.RecId

    Many TaxDocumentComponentMeasure records → exactly one TaxRuntimeDocComponentMeasureVersion record

Get this data out

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

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

Email sales@drdynamics.co.uk