Data entity
RetailTransactionTaxTransCDREntity
Read-only entity with tax lines on retail transactions, joined to a companion table (RetailTransactionTaxTransCDR). It is keyed by a single source key. It holds sales tax code, amounts and flags, and adds a country law reference and retention start and end dates.
- Entity name
RetailTransactionTaxTransCDREntity- Public entity name
RetailTransactionTaxTransCDREntity- OData collection
RetailTransactionTaxTransCDREntities- Category
Transaction- Module
Other (no module in the metadata)- Read-only
Yes- Data management enabled
No- Configuration key
Retail- Keys
SourceKey- Staging table
None
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailTransactionTaxTransCDREntities- Dataverse virtual table
mserp_retailtransactiontaxtranscdrentity. 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· rootRetailTransactionTaxTransCDR· InnerJoin toRetailTransactionTaxTrans
Fields (19)
| 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 | |
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 | |
SysDataAreaIdThe company (legal entity) that the record belongs to. | String (4)DataAreaId | No | Yes | RetailTransactionTaxTrans.DataAreaId | |
CDRDataAreaIdCompany (legal entity) of the record. | StringDataAreaId | No | Yes | RetailTransactionTaxTransCDR.CDRDataAreaId | |
CountryLawReferenceTwo-character reference to the country law that applies. | String (2)CDRCountryLawReference | No | Yes | RetailTransactionTaxTransCDR.CountryLawReference | |
RetentionStartDateDate the retention period starts. | DateCDRRetentionStartDate | No | Yes | RetailTransactionTaxTransCDR.RetentionStartDate | |
RetentionEndDateDate the retention period ends. | DateCDRRetentionEndDate | No | Yes | RetailTransactionTaxTransCDR.RetentionEndDate |
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 RetailTransactionTaxTransCDREntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.