Data entity
RetailStoreWorkShiftTranEntity
Holds work shift transaction records, keyed by shift, shift date, statement code and operating unit number. It is similar to the other store work shift transactions entity but uses the operating unit number instead of the store number. It includes start and end dates and times, the statement method and status.
- Entity name
RetailStoreWorkShiftTranEntity- Public entity name
RetailStoreWorkShiftTran- OData collection
RetailStoreWorkShiftTrans- Category
Not set- Module
Commerce employees- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
ShiftId, ShiftDate, StatementCode, OMOperatingUnitNumber- Staging table
RetailStoreWorkShiftTranStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailStoreWorkShiftTrans- Dataverse virtual table
mserp_retailstoreworkshifttranentity. 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
RetailStoreWorkShiftTrans· rootRetailStoreTable· OuterJoin toRetailStoreWorkShiftTrans· read-onlyOMOperatingUnit· OuterJoin toRetailStoreTable· read-only
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
ClosingDateDate the line ended. | DateRetailEndingDate | No | Yes | RetailStoreWorkShiftTrans.closingDate | |
ClosingTimeTime the line ended. | TimeRetailEndingTime | No | Yes | RetailStoreWorkShiftTrans.closingTime | |
OpeningDateDate the line started. | DateRetailStartingDate | No | Yes | RetailStoreWorkShiftTrans.openingDate | |
OpeningTimeTime the line started. | TimeRetailStartingTime | No | Yes | RetailStoreWorkShiftTrans.openingTime | |
ShiftDateDate of the shift, linked to the work shift table. | DateRetailShiftDate | Yes | Yes | RetailStoreWorkShiftTrans.shiftDate | |
ShiftIdID of the work shift, linked to the work shift setup of the store. | String (1)RetailWorkShiftId | Yes | Yes | RetailWorkShiftSetup.workShiftId | RetailStoreWorkShiftTrans.shiftId |
StatementCodeCode of the statement, which refers to a staff member or a POS terminal. | String (25)RetailStatementCode | Yes | Yes | RetailStaffTable.staffIdRetailTerminalTable.terminalId | RetailStoreWorkShiftTrans.statementCode |
StatementMethodWay the statement is grouped: by operator ID, POS terminal, total or shift. | EnumRetailStatementMethod
| No | Yes | RetailStoreWorkShiftTrans.statementMethod | |
StatusStatus of the line: open, closed or posted. | Enum
| No | Yes | RetailStoreWorkShiftTrans.status | |
StoreRecIdPoints to the store the line belongs to. | Int64RefRecId | No | No (private) | RetailStoreTable.RecId | RetailStoreWorkShiftTrans.StoreRecId |
OMOperatingUnitNumberThe number that identifies the operating unit. | String (30)OMOperatingUnitNumber | Yes | Yes | OMOperatingUnit.OMOperatingUnitNumber |
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.
ShiftId→RetailWorkShiftSetup.workShiftId(key of RetailWorkShiftSetup)Join on all of:
ShiftId=RetailWorkShiftSetup.workShiftId,StoreRecId=RetailWorkShiftSetup.StoreRecIdOne or more RetailStoreWorkShiftTrans records → exactly one RetailWorkShiftSetup record
RetailWorkShiftSetup details: see RetailWorkShiftSetup2Entity, RetailWorkShiftSetupEntity
StatementCode→RetailStaffTable.staffId(key of RetailStaffTable)Relation also requires statementMethod = RetailStaffTerminalTotal::Staff.
Many RetailStoreWorkShiftTrans records → zero or one RetailStaffTable record
RetailStaffTable details: see RetailStaffEntity, RetailTillLayoutStaffEntity
StatementCode→RetailTerminalTable.terminalId(key of RetailTerminalTable)Many RetailStoreWorkShiftTrans records → exactly one RetailTerminalTable record
RetailTerminalTable details: see RetailTerminalEntity, DimAttributeRetailTerminalEntity
StoreRecId→RetailStoreTable.RecId(key of RetailStoreTable)One or more RetailStoreWorkShiftTrans records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
Need help with RetailStoreWorkShiftTranEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.