Data entity
RetailTransactionTaxTransBIEntity
BI entity with tax lines on retail transactions. Each row holds a sales tax code, the amount, the original amount, the tax value, and flags for inclusive and exempt tax. It is keyed by register, store, transaction number, sales line number, tax code and channel.
- Entity name
RetailTransactionTaxTransBIEntity- Public entity name
RetailTransactionTaxTransBIEntity- OData collection
RetailTransactionTaxTransBIEntities- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
No- Configuration key
Retail- Keys
TerminalId, StoreId, TransactionId, SaleLineNum, TaxCode, Channel- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailTransactionTaxTransBIEntities- Dataverse virtual table
mserp_retailtransactiontaxtransbientity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.- Data management
- Not enabled for import and export projects.
Data sources
RetailTransactionTaxTrans· root
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 | Yes | 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 | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | RetailTransactionTaxTrans.DataAreaId | |
SourceKeyA unique number that the system gives to every record. Other tables often use it to point to this record. | Int64RecId | No | Yes | RetailTransactionTaxTrans.RecId |
Foreign keys (5)
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
Need help with RetailTransactionTaxTransBIEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.