Table

TaxDocumentMeasureSourceDocumentLine

Tax document measure source document line

Holds tax measure details for a source document line, keyed by the source document line. It stores sales tax amounts, the accounts and posting types for distribution and journalisation, and tax accounting providers. It also has non-recoverable amounts and links to the component source document line.

Table name
TaxDocumentMeasureSourceDocumentLine
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 (25)

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
AmountAccountingCurrencyThe sales tax amount in accounting currency, as the label suggests.Real
TaxAmount
NoNone
AmountTransactionCurrencyThe sales tax amount in transaction currency, as the field name suggests.Real
TaxAmount
NoNone
DistributionLedgerDimensionThe main account used for distribution. It points to a dimension combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
DistributionLedgerPostingTypeThe ledger posting type used for distribution.Enum
LedgerPostingType (enum)
NoNone
DistributionSideThe side used for distribution: auto, credit or debit.Enum
TaxAccountingPostingProfileDistributionSide (enum)
NoNone
DistributionTaxAccountingProviderThe tax accounting provider used for distribution, such as party, inventory, tax or ledger.Enum
TaxAccountingProvider (enum)
NoNone
JournalizationLedgerDimensionThe main account used for journalisation. It points to a dimension combination.Int64
LedgerDimensionDefaultAccount
NoDimensionAttributeValueCombination.RecIdNone
JournalizationLedgerPostingTypeThe ledger posting type used for journalisation.Enum
LedgerPostingType (enum)
NoNone
JournalizationTaxAccountingProviderThe tax accounting provider used for journalisation, such as party, inventory, tax or ledger.Enum
TaxAccountingProvider (enum)
NoNone
LabelA text label for the line.String (1999)
LabelType
NoNone
NonRecoverableAmountAccountingCurrencyThe non-recoverable sales tax amount in accounting currency, as the field name suggests.Real
TaxAmount
NoNone
NonRecoverableAmountTransactionCurrencyThe non-recoverable sales tax amount in transaction currency, as the field name suggests.Real
TaxAmount
NoNone
NonRecoverableTaxMeasureLabelThe name of the non-recoverable tax measure.String (60)
Name
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
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
TaxDocCompLineSourceDocLinePoints to the matching tax document component source document line.Int64
RefRecId
NoTaxDocCompLineSourceDocLine.RecIdNone
TaxMeasureThe name of the tax measure.String (60)
Name
NoNone

Indexes (6)

Relations (4)

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

  • TaxDocCompLineSourceDocLine → TaxDocCompLineSourceDocLine

    Join on TaxDocCompLineSourceDocLine = TaxDocCompLineSourceDocLine.RecId

    Many TaxDocumentMeasureSourceDocumentLine records → exactly one TaxDocCompLineSourceDocLine record

  • JournalizationLedgerDimension → DimensionAttributeValueCombination

    Join on JournalizationLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxDocumentMeasureSourceDocumentLine records → exactly one DimensionAttributeValueCombination record

  • SourceDocumentLine → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Zero or one TaxDocumentMeasureSourceDocumentLine record → zero or one SourceDocumentLine record

  • DistributionLedgerDimension → DimensionAttributeValueCombination

    Join on DistributionLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxDocumentMeasureSourceDocumentLine records → exactly one DimensionAttributeValueCombination record

Get this data out

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

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

Email sales@drdynamics.co.uk