Data entity
RetailStoreWorkShiftTran2Entity
Holds work shift transaction records for stores. Each record is identified by the shift, shift date, statement code and store number. It includes start and end dates and times, the statement method and status.
- Entity name
RetailStoreWorkShiftTran2Entity- Public entity name
RetailStoreWorkShiftTran2- OData collection
RetailStoreWorkShiftTrans2- Category
Not set- Module
Commerce employees- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
ShiftId, ShiftDate, StatementCode, StoreNumber- Staging table
RetailStoreWorkShiftTran2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailStoreWorkShiftTrans2- Dataverse virtual table
mserp_retailstoreworkshifttran2entity. 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-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 |
StoreNumberStore number that identifies the store. | StringRetailStoreId | Yes | Yes | RetailStoreTable.StoreNumber |
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 RetailStoreWorkShiftTran2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.