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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ChannelRetail channel of the transaction, pointing to the channel record. | Int64RetailChannelRecId | Yes | RetailChannelTable.RecId | RetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity |
StoreIdNumber of the store, pointing to the store record. | StringRetailStoreId | No | RetailStoreTable.StoreNumber | RetailTransactionChargeTaxMeasureBIEntity |
TerminalIdNumber of the POS register, pointing to the register record. | StringRetailTerminalId | No | RetailTerminalTable.terminalId | RetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity |
TransactionIdNumber of the retail transaction. | String (44)RetailTransactionId | Yes | RetailTransactionMarkupTrans.transactionIdRetailTransactionSalesTrans.transactionIdRetailTransactionTable.transactionId | RetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity |
SaleLineNumLine number of the sales line the charge belongs to. | RealLineNum | No | RetailTransactionMarkupTrans.saleLineNumRetailTransactionSalesTrans.lineNum | RetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity |
MarkupLineNumLine number of the charge (markup) line. | RealRetailTransactionMarkupLineNum | No | RetailTransactionMarkupTrans.markupLineNum | RetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity |
PathPath of the data item the value belongs to. | String (300)ERDataItemPath | No | RetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | RetailTransactionChargeTaxMeasureBIEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | 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 | RetailTransactionChargeTaxMeasureBIEntity | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
replicationCounterFromOriginCounter used to track replication of the record. | IntegerRetailReplicationCounter | No | RetailTransactionChargeTaxMeasureBIEntity | |
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 | |
ValueAmount value for the measure. | RealAmount | No | RetailTransactionChargeTaxMeasureEntityRetailTransactionChargeTaxMeasureBIEntity |
Indexes (1)
ChargeTaxMeasureIdxPrimary indexChannel,StoreId,TerminalId,TransactionId,SaleLineNum,MarkupLineNum,PathUnique, alternate key.
Relations (6)
Each relation joins RetailTransactionChargeTaxMeasure to another table on the fields shown.
RetailChannelTable→RetailChannelTableJoin on
Channel = RetailChannelTable.RecIdMany RetailTransactionChargeTaxMeasure records → zero or one RetailChannelTable record
RetailStoreTable→RetailStoreTableJoin on
StoreId = RetailStoreTable.StoreNumberMany RetailTransactionChargeTaxMeasure records → exactly one RetailStoreTable record
RetailTerminalTable→RetailTerminalTableJoin on
TerminalId = RetailTerminalTable.terminalIdMany RetailTransactionChargeTaxMeasure records → exactly one RetailTerminalTable record
RetailTransactionTable→RetailTransactionTableJoin on
Channel = RetailTransactionTable.Channel,TerminalId = RetailTransactionTable.terminal,StoreId = RetailTransactionTable.store,TransactionId = RetailTransactionTable.transactionIdMany RetailTransactionChargeTaxMeasure records → exactly one RetailTransactionTable record
RetailTransactionSalesTrans→RetailTransactionSalesTransJoin on
Channel = RetailTransactionSalesTrans.Channel,StoreId = RetailTransactionSalesTrans.store,TerminalId = RetailTransactionSalesTrans.terminalId,TransactionId = RetailTransactionSalesTrans.transactionId,SaleLineNum = RetailTransactionSalesTrans.lineNumCardinality not set in the metadata.
RetailTransactionMarkupTrans→RetailTransactionMarkupTransJoin on
Channel = RetailTransactionMarkupTrans.Channel,StoreId = RetailTransactionMarkupTrans.store,TerminalId = RetailTransactionMarkupTrans.terminalId,TransactionId = RetailTransactionMarkupTrans.transactionId,SaleLineNum = RetailTransactionMarkupTrans.saleLineNum,MarkupLineNum = RetailTransactionMarkupTrans.markupLineNumCardinality 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.
RetailTransactionChargeTaxMeasureEntity· 7 fields from this tableRetailTransactionChargeTaxMeasureBIEntity· 11 fields from this table
Need help with RetailTransactionChargeTaxMeasure in a report, an integration or a migration? Talk to Dr Dynamics.