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 · root
  • RetailChannelTable · OuterJoin to RetailLogTransactionReference · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RefChannelTable (table RetailChannelTable) · OuterJoin to RetailLogTransactionReference · read-only
  • OMOperatingUnit1 (table OMOperatingUnit) · OuterJoin to RefChannelTable · read-only
  • RetailMCRChannelTable1 (table RetailMCRChannelTable) · Derived to RefChannelTable
  • RetailDirectSalesChannel1 (table RetailDirectSalesChannel) · Derived to RefChannelTable
  • RetailOnlineChannelTable1 (table RetailOnlineChannelTable) · Derived to RefChannelTable
  • RetailStoreTable1 (table RetailStoreTable) · Derived to RefChannelTable

Fields (16)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
ChannelIdRetail channel of the log entry. Points to the channel by system record ID.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailLogTransactionReference.ChannelId
StoreIdStore of the log entry. Points to the store record.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailLogTransactionReference.StoreId
TerminalIdPOS register of the log entry. Points to the register record.String
RetailTerminalId
NoYesRetailTerminalTable.terminalIdRetailLogTransactionReference.TerminalId
RetailLogIdLog entry that this reference belongs to. Points to the retail log.Int64
RetailLogIdentifier
NoYesRetailLogTransactionReference.RetailLogId
UploadTypeHow the log entry was uploaded: async service, real-time service or back office.Enum
RetailAuditEventUploadType
  • Async 0
  • RealTime 1
  • BackOffice 2
YesYesRetailLog.UploadTypeRetailLogTransactionReference.UploadType
ReferenceIdIdentifier of this reference within the log entry.Int64
RetailLogReferenceId
NoYesRetailLogTransactionReference.ReferenceId
replicationCounterFromOriginCounter value from the origin location, used to track replication.Integer
RetailReplicationCounter
NoYesRetailLogTransactionReference.replicationCounterFromOrigin
RefChannelChannel of the referenced transaction. Points to the channel record.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailLogTransactionReference.RefChannel
RefStoreStore of the referenced transaction. Points to the store record.String
RetailStoreId
NoYesRetailStoreTable.StoreNumberRetailLogTransactionReference.RefStore
RefTerminalRegister of the referenced transaction. Part of the link to the transaction record.String
RetailTerminalId
NoYesRetailLogTransactionReference.RefTerminal
RefTransactionIdNumber of the referenced retail transaction.String (44)
RetailTransactionId
NoYesRetailTransactionTable.transactionIdRetailLogTransactionReference.RefTransactionId
OriginNumber of the location that the reference came from.String (50)
RetailConnDistributionLocationId
NoYesRetailLogTransactionReference.Origin
RetailChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record.Int64
RefRecId
NoNo (private)OMOperatingUnit.RecIdRetailChannelTable.OMOperatingUnitID
OMOperatingUnit_PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.PartyNumber
RefChannelTable_OMOperatingUnitIDOperating unit that the channel is based on. It is the key of the record.Int64
RefRecId
NoNo (private)OMOperatingUnit.RecIdRetailChannelTable.OMOperatingUnitID
OMOperatingUnit1_PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
YesYesDirPartyTable.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.

Need help with RetailLogTransactionReferenceEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk