Data entity
RetailXZReportEntity
Holds end of day reports for retail stores. Each row is keyed by store, register, shift ID, report type and report ID. It stores the report date and time and the report content as XML.
- Entity name
RetailXZReportEntity- Public entity name
XZReport- OData collection
XZReports- Category
Document- Module
Transactions and orders- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
StoreId, TerminalId, BatchId, ReportType, ReportId- Staging table
RetailXZReportStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/XZReports- Dataverse virtual table
mserp_retailxzreportentity. 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
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
StoreIdNumber of the store that the report was created for. | StringRetailStoreId | Yes | Yes | RetailStoreTable.StoreNumber | RetailXZReportTable.StoreId |
TerminalIdNumber of the POS register that the report relates to. | StringRetailTerminalId | Yes | Yes | RetailTerminalTable.terminalId | RetailXZReportTable.TerminalId |
BatchIdID of the shift that the report covers. It is matched with the shift on store and register as well. | Int64RetailPosBatchID | Yes | Yes | RetailPosBatchTable.BatchID | RetailXZReportTable.BatchId |
ReportTypeTells whether the report is an X report or a Z report. | Enum
| No | Yes | RetailXZReportTable.ReportType | |
ChannelSystem record ID of the retail channel. It points to a record in RetailChannelTable. | Int64RefRecId | No | Yes | RetailChannelTable.RecId | RetailXZReportTable.Channel |
ReportIdNumber that identifies the report. | Int64RetailXZReportId | Yes | Yes | RetailXZReportTable.ReportId | |
ReportDateTimeDate and time at which the report was created. | UtcDateTime | No | Yes | RetailXZReportTable.ReportDateTime | |
ReportValueReport content stored as XML text. | String (-1) | No | Yes | RetailXZReportTable.ReportValue |
Foreign keys (4)
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.
StoreId→RetailStoreTable.StoreNumber(key of RetailStoreTable)Many RetailXZReportTable records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
TerminalId→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailXZReportTable records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
BatchId→RetailPosBatchTable.BatchID(key of RetailPosBatchTable)Join on all of:
BatchId=RetailPosBatchTable.BatchID,TerminalId=RetailPosBatchTable.TerminalId,StoreId=RetailPosBatchTable.StoreIdMany RetailXZReportTable records → exactly one RetailPosBatchTable record
RetailPosBatchTable details: see RetailPosBatchTableEntity, RetailPosBatchEntity, RetailPosBatch2Entity
Channel→RetailChannelTable.RecId(key of RetailChannelTable)Many RetailXZReportTable records → zero or one RetailChannelTable record
RetailChannelTable details: see RetailChannelEntity, RetailCallCenterEntity, RetailOnlineChannelEntity
Need help with RetailXZReportEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.