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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BaseAmountCurThe base amount in transaction currency. | RealAmountCur | No | None | |
BaseAmountMSTThe base amount in accounting currency. | RealAmountMST | No | None | |
CompanyPostalAddressThe postal address of the company. The metadata gives no target table. | Int64LogisticsPostalAddressRecId | No | None | |
CustVendACThe customer or vendor account number. | String (20)CustVendAC | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DiscountAmountThe line discount amount per price unit. | RealDiscAmount | No | None | |
InventQtyThe quantity in inventory units. | RealInventQty | No | None | |
InvoiceDateThe date of the invoice. | DateTransDate | No | None | |
InvoiceIdThe invoice number. | String (50)InvoiceId | No | None | |
ItemIdThe item number. It points to an item. | String (20)ItemId | No | InventTable.ItemId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PartyPostalAddressPoints to the postal address of the party. | Int64LogisticsPostalAddressRecId | No | LogisticsPostalAddress.RecId | None |
QtyThe quantity on the line. | RealQty | No | None | |
ReasonTableRefA reference to a reason record. The target table is not stated in the metadata.low confidence | Int64RefRecId | 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 | |
SourceThe type of source, such as sales order, purchase order, voucher or free text invoice. | EnumTaxModuleTypeIdTaxModuleType (enum) | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxDirectionThe direction of the tax, such as receivable, payable, use tax or tax-free. | EnumTaxDirection (enum) | No | None | |
TaxDocumentStatusThe status of the tax document: draft, posted, transferred or reversed. | EnumTaxDocumentStatus (enum) | No | None | |
TaxExemptTaxShows whether the line is exempt from tax (yes or no). | EnumTaxExemptTaxNoYes (enum) | No | None | |
TaxIDPoints to the tax registration number record. | Int64TaxRegistrationRecId | No | TaxRegistration.RecId | None |
TaxRateTypePoints to the tax rate type record. | Int64RefRecId | No | TaxRateType.RecId | None |
TransactionCurrencyThe currency code of the transaction. It points to the currency table. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
TransactionDateThe date of the transaction. | DateTransDate | No | None | |
TransactionHeaderRecIdThe system record ID of the source header record. | Int64RefRecId | No | None | |
TransactionHeaderTableIdThe ID of the table that holds the source header record. | IntegerRefTableId | No | None | |
TransactionJourHeaderRecIdThe system record ID of the journal header record. | Int64RefRecId | No | None | |
TransactionJourHeaderTableIdThe ID of the table that holds the journal header record. | IntegerRefTableId | No | None | |
TransactionJourLIneRecIdThe system record ID of the journal line record. | Int64RefRecId | No | None | |
TransactionJourLineTableIdThe ID of the table that holds the journal line record. | IntegerRefTableId | No | None | |
TransactionLineRecIdThe system record ID of the source line record. | Int64RefRecId | No | None | |
TransactionLineTableIdThe ID of the table that holds the source line record. | IntegerRefTableId | No | None | |
UnitOfMeasureSymbolThe symbol of the unit of measure. | StringUnitOfMeasureSymbol | No | None | |
UnitPriceThe price per unit. | RealUnitPrice | No | None | |
VoucherThe voucher number. | String (20)Voucher | No | None |
Indexes (5)
TransTableIdRecIdIdxTransactionHeaderRecId,TransactionHeaderTableId,TransactionLineRecId,TransactionLineTableIdNot unique.
QueryIdxTransactionDate,TaxDocumentStatus,TransactionHeaderTableId,TransactionHeaderRecId,TaxDirection,SourceNot unique.
TransactionJourHeaderIdxTransactionJourHeaderRecId,TransactionJourHeaderTableId,TransactionLineRecId,TransactionLineTableIdUnique.
TransactionJourLineIdxTransactionJourLIneRecId,TransactionJourLineTableIdNot unique.
TransactionLineTableIdIdxNot unique.
Relations (7)
Each relation joins TaxDocumentRowTransaction to another table on the fields shown.
Currency→CurrencyJoin on
TransactionCurrency = Currency.CurrencyCodeMany TaxDocumentRowTransaction records → zero or one Currency record
TransactionHeaderTable→CommonJoin on
TransactionLineTableId = Common.TableId,TransactionLineRecId = Common.RecIdCardinality not set in the metadata.
TransactionLineTable→CommonJoin on
TransactionHeaderRecId = Common.RecId,TransactionHeaderTableId = Common.TableIdCardinality not set in the metadata.
InventTable→InventTableJoin on
ItemId = InventTable.ItemIdMany TaxDocumentRowTransaction records → zero or one InventTable record
LogisticsPostalAddress→LogisticsPostalAddressJoin on
PartyPostalAddress = LogisticsPostalAddress.RecIdZero or one TaxDocumentRowTransaction record → exactly one LogisticsPostalAddress record
TaxRegistration→TaxRegistrationJoin on
TaxID = TaxRegistration.RecIdMany TaxDocumentRowTransaction records → exactly one TaxRegistration record
TaxRateType→TaxRateTypeJoin on
TaxRateType = TaxRateType.RecIdMany 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.