Data entity
RetailTransactionTaxLineEntity
Holds tax lines for retail transactions. Each line has a tax code, amount, tax value and flags for inclusive and exempt tax. It is identified by terminal, transaction number, sales line number, tax code and operating unit number. It links to retail channels and stores.
- Entity name
RetailTransactionTaxLineEntity- Public entity name
RetailTransactionTaxLine- OData collection
RetailTransactionTaxLines- Category
Not set- Module
Tax- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
Terminal, TransactionNumber, SalesLineNumber, TaxCode, OperatingUnitNumber- Staging table
RetailTransactionTaxLineStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailTransactionTaxLines- Dataverse virtual table
mserp_retailtransactiontaxlineentity. 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-onlyRetailDirectSalesChannel· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTableRetailMCRChannelTable· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTable
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
TaxAmountTax amount for the sales line. | RealAmount | No | Yes | RetailTransactionTaxTrans.Amount | |
ChannelPoints to the retail channel. | Int64RefRecId | No | No (private) | RetailChannelTable.RecId | RetailTransactionTaxTrans.Channel |
IsTaxIncludedInPriceYes/no flag showing whether the tax is included in the price. | Enum
| No | Yes | RetailTransactionTaxTrans.IsIncludedInPrice | |
SalesLineNumberLine number of the sales transaction. | RealRetailTransactionSalesLineNum | Yes | Yes | RetailTransactionTaxTrans.SaleLineNum | |
TaxCodeSales tax code applied. | StringTaxCode | Yes | Yes | TaxTable.TaxCode | RetailTransactionTaxTrans.TaxCode |
TerminalNumber of the register. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailTransactionTaxTrans.TerminalId |
TransactionNumberNumber of the retail transaction. | String (44)RetailTransactionId | Yes | Yes | RetailTransactionTable.transactionId | RetailTransactionTaxTrans.TransactionId |
RetailChannelTableOMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record. | Int64RefRecId | No | No (private) | OMOperatingUnit.RecId | RetailChannelTable.OMOperatingUnitID |
OperatingUnitNumberThe number that identifies the operating unit. | String (30)OMOperatingUnitNumber | Yes | Yes | OMOperatingUnit.OMOperatingUnitNumber | |
TaxPercentageTax rate value. | RealTaxValue | No | Yes | RetailTransactionTaxTrans.TaxPercentage | |
IsExemptYes/no flag showing whether the line is tax exempt. | EnumTaxExemptTax
| No | Yes | RetailTransactionTaxTrans.IsExempt |
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
TaxCode→TaxTable.TaxCode(key of TaxTable)Many RetailTransactionTaxTrans records → exactly one TaxTable record
TaxTable details: see TaxCodeEntity, BusinessDocumentTaxTableEntity, TNVEDToCustomsPaymentsRelationsEntity
Terminal→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailTransactionTaxTrans records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
TransactionNumber→RetailTransactionTable.transactionId(key of RetailTransactionTable)Join on all of:
TransactionNumber=RetailTransactionTable.transactionId,Terminal=RetailTransactionTable.terminal,StoreId(table field, not in this entity) =RetailTransactionTable.store,Channel=RetailTransactionTable.ChannelMany RetailTransactionTaxTrans records → exactly one RetailTransactionTable record
RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity
RetailChannelTableOMOperatingUnitID→OMOperatingUnit.RecId(key of OMOperatingUnit)Zero or one RetailChannelTable record → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
Need help with RetailTransactionTaxLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.