Data entity
RetailLogTransactionReferenceEntity
Links a retail log entry to a retail transaction. It stores the log's store, register, log ID and upload type, together with a reference ID and the store, register and transaction number of the transaction it points to.
- Entity name
RetailLogTransactionReferenceEntity- Public entity name
LogTransactionReference- OData collection
LogTransactionReferences- Category
Transaction- Module
Other (no module in the metadata)- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
OMOperatingUnit_PartyNumber, StoreId, TerminalId, RetailLogId, UploadType, ReferenceId- Staging table
RetailLogTransactionReferenceStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/LogTransactionReferences- Dataverse virtual table
mserp_retaillogtransactionreferenceentity. 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
RetailLogTransactionReference· rootRetailChannelTable· OuterJoin toRetailLogTransactionReference· read-onlyOMOperatingUnit· OuterJoin toRetailChannelTable· read-onlyRetailDirectSalesChannel· Derived toRetailChannelTableRetailMCRChannelTable· Derived toRetailChannelTableRetailStoreTable· Derived toRetailChannelTableRetailOnlineChannelTable· Derived toRetailChannelTableRefChannelTable(tableRetailChannelTable) · OuterJoin toRetailLogTransactionReference· read-onlyOMOperatingUnit1(tableOMOperatingUnit) · OuterJoin toRefChannelTable· read-onlyRetailMCRChannelTable1(tableRetailMCRChannelTable) · Derived toRefChannelTableRetailDirectSalesChannel1(tableRetailDirectSalesChannel) · Derived toRefChannelTableRetailOnlineChannelTable1(tableRetailOnlineChannelTable) · Derived toRefChannelTableRetailStoreTable1(tableRetailStoreTable) · Derived toRefChannelTable
Fields (16)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ChannelIdRetail channel of the log entry. Points to the channel by system record ID. | Int64RefRecId | No | No (private) | RetailChannelTable.RecId | RetailLogTransactionReference.ChannelId |
StoreIdStore of the log entry. Points to the store record. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailLogTransactionReference.StoreId |
TerminalIdPOS register of the log entry. Points to the register record. | StringRetailTerminalId | No | Yes | RetailTerminalTable.terminalId | RetailLogTransactionReference.TerminalId |
RetailLogIdLog entry that this reference belongs to. Points to the retail log. | Int64RetailLogIdentifier | No | Yes | RetailLogTransactionReference.RetailLogId | |
UploadTypeHow the log entry was uploaded: async service, real-time service or back office. | Enum
| Yes | Yes | RetailLog.UploadType | RetailLogTransactionReference.UploadType |
ReferenceIdIdentifier of this reference within the log entry. | Int64RetailLogReferenceId | No | Yes | RetailLogTransactionReference.ReferenceId | |
replicationCounterFromOriginCounter value from the origin location, used to track replication. | IntegerRetailReplicationCounter | No | Yes | RetailLogTransactionReference.replicationCounterFromOrigin | |
RefChannelChannel of the referenced transaction. Points to the channel record. | Int64RefRecId | No | No (private) | RetailChannelTable.RecId | RetailLogTransactionReference.RefChannel |
RefStoreStore of the referenced transaction. Points to the store record. | StringRetailStoreId | No | Yes | RetailStoreTable.StoreNumber | RetailLogTransactionReference.RefStore |
RefTerminalRegister of the referenced transaction. Part of the link to the transaction record. | StringRetailTerminalId | No | Yes | RetailLogTransactionReference.RefTerminal | |
RefTransactionIdNumber of the referenced retail transaction. | String (44)RetailTransactionId | No | Yes | RetailTransactionTable.transactionId | RetailLogTransactionReference.RefTransactionId |
OriginNumber of the location that the reference came from. | String (50)RetailConnDistributionLocationId | No | Yes | RetailLogTransactionReference.Origin | |
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 | |
RefChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record. | Int64RefRecId | No | No (private) | OMOperatingUnit.RecId | RetailChannelTable.OMOperatingUnitID |
OMOperatingUnit1_PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | Yes | Yes | DirPartyTable.PartyNumber |
Foreign keys (9)
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.
ChannelId→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailLogTransactionReference records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
StoreId→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailLogTransactionReference records → zero or one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
TerminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailLogTransactionReference records → zero or one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
UploadType→RetailLog.UploadType(key of RetailLog)Join on all of:
UploadType=RetailLog.UploadType,ChannelId=RetailLog.ChannelId,StoreId=RetailLog.StoreId,TerminalId=RetailLog.terminalId,RetailLogId=RetailLog.RetailLogIdMany RetailLogTransactionReference records → zero or one RetailLog record
RetailLog details: see RetailLogEntity
RefChannel→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailLogTransactionReference records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
RefStore→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailLogTransactionReference records → zero or one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
RefTransactionId→RetailTransactionTable.transactionId(key of RetailTransactionTable)Join on all of:
RefTransactionId=RetailTransactionTable.transactionId,RefChannel=RetailTransactionTable.Channel,RefStore=RetailTransactionTable.store,RefTerminal=RetailTransactionTable.terminalMany RetailLogTransactionReference records → zero or 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
RefChannelTable_OMOperatingUnitID→OMOperatingUnit.RecId(key of OMOperatingUnit)Zero or one RetailChannelTable record → exactly one OMOperatingUnit record
OMOperatingUnit details: see ACOCostCenterTypeEntity, OMOperatingUnitEntity, AssetPackingSlipEntity
Need help with RetailLogTransactionReferenceEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.