Data entity

RetailXZReportTableEntity

Holds end of day reports (X and Z reports) from retail registers. Each record has the report type, report ID, report date and time, and the report content as XML. It is identified by store, register, shift ID, report type and report ID.

Entity name
RetailXZReportTableEntity
Public entity name
XZReportTable
OData collection
XZReportTables
Category
Document
Module
Other (no module in the metadata)
Read-only
No
Data management enabled
Yes
Configuration key
Retail
Keys
StoreId, TerminalId, BatchId, ReportType, ReportId
Staging table
RetailXZReportTableStaging

Use it in Power BI and Power Platform

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

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

Fields (11)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
StoreIdNumber of the store that the report was created for.String
RetailStoreId
YesYesRetailStoreTable.StoreNumberRetailXZReportTable.StoreId
TerminalIdNumber of the POS register that the report relates to.String
RetailTerminalId
YesYesRetailTerminalTable.terminalIdRetailXZReportTable.TerminalId
BatchIdID of the shift that the report covers. It is matched with the shift on store and register as well.Int64
RetailPosBatchID
YesYesRetailPosBatchTable.BatchIDRetailXZReportTable.BatchId
ReportTypeTells whether the report is an X report or a Z report.Enum
RetailXZReportType
  • XReport 0
  • ZReport 1
NoYesRetailXZReportTable.ReportType
ChannelSystem record ID of the retail channel. It points to a record in RetailChannelTable.Int64
RefRecId
NoNo (private)RetailChannelTable.RecIdRetailXZReportTable.Channel
ReportIdNumber that identifies the report.Int64
RetailXZReportId
YesYesRetailXZReportTable.ReportId
ReportDateTimeDate and time at which the report was created.UtcDateTimeNoYesRetailXZReportTable.ReportDateTime
ReportValueReport content stored as XML text.String (-1)NoYesRetailXZReportTable.ReportValue
ReplicationCounterFromOriginCounter value used to track replication of the record.Integer
RetailReplicationCounter
NoYesRetailXZReportTable.ReplicationCounterFromOrigin
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 RetailXZReportTableEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk