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 descriptionType / EDT / enumMandatoryReferencesIn public entities
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
EUROTriangulationShows whether the transaction is a euro triangulation (yes or no).Enum
EUROTriangulation
NoYes (enum)
NoNone
ExemptCodeSales tax exempt code applied.String
TaxExemptCode
NoTaxExemptCodeTable.ExemptCodeNone
ExemptTaxShows whether the line is exempt from sales tax (yes or no).Enum
TaxExemptTax
NoYes (enum)
NoNone
InventTransIdLot ID that links to the inventory transaction origin.String (20)
InventTransId
NoInventTransOrigin.InventTransIdNone
OperationLedgerDimensionLedger account for the tax operation, held as a dimension combination.Int64
LedgerDimensionAccount
NoDimensionAttributeValueCombination.RecIdNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PrintCodePrint code for the tax line.String
TaxWriteCode
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
SourceBaseAmountCurOriginal tax base amount in the source currency.Real
TaxBaseCur
NoNone
SourceCurrencyCodeCurrency code of the source amounts.String (3)
CurrencyCode
NoCurrency.CurrencyCodeNone
SourceRegulateAmountCurCorrected amount in the source currency.Real
TaxRegulationAmountCur
NoNone
SourceTaxAmountCurSales tax amount in the source currency.Real
TaxAmountCur
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TaxAmountSales tax amount; currency not stated in the metadata.low confidenceReal
TaxAmount
NoNone
TaxAutoGeneratedShows whether the tax line was generated automatically (yes or no).Enum
TaxAutoGenerated
NoYes (enum)
NoNone
TaxBaseAmountOriginal amount on which the tax is based; currency not stated in the metadata.Real
TaxBase
NoNone
TaxBaseQtyQuantity on which the tax is based.Real
TaxQty
NoNone
TaxCodeSales tax code of the line.String
TaxCode
NoTaxTable.TaxCodeNone
TaxDirectionDirection of the tax, such as receivable, payable, use tax or tax-free.Enum
TaxDirection (enum)
NoNone
TaxGroupSales tax group of the line.String
TaxGroup
NoTaxGroupHeading.TaxGroupNone
TaxOriginOrigin of the tax line, such as sales tax, payment or transfer.Enum
TaxOrigin (enum)
NoNone
TaxPrintDetailLevel of detail to print: tax codes, tax groups or no details.Enum
TaxPrintDetail (enum)
NoNone
TaxValueTax value (rate) of the line.Real
TaxValue
NoNone
TransDateDate of the transaction.Date
TransDate
YesNone
TransRecIdSystem record ID of the source document, such as a sales order confirmation.Int64
RefRecId
YesNone
TransTableIdTable ID that tells which kind of table the source record ID points to.Integer
RefTableId
YesNone

Indexes (2)

Relations (12)

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

  • Currency → Currency

    Join on SourceCurrencyCode = Currency.CurrencyCode

    Many TaxJournalTrans records → zero or one Currency record

  • CustConfirmJour → CustConfirmJour

    Join on TransTableId = CustConfirmJour.TableId, TransRecId = CustConfirmJour.RecId

    Many TaxJournalTrans records → zero or one CustConfirmJour record

  • CustQuotationConfirmJour → CustQuotationConfirmJour

    Join on TransTableId = CustQuotationConfirmJour.TableId, TransRecId = CustQuotationConfirmJour.RecId

    Many TaxJournalTrans records → zero or one CustQuotationConfirmJour record

  • CustQuotationJour → CustQuotationJour

    Join on TransTableId = CustQuotationJour.TableId, TransRecId = CustQuotationJour.RecId

    Many TaxJournalTrans records → zero or one CustQuotationJour record

  • InventTransOrigin → InventTransOrigin

    Join on InventTransId = InventTransOrigin.InventTransId

    Many TaxJournalTrans records → zero or one InventTransOrigin record

  • OperationLedgerDimension → DimensionAttributeValueCombination

    Join on OperationLedgerDimension = DimensionAttributeValueCombination.RecId

    Many TaxJournalTrans records → zero or one DimensionAttributeValueCombination record

  • PurchConfirmationRequestJour → PurchConfirmationRequestJour

    Join on TransTableId = PurchConfirmationRequestJour.TableId, TransRecId = PurchConfirmationRequestJour.RecId

    Many TaxJournalTrans records → zero or one PurchConfirmationRequestJour record

  • TaxExemptCodeTable → TaxExemptCodeTable

    Join on ExemptCode = TaxExemptCodeTable.ExemptCode

    Many TaxJournalTrans records → zero or one TaxExemptCodeTable record

  • TaxGroupHeading → TaxGroupHeading

    Join on TaxGroup = TaxGroupHeading.TaxGroup

    Many TaxJournalTrans records → zero or one TaxGroupHeading record

  • TaxTable → TaxTable

    Join on TaxCode = TaxTable.TaxCode

    Many TaxJournalTrans records → zero or one TaxTable record

  • VendPurchOrderJour → VendPurchOrderJour

    Join on TransTableId = VendPurchOrderJour.TableId, TransRecId = VendPurchOrderJour.RecId

    Many TaxJournalTrans records → zero or one VendPurchOrderJour record

  • VendRFQJour → VendRFQJour

    Join on TransTableId = VendRFQJour.TableId, TransRecId = VendRFQJour.RecId

    Many 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.

Email sales@drdynamics.co.uk