Table
TaxJournalTrans
Journalized, unposted sales tax
Holds sales tax lines that are journalized but not yet posted. Each line has a tax code, tax group, direction and origin, with base and tax amounts. It links back to the source document through a reference table ID and record ID, such as a sales order confirmation.
- Table name
TaxJournalTrans- Module
Tax- Table group
Transaction- Table type
Regular- Data per company
Yes- Configuration key
LedgerBasicSalesTax- Primary index
RecId- Replacement key
None- Key fields
None- Model
Foundation
Fields (29)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
EUROTriangulationShows whether the transaction is a euro triangulation (yes or no). | EnumEUROTriangulationNoYes (enum) | No | None | |
ExemptCodeSales tax exempt code applied. | StringTaxExemptCode | No | TaxExemptCodeTable.ExemptCode | None |
ExemptTaxShows whether the line is exempt from sales tax (yes or no). | EnumTaxExemptTaxNoYes (enum) | No | None | |
InventTransIdLot ID that links to the inventory transaction origin. | String (20)InventTransId | No | InventTransOrigin.InventTransId | None |
OperationLedgerDimensionLedger account for the tax operation, held as a dimension combination. | Int64LedgerDimensionAccount | No | DimensionAttributeValueCombination.RecId | None |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PrintCodePrint code for the tax line. | StringTaxWriteCode | 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 | |
SourceBaseAmountCurOriginal tax base amount in the source currency. | RealTaxBaseCur | No | None | |
SourceCurrencyCodeCurrency code of the source amounts. | String (3)CurrencyCode | No | Currency.CurrencyCode | None |
SourceRegulateAmountCurCorrected amount in the source currency. | RealTaxRegulationAmountCur | No | None | |
SourceTaxAmountCurSales tax amount in the source currency. | RealTaxAmountCur | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TaxAmountSales tax amount; currency not stated in the metadata.low confidence | RealTaxAmount | No | None | |
TaxAutoGeneratedShows whether the tax line was generated automatically (yes or no). | EnumTaxAutoGeneratedNoYes (enum) | No | None | |
TaxBaseAmountOriginal amount on which the tax is based; currency not stated in the metadata. | RealTaxBase | No | None | |
TaxBaseQtyQuantity on which the tax is based. | RealTaxQty | No | None | |
TaxCodeSales tax code of the line. | StringTaxCode | No | TaxTable.TaxCode | None |
TaxDirectionDirection of the tax, such as receivable, payable, use tax or tax-free. | EnumTaxDirection (enum) | No | None | |
TaxGroupSales tax group of the line. | StringTaxGroup | No | TaxGroupHeading.TaxGroup | None |
TaxOriginOrigin of the tax line, such as sales tax, payment or transfer. | EnumTaxOrigin (enum) | No | None | |
TaxPrintDetailLevel of detail to print: tax codes, tax groups or no details. | EnumTaxPrintDetail (enum) | No | None | |
TaxValueTax value (rate) of the line. | RealTaxValue | No | None | |
TransDateDate of the transaction. | DateTransDate | Yes | None | |
TransRecIdSystem record ID of the source document, such as a sales order confirmation. | Int64RefRecId | Yes | None | |
TransTableIdTable ID that tells which kind of table the source record ID points to. | IntegerRefTableId | Yes | None |
Indexes (2)
TransIdxNot unique.
FK_DimensionAttributeValueCombination_TaNot unique.
Relations (12)
Each relation joins TaxJournalTrans to another table on the fields shown.
Currency→CurrencyJoin on
SourceCurrencyCode = Currency.CurrencyCodeMany TaxJournalTrans records → zero or one Currency record
CustConfirmJour→CustConfirmJourJoin on
TransTableId = CustConfirmJour.TableId,TransRecId = CustConfirmJour.RecIdMany TaxJournalTrans records → zero or one CustConfirmJour record
CustQuotationConfirmJour→CustQuotationConfirmJourJoin on
TransTableId = CustQuotationConfirmJour.TableId,TransRecId = CustQuotationConfirmJour.RecIdMany TaxJournalTrans records → zero or one CustQuotationConfirmJour record
CustQuotationJour→CustQuotationJourJoin on
TransTableId = CustQuotationJour.TableId,TransRecId = CustQuotationJour.RecIdMany TaxJournalTrans records → zero or one CustQuotationJour record
InventTransOrigin→InventTransOriginJoin on
InventTransId = InventTransOrigin.InventTransIdMany TaxJournalTrans records → zero or one InventTransOrigin record
OperationLedgerDimension→DimensionAttributeValueCombinationJoin on
OperationLedgerDimension = DimensionAttributeValueCombination.RecIdMany TaxJournalTrans records → zero or one DimensionAttributeValueCombination record
PurchConfirmationRequestJour→PurchConfirmationRequestJourJoin on
TransTableId = PurchConfirmationRequestJour.TableId,TransRecId = PurchConfirmationRequestJour.RecIdMany TaxJournalTrans records → zero or one PurchConfirmationRequestJour record
TaxExemptCodeTable→TaxExemptCodeTableJoin on
ExemptCode = TaxExemptCodeTable.ExemptCodeMany TaxJournalTrans records → zero or one TaxExemptCodeTable record
TaxGroupHeading→TaxGroupHeadingJoin on
TaxGroup = TaxGroupHeading.TaxGroupMany TaxJournalTrans records → zero or one TaxGroupHeading record
TaxTable→TaxTableJoin on
TaxCode = TaxTable.TaxCodeMany TaxJournalTrans records → zero or one TaxTable record
VendPurchOrderJour→VendPurchOrderJourJoin on
TransTableId = VendPurchOrderJour.TableId,TransRecId = VendPurchOrderJour.RecIdMany TaxJournalTrans records → zero or one VendPurchOrderJour record
VendRFQJour→VendRFQJourJoin on
TransTableId = VendRFQJour.TableId,TransRecId = VendRFQJour.RecIdMany TaxJournalTrans records → zero or one VendRFQJour record
Get this data out
No public entity reads from TaxJournalTrans. Its data is only reachable through the application, a custom entity or a database export.
Need help with TaxJournalTrans in a report, an integration or a migration? Talk to Dr Dynamics.