Table
TaxDocCompLineSourceDocLine
Tax document component source document line
Links a tax document component to a source document line, keyed by the source document line. It holds the calculation date, exchange rates, label and the names of the tax component and tax type. It also stores references to the root and source records and to a default measure line.
- Table name
TaxDocCompLineSourceDocLine- Module
Tax- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
None- Replacement key
SourceDocumentLineIdx- Key fields
SourceDocumentLine, Partition, DataAreaId- Model
Tax Engine Application Suite Integration
Fields (17)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
SourceDocumentLinePoints to the source document line. It is the key of the table. | Int64RefRecId | No | SourceDocumentLine.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
CalculationDateThe date of the tax calculation. | DateBaseDate | No | None | |
DefaultMeasureSourceDocumentLinePoints to the default tax document measure source document line. | Int64RefRecId | No | TaxDocumentMeasureSourceDocumentLine.RecId | None |
ExchangeRateThe exchange rate used for the line. | RealExchRate | No | None | |
LabelA text label for the line. | String (1999)LabelType | 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 | |
ReportingExchangeRateThe exchange rate for the reporting currency. | RealExchRate | No | None | |
RootRecIdThe system record ID of the root record. | Int64RefRecId | No | None | |
RootTableNameThe name of the table that holds the root record. | StringRefTableName | No | None | |
SourceRecIdThe system record ID of the source record. | Int64RefRecId | No | None | |
SourceTableNameThe name of the table that holds the source record. | StringRefTableName | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxComponentThe name of the tax component. | String (60)Name | No | None | |
TaxTypeThe name of the tax type. | String (60)Name | No | None |
Indexes (5)
SourceDocumentLineIdxReplacement keySourceDocumentLine,Partition,DataAreaIdUnique, alternate key.
TaxDocumentMeasureSourceDocumentLineIdxDefaultMeasureSourceDocumentLineNot unique.
SourceIdxNot unique.
RootTableIdxNot unique.
TaxTypeTaxComponentIdxNot unique.
Relations (2)
Each relation joins TaxDocCompLineSourceDocLine to another table on the fields shown.
DefaultMeasure→TaxDocumentMeasureSourceDocumentLineJoin on
DefaultMeasureSourceDocumentLine = TaxDocumentMeasureSourceDocumentLine.RecIdExactly one TaxDocCompLineSourceDocLine record → zero or one TaxDocumentMeasureSourceDocumentLine record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdZero or one TaxDocCompLineSourceDocLine record → zero or one SourceDocumentLine record
Get this data out
No public entity reads from TaxDocCompLineSourceDocLine. Its data is only reachable through the application, a custom entity or a database export.
Need help with TaxDocCompLineSourceDocLine in a report, an integration or a migration? Talk to Dr Dynamics.