Table

RetailTransactionChargeTaxMeasure

Commerce transaction charge (markup) tax measure

Holds tax measure values for charges (markups) on retail transaction sales lines. Each row is identified by channel, store, register, transaction, sales line, markup line and a field path. It links to the charge and sales line records.

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

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
ChannelRetail channel of the transaction, pointing to the channel record.Int64
RetailChannelRecId
YesRetailChannelTable.RecIdRetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity
StoreIdNumber of the store, pointing to the store record.String
RetailStoreId
NoRetailStoreTable.StoreNumberRetailTransactionChargeTaxMeasureBIEntity
TerminalIdNumber of the POS register, pointing to the register record.String
RetailTerminalId
NoRetailTerminalTable.terminalIdRetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity
TransactionIdNumber of the retail transaction.String (44)
RetailTransactionId
YesRetailTransactionMarkupTrans.transactionIdRetailTransactionSalesTrans.transactionIdRetailTransactionTable.transactionIdRetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity
SaleLineNumLine number of the sales line the charge belongs to.Real
LineNum
NoRetailTransactionMarkupTrans.saleLineNumRetailTransactionSalesTrans.lineNumRetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity
MarkupLineNumLine number of the charge (markup) line.Real
RetailTransactionMarkupLineNum
NoRetailTransactionMarkupTrans.markupLineNumRetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity
PathPath of the data item the value belongs to.String (300)
ERDataItemPath
NoRetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoRetailTransactionChargeTaxMeasureBIEntity
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
NoRetailTransactionChargeTaxMeasureBIEntity
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
NoRetailTransactionChargeTaxMeasureBIEntity
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
ValueAmount value for the measure.Real
Amount
NoRetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity

Indexes (1)

Relations (6)

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

  • RetailChannelTable → RetailChannelTable

    Join on Channel = RetailChannelTable.RecId

    Many RetailTransactionChargeTaxMeasure records → zero or one RetailChannelTable record

  • RetailStoreTable → RetailStoreTable

    Join on StoreId = RetailStoreTable.StoreNumber

    Many RetailTransactionChargeTaxMeasure records → exactly one RetailStoreTable record

  • RetailTerminalTable → RetailTerminalTable

    Join on TerminalId = RetailTerminalTable.terminalId

    Many RetailTransactionChargeTaxMeasure records → exactly one RetailTerminalTable record

  • RetailTransactionTable → RetailTransactionTable

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

    Many RetailTransactionChargeTaxMeasure records → exactly one RetailTransactionTable 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.

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

Get this data out

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

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

Email sales@drdynamics.co.uk