Table
TaxDocumentComponentLine
Tax document component line
Holds tax component lines for a tax document row. Each line links to the document, row, component version and posting profile version. It also holds the tax bucket, tax period, exchange rate type and date, and accounting results.
- Table name
TaxDocumentComponentLine- 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 (15)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ComponentLookupAccountingSystem record ID of the accounting lookup result for the component. | Int64RefRecId | No | TaxRuntimeLookupAccountingResult.RecId | None |
ExchangeRateDateDate of the exchange rate. | DateExchangeRateDate | No | None | |
ExchangeRateTypeSystem record ID of the exchange rate type. | Int64RefRecId | No | ExchangeRateType.RecId | None |
HasAccountingYes/No flag showing whether the line has accounting. | EnumNoYesIdNoYes (enum) | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxBucketSystem record ID of the tax bucket node. | Int64TaxBucketId | No | TaxBucketHierarchyTable.RecId | None |
TaxDocumentSystem record ID of the tax document. | Int64RefRecId | Yes | TaxDocument.RecId | None |
TaxDocumentRowSystem record ID of the tax document row. | Int64RefRecId | Yes | TaxDocumentRow.RecId | None |
TaxPeriodIdID of the tax period. | String (15)TaxPeriodId | No | TaxPeriodHeader.TaxPeriodId | None |
TaxRuntimeDocComponentPostingProfileVersionSystem record ID of the component posting profile version. | Int64RefRecId | No | TaxRtDocCompPostingProfVersion.RecId | None |
TaxRuntimeDocComponentVersionSystem record ID of the tax component version. | Int64RefRecId | No | TaxRuntimeDocComponentVersion.RecId | None |
TaxTypeLookupAccountingSystem record ID of the accounting lookup result for the tax type. | Int64RefRecId | No | TaxRuntimeLookupAccountingResult.RecId | None |
Indexes (4)
TaxDocumentIdxNot unique.
IdIdxTaxDocumentRow,TaxRuntimeDocComponentVersionUnique, alternate key.
ExchangeRateTypeIdxNot unique.
TaxBucketIdxNot unique.
Relations (9)
Each relation joins TaxDocumentComponentLine to another table on the fields shown.
TaxDocumentRow→TaxDocumentRowJoin on
TaxDocumentRow = TaxDocumentRow.RecIdMany TaxDocumentComponentLine records → exactly one TaxDocumentRow record
TaxDocument→TaxDocumentJoin on
TaxDocument = TaxDocument.RecIdMany TaxDocumentComponentLine records → exactly one TaxDocument record
ExchangeRateType→ExchangeRateTypeJoin on
ExchangeRateType = ExchangeRateType.RecIdMany TaxDocumentComponentLine records → exactly one ExchangeRateType record
TaxRuntimeDocComponentVersion→TaxRuntimeDocComponentVersionJoin on
TaxRuntimeDocComponentVersion = TaxRuntimeDocComponentVersion.RecIdMany TaxDocumentComponentLine records → exactly one TaxRuntimeDocComponentVersion record
TaxBucketHierarchyTable→TaxBucketHierarchyTableJoin on
TaxBucket = TaxBucketHierarchyTable.RecIdMany TaxDocumentComponentLine records → zero or one TaxBucketHierarchyTable record
TaxPeriod→TaxPeriodHeaderJoin on
TaxPeriodId = TaxPeriodHeader.TaxPeriodIdMany TaxDocumentComponentLine records → zero or one TaxPeriodHeader record
TaxRuntimeDocComponentPostingProfileVersion→TaxRtDocCompPostingProfVersionJoin on
TaxRuntimeDocComponentPostingProfileVersion = TaxRtDocCompPostingProfVersion.RecIdMany TaxDocumentComponentLine records → exactly one TaxRtDocCompPostingProfVersion record
ComponentLookupAccountingResult→TaxRuntimeLookupAccountingResultJoin on
ComponentLookupAccounting = TaxRuntimeLookupAccountingResult.RecIdMany TaxDocumentComponentLine records → exactly one TaxRuntimeLookupAccountingResult record
TaxTypeLookupAccountingResult→TaxRuntimeLookupAccountingResultJoin on
TaxTypeLookupAccounting = TaxRuntimeLookupAccountingResult.RecIdMany TaxDocumentComponentLine records → exactly one TaxRuntimeLookupAccountingResult record
Get this data out
No public entity reads from TaxDocumentComponentLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with TaxDocumentComponentLine in a report, an integration or a migration? Talk to Dr Dynamics.