Table

RetailTransactionChargeTaxTrans

Retail charge tax transactions

Holds tax lines for charges (markups) on retail transactions. Each row is identified by channel, store, register, transaction, sales line, markup line and sales tax code. It links to the charge line and the transaction.

Table name
RetailTransactionChargeTaxTrans
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, TaxCode
Model
Foundation

Fields (17)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel of the transaction, pointing to the channel record.Int64
RetailChannelRecId
NoRetailChannelTable.RecIdRetailTransactionChargeTaxTransEntityRetailTransactionChargeTaxTransBIEntity
StoreIdNumber of the store, matched with the charge and transaction records.String
RetailStoreId
YesRetailTransactionMarkupTrans.storeRetailTransactionTable.storeRetailTransactionChargeTaxTransEntityRetailTransactionChargeTaxTransBIEntity
TerminalIdNumber of the POS register, matched with the charge and transaction records.String
RetailTerminalId
YesRetailTransactionMarkupTrans.terminalIdRetailTransactionTable.terminalRetailTransactionChargeTaxTransEntityRetailTransactionChargeTaxTransBIEntity
TransactionIdNumber of the retail transaction.String (44)
RetailTransactionId
YesRetailTransactionMarkupTrans.transactionIdRetailTransactionTable.transactionIdRetailTransactionChargeTaxTransEntityRetailTransactionChargeTaxTransBIEntity
SaleLineNumLine number of the sales line the charge belongs to.Real
RetailTransactionSalesLineNum
YesRetailTransactionMarkupTrans.saleLineNumRetailTransactionChargeTaxTransEntityRetailTransactionChargeTaxTransBIEntity
MarkupLineNumLine number of the charge (markup) line.Real
RetailTransactionMarkupLineNum
YesRetailTransactionMarkupTrans.markupLineNumRetailTransactionChargeTaxTransEntityRetailTransactionChargeTaxTransBIEntity
TaxCodeSales tax code applied.String
TaxCode
YesRetailTransactionChargeTaxTransEntityRetailTransactionChargeTaxTransBIEntity
AmountTax amount for the charge.Real
RetailTaxAmount
NoRetailTransactionChargeTaxTransEntityRetailTransactionChargeTaxTransBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionChargeTaxTransBIEntity
IsExemptYes or no flag showing whether the tax is exempt.Enum
RetailIsExemptTax
NoYes (enum)
NoRetailTransactionChargeTaxTransEntityRetailTransactionChargeTaxTransBIEntity
IsIncludedInPriceYes or no flag showing whether the tax is included in the price.Enum
RetailIsTaxIncludedInPrice
NoYes (enum)
NoRetailTransactionChargeTaxTransEntityRetailTransactionChargeTaxTransBIEntity
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
NoRetailTransactionChargeTaxTransBIEntity
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.Integer
RetailReplicationCounter
NoRetailTransactionChargeTaxTransBIEntity
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

Indexes (1)

Relations (3)

Each relation joins RetailTransactionChargeTaxTrans 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 RetailTransactionChargeTaxTrans records → zero or one RetailChannelTable record

Get this data out

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

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

Email sales@drdynamics.co.uk