Data entity
RetailTransactionAuditableTaxLineEntity
Holds the tax lines of retail transactions. Each record has a sales tax code, an amount, a value, and flags for inclusive and exempt tax. It links to a sales line. The key covers operating unit, register, store, transaction, sales line and tax code.
- Entity name
RetailTransactionAuditableTaxLineEntity- Public entity name
RetailTransactionAuditableTaxLine- OData collection
RetailTransactionAuditableTaxLines- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
No- Configuration key
Retail- Keys
OperatingUnitNumber, RegisterNumber, StoreNumber, TransactionId, SalesLineNumber, TaxCode- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailTransactionAuditableTaxLines- Dataverse virtual table
mserp_retailtransactionauditabletaxlineentity. 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· rootRetailChannelTable· OuterJoin toRetailTransactionTaxTrans· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailMCRChannelTable· Derived toRetailChannelTableRetailDirectSalesChannel· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTableRetailTransactionAuditableEntity· InnerJoin toRetailTransactionTaxTrans· read-only
Fields (17)
| 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 | |
SalesLineNumberLine number of the sales transaction. | RealRetailTransactionSalesLineNum | Yes | Yes | RetailTransactionTaxTrans.SaleLineNum | |
StoreNumberNumber of the store. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailTransactionTaxTrans.StoreId |
TaxCodeSales tax code applied. | StringTaxCode | Yes | Yes | TaxTable.TaxCode | RetailTransactionTaxTrans.TaxCode |
RegisterNumberNumber of the register. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailTransactionTaxTrans.TerminalId |
TransactionIdNumber of the retail transaction. | String (44)RetailTransactionId | Yes | Yes | RetailTransactionTable.transactionId | RetailTransactionTaxTrans.TransactionId |
OperatingUnitRecIdOperating 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 | |
HeaderStoreNumberStore where the transaction took place. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailTransactionTable.store |
HeaderStatementNumberStatement number the transaction is included in. | String (20)RetailStatementId | No | Yes | RetailStatementTable.statementId | RetailTransactionTable.statementId |
HeaderTransactionTypeKind of transaction, such as sales, payment, logon, logoff or tender declaration. | Enum
| No | Yes | RetailTransactionTable.type | |
HeaderValidationStatusResult of validating the transaction, such as pending, in progress, error or successful. | Enum
| No | Yes | RetailTransactionTable.ValidationStatus | |
HeaderAsynchronousOrderStatusCurrent status of the pending order, for example failed, succeeded, pending synchronization or editing. | Enum
| No | Yes | RetailTransactionOrderStatus.Status | |
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 (8)
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
StoreNumber→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
RegisterNumber→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,RegisterNumber=RetailTransactionTable.terminal,StoreNumber=RetailTransactionTable.store,Channel=RetailTransactionTable.ChannelMany RetailTransactionTaxTrans records → exactly one RetailTransactionTable record
RetailTransactionTable details: see RetailTransactionEntity, RetailTransactionTableBIEntity, RetailTransactionTableCDREntity
OperatingUnitRecId→OMOperatingUnit.RecId(key of OMOperatingUnit)Zero or one RetailChannelTable record → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
HeaderStoreNumber→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailTransactionTable records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
HeaderStatementNumber→RetailStatementTable.statementId(key of RetailStatementTable)Many RetailTransactionTable records → exactly one RetailStatementTable record
RetailStatementTable details: see RetailEodStatementAggregationEntity
Need help with RetailTransactionAuditableTaxLineEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.