Data entity
RetailTransactionTaxTransEntity
Holds tax lines for retail point-of-sale transactions. Each record is identified by the operating unit party number, register, store, transaction number, sales line number and sales tax code. It also carries the tax amount, the tax value, the original amount, and flags for inclusive and exempt tax. It links to the retail channel, store, call center, online and direct sales channel records.
- Entity name
RetailTransactionTaxTransEntity- Public entity name
TransactionTaxTrans- OData collection
TransactionTaxTrans- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
OMOperatingUnit_PartyNumber, TerminalId, StoreId, TransactionId, SaleLineNum, TaxCode- Staging table
RetailTransactionTaxTransStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/TransactionTaxTrans- Dataverse virtual table
mserp_retailtransactiontaxtransentity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Enabled: you can use it in import and export projects.
Data sources
RetailTransactionTaxTrans· rootRetailChannelTable· OuterJoin toRetailTransactionTaxTrans· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailStoreTable· Derived toRetailChannelTableRetailMCRChannelTable· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTable
Fields (15)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AmountTax amount for the sales line. | RealAmount | No | Yes | RetailTransactionTaxTrans.Amount | |
ChannelPoints to the retail channel. | Int64RefRecId | No | No (private) | RetailChannelTable.RecId | RetailTransactionTaxTrans.Channel |
IsIncludedInPriceYes/no flag showing whether the tax is included in the price. | Enum
| No | Yes | RetailTransactionTaxTrans.IsIncludedInPrice | |
OriginLocation number the record came from. | String (50)RetailConnDistributionLocationId | No | Yes | RetailTransactionTaxTrans.Origin | |
replicationCounterFromOriginCounter used to track replication from the origin. | IntegerRetailReplicationCounter | No | Yes | RetailTransactionTaxTrans.replicationCounterFromOrigin | |
SaleLineNumLine number of the sales transaction. | RealRetailTransactionSalesLineNum | Yes | Yes | RetailTransactionTaxTrans.SaleLineNum | |
StoreIdNumber of the store. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailTransactionTaxTrans.StoreId |
TaxCodeSales tax code applied. | StringTaxCode | Yes | Yes | TaxTable.TaxCode | RetailTransactionTaxTrans.TaxCode |
TerminalIdNumber of the register. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailTransactionTaxTrans.TerminalId |
TransactionIdNumber of the retail transaction. | String (44)RetailTransactionId | Yes | Yes | RetailTransactionTable.transactionId | RetailTransactionTaxTrans.TransactionId |
TaxBaseAmountAmount the tax is based on. | RealTaxBaseCur | No | Yes | RetailTransactionTaxTrans.TaxBaseAmount | |
TaxPercentageTax rate value. | RealTaxValue | No | Yes | RetailTransactionTaxTrans.TaxPercentage | |
IsExemptYes/no flag showing whether the line is tax exempt. | EnumTaxExemptTax
| No | Yes | RetailTransactionTaxTrans.IsExempt | |
RetailChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record. | Int64RefRecId | No | No (private) | OMOperatingUnit.RecId | RetailChannelTable.OMOperatingUnitID |
OMOperatingUnit_PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber |
Foreign keys (6)
Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.
Channel→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailTransactionTaxTrans records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
StoreId→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailTransactionTaxTrans records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
TaxCode→TaxTable.TaxCode(key of TaxTable)Many RetailTransactionTaxTrans records → exactly one TaxTable record
TaxTable details: see TaxCodeEntity, BusinessDocumentTaxTableEntity, TNVEDToCustomsPaymentsRelationsEntity
TerminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailTransactionTaxTrans records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
TransactionId→RetailTransactionTable.transactionId(key of RetailTransactionTable)Join on all of:
TransactionId=RetailTransactionTable.transactionId,TerminalId=RetailTransactionTable.terminal,StoreId=RetailTransactionTable.store,Channel=RetailTransactionTable.ChannelMany RetailTransactionTaxTrans records → exactly one RetailTransactionTable record
RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity
RetailChannelTable_OMOperatingUnitID→OMOperatingUnit.RecId(key of OMOperatingUnit)Zero or one RetailChannelTable record → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
Need help with RetailTransactionTaxTransEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.