Table

TaxDocumentAttribute

Tax document attribute table

Holds attribute values on a tax document row. Each record links a document, a row and a model attribute version. The value is stored as a container or as a real, date or string.

Table name
TaxDocumentAttribute
Module
Cross-module and platform
Table group
TransactionLine
Table type
Regular
Data per company
No
Configuration key
None
Primary index
None
Replacement key
IdIdx
Key fields
TaxDocumentRow, TaxRuntimeDocModelAttrVersion
Model
TaxEngine

Fields (12)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
TaxDocumentRowSystem record ID of the tax document row.Int64
RefRecId
NoTaxDocumentRow.RecIdNone
TaxRuntimeDocModelAttrVersionSystem record ID of the model attribute version.Int64
RefRecId
NoTaxRuntimeDocModelAttrVersion.RecIdNone
DateValueAttribute value when it is a date.Date
TaxDocumentAttributeValueDate
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RealValueAttribute value when it is a number.Real
TaxDocumentAttributeValueReal
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
StringValueAttribute value when it is text.String (60)
TaxDocumentAttributeValueString
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxDocumentSystem record ID of the tax document.Int64
RefRecId
NoTaxDocument.RecIdNone
TypeData type of the attribute value, such as string, date or integer.Enum
ERDataItemType (enum)
NoNone
ValueAttribute value held in a container.Container
TaxDocumentAttributeValueContainer
NoNone

Indexes (3)

Relations (3)

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

  • TaxDocumentRowVersion → TaxDocumentRow

    Join on TaxDocumentRow = TaxDocumentRow.RecId

    Many TaxDocumentAttribute records → exactly one TaxDocumentRow record

  • TaxDocument → TaxDocument

    Join on TaxDocument = TaxDocument.RecId

    Many TaxDocumentAttribute records → exactly one TaxDocument record

  • TaxRuntimeDocModelAttrVersion → TaxRuntimeDocModelAttrVersion

    Join on TaxRuntimeDocModelAttrVersion = TaxRuntimeDocModelAttrVersion.RecId

    Many TaxDocumentAttribute records → exactly one TaxRuntimeDocModelAttrVersion record

Get this data out

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

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

Email sales@drdynamics.co.uk