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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
TaxDocumentRowSystem record ID of the tax document row. | Int64RefRecId | No | TaxDocumentRow.RecId | None |
TaxRuntimeDocModelAttrVersionSystem record ID of the model attribute version. | Int64RefRecId | No | TaxRuntimeDocModelAttrVersion.RecId | None |
DateValueAttribute value when it is a date. | DateTaxDocumentAttributeValueDate | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RealValueAttribute value when it is a number. | RealTaxDocumentAttributeValueReal | 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 | |
StringValueAttribute value when it is text. | String (60)TaxDocumentAttributeValueString | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxDocumentSystem record ID of the tax document. | Int64RefRecId | No | TaxDocument.RecId | None |
TypeData type of the attribute value, such as string, date or integer. | EnumERDataItemType (enum) | No | None | |
ValueAttribute value held in a container. | ContainerTaxDocumentAttributeValueContainer | No | None |
Indexes (3)
TaxDocumentIdxNot unique.
IdIdxReplacement keyTaxDocumentRow,TaxRuntimeDocModelAttrVersionUnique, alternate key.
TaxRuntimeDocModelAttrVersionIdxNot unique.
Relations (3)
Each relation joins TaxDocumentAttribute to another table on the fields shown.
TaxDocumentRowVersion→TaxDocumentRowJoin on
TaxDocumentRow = TaxDocumentRow.RecIdMany TaxDocumentAttribute records → exactly one TaxDocumentRow record
TaxDocument→TaxDocumentJoin on
TaxDocument = TaxDocument.RecIdMany TaxDocumentAttribute records → exactly one TaxDocument record
TaxRuntimeDocModelAttrVersion→TaxRuntimeDocModelAttrVersionJoin on
TaxRuntimeDocModelAttrVersion = TaxRuntimeDocModelAttrVersion.RecIdMany 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.