Data entity

RetailLogEntity

Stores retail log entries, such as the log level, log text, event type, date and time, and duration. Entries are linked to an operating unit, store and register, and can also hold operator, shift and customer details. The key includes the log ID and how the entry was uploaded.

Entity name
RetailLogEntity
Public entity name
Log
OData collection
Logs
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
Staging table
RetailLogStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/Logs
Dataverse virtual table
mserp_retaillogentity. 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

  • RetailLog · root
  • RetailChannelTable · OuterJoin to RetailLog · read-only
  • OMOperatingUnit · OuterJoin to RetailChannelTable · read-only
  • RetailOnlineChannelTable · Derived to RetailChannelTable
  • RetailDirectSalesChannel · Derived to RetailChannelTable
  • RetailMCRChannelTable · Derived to RetailChannelTable
  • RetailStoreTable · Derived to RetailChannelTable

Fields (23)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CodeUnitName of the code unit that wrote the log entry.String (100)
RetailCodeUnit
NoYesRetailLog.CodeUnit
durationInMilliSecHow long the logged action took. The label says ticks but the field name says milliseconds, so the unit is unclear.low confidenceInteger
RetailDurationInMilliSec
NoYesRetailLog.durationInMilliSec
IdNumeric ID labelled as a receipt format. Its exact meaning is not clear from the metadata.low confidenceInteger
RetailLogId
YesYesRetailLog.Id
LogDateDate of the log entry.Date
RetailDateEx5
NoYesRetailLog.LogDate
LogTimeTime of the log entry.Time
RetailLogTime
NoYesRetailLog.LogTime
LogLevelSeverity of the entry: trace, debug or error.Enum
RetailLogLevel
RetailLogLevelBase
  • Trace 0
  • Debug 1
  • Error 2
NoYesRetailLog.LogLevel
LogStringFree-text content of the log message.String (-1)
RetailLogString
NoYesRetailLog.LogString
OriginNumber of the location that the entry came from.String (50)
RetailConnDistributionLocationId
NoYesRetailLog.Origin
replicationCounterFromOriginCounter value from the origin location, used to track replication of the entry.Integer
RetailReplicationCounter
NoYesRetailLog.replicationCounterFromOrigin
RetailLogIdIdentifier of the log entry. It forms part of the table key.Int64
RetailLogIdentifier
YesYesRetailLog.RetailLogId
StoreIdStore where the entry was logged. Points to the store record.String
RetailStoreId
YesYesRetailStoreTable.StoreNumberRetailLog.StoreId
terminalIdPOS register where the entry was logged. Points to the register record.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailLog.terminalId
ChannelIdRetail channel the entry belongs to. Points to the channel by system record ID.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailLog.ChannelId
EventTypeKind of audited event, such as logon, logoff, manager override, item voided or price check.Enum
RetailAuditEventType
  • Unknown 0
  • LogOn 1
  • LogOff 2
  • ManagerOverride 3
  • ItemVoid 4
  • TransactionVoid 5
  • PrintReceiptCopy 6
  • PriceCheck 7
  • TaxOverride 8
  • QuantityCorrection 9
  • PurgeTransactionsData 10
  • OfflineModeOn 11
  • OfflineModeOff 12
  • TrainingModeOn 13
  • TrainingModeOff 14
  • CloseShift 15
  • OpenShift 16
  • PriceOverride 17
  • OpenDrawer 18
  • MajorVersionUpgrade 19
  • OnBehalfOfCheckout 20
  • CreateProductList 21
  • UpdateProductList 22
  • ShareProductList 23
  • DeleteProductList 24
  • AddBusinessPartnerUser 25
  • EditBusinessPartnerUser 26
  • RemoveBusinessPartnerUser 27
NoYesRetailLog.EventType
UploadTypeHow the entry reached the back office: async service, real-time service or back office.Enum
RetailAuditEventUploadType
  • Async 0
  • RealTime 1
  • BackOffice 2
NoYesRetailLog.UploadType
StaffIdID of the operator linked to the entry.String (25)
RetailStaffId
NoYesRetailLog.StaffId
BatchIdShift the entry belongs to. Points to the POS shift record for the same store and register.Int64
RetailPosBatchID
YesYesRetailPosBatchTable.BatchIDRetailLog.BatchId
ClosedBatchIdShift ID of a closed shift. The metadata gives no relation, so the exact use is unclear.low confidenceInt64
RetailPosBatchID
NoYesRetailLog.ClosedBatchId
CustAccountCustomer account linked to the entry.String (20)
CustAccount
NoYesRetailLog.CustAccount
ContactPersonIdID of the customer contact person linked to the entry.String (20)
ContactPersonId
NoYesRetailLog.ContactPersonId
EntityReferenceIdIdentifier of the related entity that the log entry refers to.String (40)
RetailLogEntityReferenceId
NoYesRetailLog.EntityReferenceId
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

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.

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

Email sales@drdynamics.co.uk