Table

TaxDocumentRowTransaction

Transaction line

Holds transaction lines for tax documents. Each line records the source type, status, tax direction, item, quantity, price and amounts. It also holds references to the source header and line records and to journal records. It can link to the item, currency, postal addresses, tax registration and tax rate type.

Table name
TaxDocumentRowTransaction
Module
Tax
Table group
Miscellaneous
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
None
Replacement key
None
Key fields
None
Model
Tax Engine Application Suite Integration

Fields (36)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
BaseAmountCurThe base amount in transaction currency.Real
AmountCur
NoNone
BaseAmountMSTThe base amount in accounting currency.Real
AmountMST
NoNone
CompanyPostalAddressThe postal address of the company. The metadata gives no target table.Int64
LogisticsPostalAddressRecId
NoNone
CustVendACThe customer or vendor account number.String (20)
CustVendAC
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DiscountAmountThe line discount amount per price unit.Real
DiscAmount
NoNone
InventQtyThe quantity in inventory units.Real
InventQty
NoNone
InvoiceDateThe date of the invoice.Date
TransDate
NoNone
InvoiceIdThe invoice number.String (50)
InvoiceId
NoNone
ItemIdThe item number. It points to an item.String (20)
ItemId
NoInventTable.ItemIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PartyPostalAddressPoints to the postal address of the party.Int64
LogisticsPostalAddressRecId
NoLogisticsPostalAddress.RecIdNone
QtyThe quantity on the line.Real
Qty
NoNone
ReasonTableRefA reference to a reason record. The target table is not stated in the metadata.low confidenceInt64
RefRecId
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
SourceThe type of source, such as sales order, purchase order, voucher or free text invoice.Enum
TaxModuleTypeId
TaxModuleType (enum)
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxDirectionThe direction of the tax, such as receivable, payable, use tax or tax-free.Enum
TaxDirection (enum)
NoNone
TaxDocumentStatusThe status of the tax document: draft, posted, transferred or reversed.Enum
TaxDocumentStatus (enum)
NoNone
TaxExemptTaxShows whether the line is exempt from tax (yes or no).Enum
TaxExemptTax
NoYes (enum)
NoNone
TaxIDPoints to the tax registration number record.Int64
TaxRegistrationRecId
NoTaxRegistration.RecIdNone
TaxRateTypePoints to the tax rate type record.Int64
RefRecId
NoTaxRateType.RecIdNone
TransactionCurrencyThe currency code of the transaction. It points to the currency table.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
TransactionDateThe date of the transaction.Date
TransDate
NoNone
TransactionHeaderRecIdThe system record ID of the source header record.Int64
RefRecId
NoNone
TransactionHeaderTableIdThe ID of the table that holds the source header record.Integer
RefTableId
NoNone
TransactionJourHeaderRecIdThe system record ID of the journal header record.Int64
RefRecId
NoNone
TransactionJourHeaderTableIdThe ID of the table that holds the journal header record.Integer
RefTableId
NoNone
TransactionJourLIneRecIdThe system record ID of the journal line record.Int64
RefRecId
NoNone
TransactionJourLineTableIdThe ID of the table that holds the journal line record.Integer
RefTableId
NoNone
TransactionLineRecIdThe system record ID of the source line record.Int64
RefRecId
NoNone
TransactionLineTableIdThe ID of the table that holds the source line record.Integer
RefTableId
NoNone
UnitOfMeasureSymbolThe symbol of the unit of measure.String
UnitOfMeasureSymbol
NoNone
UnitPriceThe price per unit.Real
UnitPrice
NoNone
VoucherThe voucher number.String (20)
Voucher
NoNone

Indexes (5)

Relations (7)

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

  • Currency → Currency

    Join on TransactionCurrency = Currency.CurrencyCode

    Many TaxDocumentRowTransaction records → zero or one Currency record

  • TransactionHeaderTable → Common

    Join on TransactionLineTableId = Common.TableId, TransactionLineRecId = Common.RecId

    Cardinality not set in the metadata.

  • TransactionLineTable → Common

    Join on TransactionHeaderRecId = Common.RecId, TransactionHeaderTableId = Common.TableId

    Cardinality not set in the metadata.

  • InventTable → InventTable

    Join on ItemId = InventTable.ItemId

    Many TaxDocumentRowTransaction records → zero or one InventTable record

  • LogisticsPostalAddress → LogisticsPostalAddress

    Join on PartyPostalAddress = LogisticsPostalAddress.RecId

    Zero or one TaxDocumentRowTransaction record → exactly one LogisticsPostalAddress record

  • TaxRegistration → TaxRegistration

    Join on TaxID = TaxRegistration.RecId

    Many TaxDocumentRowTransaction records → exactly one TaxRegistration record

  • TaxRateType → TaxRateType

    Join on TaxRateType = TaxRateType.RecId

    Many TaxDocumentRowTransaction records → zero or one TaxRateType record

Get this data out

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

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

Email sales@drdynamics.co.uk