Table

RetailTransactionChargeTaxTransGTE

Commerce charge GTE tax transactions

Holds tax lines for charges on a retail transaction, split by tax component. Each row is identified by channel, store, register, transaction number, sales line, charge line and tax component. It links to the charge line, the sales line and the transaction header. The tax component field suggests it is used for India.

Table name
RetailTransactionChargeTaxTransGTE
Module
Commerce transactions and orders
Table group
Transaction
Table type
Regular
Data per company
Yes
Configuration key
Retail
Primary index
ChargeTaxTransIdx
Replacement key
ChargeTaxTransIdx
Key fields
Channel, StoreId, TerminalId, TransactionId, SaleLineNum, MarkupLineNum, TaxComponent
Model
Foundation

Fields (18)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel the transaction belongs to, pointing to the channel record.Int64
RetailChannelRecId
NoRetailChannelTable.RecIdRetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity
StoreIdNumber of the store where the transaction took place.String
RetailStoreId
YesRetailStoreTable.StoreNumberRetailTransactionChargeTaxTransGTEEntityRetailTransactionChargeTaxTransGTEBIEntity
TerminalIdNumber of the POS register that handled the transaction.String
RetailTerminalId
YesRetailTerminalTable.terminalIdRetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity
TransactionIdNumber that identifies the retail transaction. It links to the charge line, the sales line and the transaction header.String (44)
RetailTransactionId
YesRetailTransactionMarkupTrans.transactionIdRetailTransactionSalesTrans.transactionIdRetailTransactionTable.transactionIdRetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity
SaleLineNumLine number of the sales line that the charge is attached to.Real
RetailTransactionSalesLineNum
NoRetailTransactionMarkupTrans.saleLineNumRetailTransactionSalesTrans.lineNumRetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity
MarkupLineNumLine number of the charge line that this tax row belongs to.Real
RetailTransactionMarkupLineNum
NoRetailTransactionMarkupTrans.markupLineNumRetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity
TaxComponentName of the tax component, such as a part of a tax used for India.String (60)
TaxComponent_IN
YesRetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionChargeTaxTransGTEBIEntity
IsIncludedInPriceYes/No flag showing whether the tax is already included in the price.Enum
RetailIsTaxIncludedInPrice
NoYes (enum)
NoRetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
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
NoRetailTransactionChargeTaxTransGTEBIEntity
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
ReplicationCounterFromOriginCounter used to track replication of the record from where it was created.Integer
RetailReplicationCounter
NoRetailTransactionChargeTaxTransGTEEntityRetailTransactionChargeTaxTransGTEBIEntity
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
TaxAmountAmount of tax for this tax component; the currency is not stated in the metadata.Real
RetailTaxAmount
NoRetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity
TaxBasisAmount that the tax is based on; the currency is not stated in the metadata.Real
Amount
NoRetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity
TaxPercentageTax rate value applied for this tax component.Real
TaxValue
NoRetailTransactionChargeTaxTransGTEEntityRetailTransactionGTEChargeTaxLineEntityRetailTransactionChargeTaxTransGTEBIEntity

Indexes (2)

Relations (6)

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

  • RetailTransactionMarkupTrans → RetailTransactionMarkupTrans

    Join on Channel = RetailTransactionMarkupTrans.Channel, StoreId = RetailTransactionMarkupTrans.store, TerminalId = RetailTransactionMarkupTrans.terminalId, TransactionId = RetailTransactionMarkupTrans.transactionId, SaleLineNum = RetailTransactionMarkupTrans.saleLineNum, MarkupLineNum = RetailTransactionMarkupTrans.markupLineNum

    Cardinality not set in the metadata.

  • RetailTransactionTable → RetailTransactionTable

    Join on Channel = RetailTransactionTable.Channel, StoreId = RetailTransactionTable.store, TerminalId = RetailTransactionTable.terminal, TransactionId = RetailTransactionTable.transactionId

    Cardinality not set in the metadata.

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionChargeTaxTransGTE records → zero or one RetailChannelTable record

  • RetailStoreTable → RetailStoreTable

    Join on StoreId = RetailStoreTable.StoreNumber

    Many RetailTransactionChargeTaxTransGTE records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on TerminalId = RetailTerminalTable.terminalId

    Many RetailTransactionChargeTaxTransGTE records → exactly one RetailTerminalTable record

  • RetailTransactionSalesTrans → RetailTransactionSalesTrans

    Join on Channel = RetailTransactionSalesTrans.Channel, StoreId = RetailTransactionSalesTrans.store, TerminalId = RetailTransactionSalesTrans.terminalId, TransactionId = RetailTransactionSalesTrans.transactionId, SaleLineNum = RetailTransactionSalesTrans.lineNum

    Cardinality not set in the metadata.

Get this data out

Tables are not exposed directly. These public entities read from RetailTransactionChargeTaxTransGTE; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk