Data entity
RetailWorkShiftSetup2Entity
Holds work shift definitions for retail, such as the start time, end time, abbreviation and description. The key is the work shift and the store number. This is the second version, which uses the store rather than the operating unit.
- Entity name
RetailWorkShiftSetup2Entity- Public entity name
RetailWorkShiftSetup2- OData collection
RetailWorkShiftSetups2- Category
Not set- Module
Transactions and orders- Read-only
No- Data management enabled
Yes- Configuration key
Retail- Keys
WorkShiftId, StoreNumber- Staging table
RetailWorkShiftSetup2Staging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/RetailWorkShiftSetups2- Dataverse virtual table
mserp_retailworkshiftsetup2entity. 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
RetailWorkShiftSetup· rootRetailStoreTable· InnerJoin toRetailWorkShiftSetup· read-only
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AbbreviationOne-character short code for the work shift. | String (1)RetailAbbreviation | No | Yes | RetailWorkShiftSetup.abbreviation | |
AbbreviationTextShort text of up to 15 characters that goes with the abbreviation. | String (15)RetailAbbreviationText | No | Yes | RetailWorkShiftSetup.abbreviationText | |
DateReferenceSays whether the reference date is taken from the end time or the start time of the shift. | EnumRetailDateReference
| No | Yes | RetailWorkShiftSetup.dateReference | |
EndingTimeTime of day at which the shift ends. | TimeRetailEndingTime | No | Yes | RetailWorkShiftSetup.endingTime | |
NameDescription of the work shift. | String (60)Description | No | Yes | RetailWorkShiftSetup.name | |
StartTimeTime of day at which the shift starts. | TimeRetailStartingTime | No | Yes | RetailWorkShiftSetup.startTime | |
StoreRecIdSystem record ID of the store this shift setup belongs to. It points to a record in RetailStoreTable. | Int64RefRecId | Yes | No (private) | RetailStoreTable.RecId | RetailWorkShiftSetup.StoreRecId |
WorkShiftIdOne-character ID of the work shift, unique within the store. | String (1)RetailWorkShiftId | Yes | Yes | RetailWorkShiftSetup.workShiftId | |
StoreNumberStore number that identifies the store. | StringRetailStoreId | Yes | Yes | RetailStoreTable.StoreNumber |
Foreign keys (1)
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.
StoreRecId→RetailStoreTable.RecId(key of RetailStoreTable)Many RetailWorkShiftSetup records → exactly one RetailStoreTable record
RetailStoreTable details: see RetailChannelEntity, RetailStoreEntity, RetailTerminalEntity
Need help with RetailWorkShiftSetup2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.