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 descriptionType / EDT / enumMandatoryReferencesIn public entities
SourceDocumentLinePoints to the source document line. It is the key of the table.Int64
RefRecId
NoSourceDocumentLine.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
CalculationDateThe date of the tax calculation.Date
BaseDate
NoNone
DefaultMeasureSourceDocumentLinePoints to the default tax document measure source document line.Int64
RefRecId
NoTaxDocumentMeasureSourceDocumentLine.RecIdNone
ExchangeRateThe exchange rate used for the line.Real
ExchRate
NoNone
LabelA text label for the line.String (1999)
LabelType
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
ReportingExchangeRateThe exchange rate for the reporting currency.Real
ExchRate
NoNone
RootRecIdThe system record ID of the root record.Int64
RefRecId
NoNone
RootTableNameThe name of the table that holds the root record.String
RefTableName
NoNone
SourceRecIdThe system record ID of the source record.Int64
RefRecId
NoNone
SourceTableNameThe name of the table that holds the source record.String
RefTableName
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxComponentThe name of the tax component.String (60)
Name
NoNone
TaxTypeThe name of the tax type.String (60)
Name
NoNone

Indexes (5)

Relations (2)

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

  • DefaultMeasure → TaxDocumentMeasureSourceDocumentLine

    Join on DefaultMeasureSourceDocumentLine = TaxDocumentMeasureSourceDocumentLine.RecId

    Exactly one TaxDocCompLineSourceDocLine record → zero or one TaxDocumentMeasureSourceDocumentLine record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Zero 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.

Email sales@drdynamics.co.uk