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 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 | |
AmountAccountingCurrencyThe sales tax amount in accounting currency, as the label suggests. | RealTaxAmount | No | None | |
AmountTransactionCurrencyThe sales tax amount in transaction currency, as the field name suggests. | RealTaxAmount | No | None | |
DistributionLedgerDimensionThe main account used for distribution. It points to a dimension combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
DistributionLedgerPostingTypeThe ledger posting type used for distribution. | EnumLedgerPostingType (enum) | No | None | |
DistributionSideThe side used for distribution: auto, credit or debit. | EnumTaxAccountingPostingProfileDistributionSide (enum) | No | None | |
DistributionTaxAccountingProviderThe tax accounting provider used for distribution, such as party, inventory, tax or ledger. | EnumTaxAccountingProvider (enum) | No | None | |
JournalizationLedgerDimensionThe main account used for journalisation. It points to a dimension combination. | Int64LedgerDimensionDefaultAccount | No | DimensionAttributeValueCombination.RecId | None |
JournalizationLedgerPostingTypeThe ledger posting type used for journalisation. | EnumLedgerPostingType (enum) | No | None | |
JournalizationTaxAccountingProviderThe tax accounting provider used for journalisation, such as party, inventory, tax or ledger. | EnumTaxAccountingProvider (enum) | No | None | |
LabelA text label for the line. | String (1999)LabelType | No | None | |
NonRecoverableAmountAccountingCurrencyThe non-recoverable sales tax amount in accounting currency, as the field name suggests. | RealTaxAmount | No | None | |
NonRecoverableAmountTransactionCurrencyThe non-recoverable sales tax amount in transaction currency, as the field name suggests. | RealTaxAmount | No | None | |
NonRecoverableTaxMeasureLabelThe name of the non-recoverable tax measure. | String (60)Name | 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 | |
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 | |
TaxDocCompLineSourceDocLinePoints to the matching tax document component source document line. | Int64RefRecId | No | TaxDocCompLineSourceDocLine.RecId | None |
TaxMeasureThe name of the tax measure. | String (60)Name | No | None |
Indexes (6)
SourceDocumentLineIdxReplacement keySourceDocumentLine,Partition,DataAreaIdUnique, alternate key.
RootTableIdxNot unique.
TaxDocumentComponentLineSourceDocumentLineIdxNot unique.
SourceIdxNot unique.
DistrubutionAccountingIdxDistributionLedgerPostingType,DistributionLedgerDimensionNot unique.
JournalizationAccountingIdxJournalizationLedgerPostingType,JournalizationLedgerDimensionNot unique.
Relations (4)
Each relation joins TaxDocumentMeasureSourceDocumentLine to another table on the fields shown.
TaxDocCompLineSourceDocLine→TaxDocCompLineSourceDocLineJoin on
TaxDocCompLineSourceDocLine = TaxDocCompLineSourceDocLine.RecIdMany TaxDocumentMeasureSourceDocumentLine records → exactly one TaxDocCompLineSourceDocLine record
JournalizationLedgerDimension→DimensionAttributeValueCombinationJoin on
JournalizationLedgerDimension = DimensionAttributeValueCombination.RecIdMany TaxDocumentMeasureSourceDocumentLine records → exactly one DimensionAttributeValueCombination record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdZero or one TaxDocumentMeasureSourceDocumentLine record → zero or one SourceDocumentLine record
DistributionLedgerDimension→DimensionAttributeValueCombinationJoin on
DistributionLedgerDimension = DimensionAttributeValueCombination.RecIdMany 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.