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 · root
  • RetailStoreTable · InnerJoin to RetailWorkShiftSetup · read-only

Fields (9)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
AbbreviationOne-character short code for the work shift.String (1)
RetailAbbreviation
NoYesRetailWorkShiftSetup.abbreviation
AbbreviationTextShort text of up to 15 characters that goes with the abbreviation.String (15)
RetailAbbreviationText
NoYesRetailWorkShiftSetup.abbreviationText
DateReferenceSays whether the reference date is taken from the end time or the start time of the shift.Enum
RetailDateReference
RetailEndTimeStartTime
  • EndTime 0
  • StartTime 1
NoYesRetailWorkShiftSetup.dateReference
EndingTimeTime of day at which the shift ends.Time
RetailEndingTime
NoYesRetailWorkShiftSetup.endingTime
NameDescription of the work shift.String (60)
Description
NoYesRetailWorkShiftSetup.name
StartTimeTime of day at which the shift starts.Time
RetailStartingTime
NoYesRetailWorkShiftSetup.startTime
StoreRecIdSystem record ID of the store this shift setup belongs to. It points to a record in RetailStoreTable.Int64
RefRecId
YesNo (private)RetailStoreTable.RecIdRetailWorkShiftSetup.StoreRecId
WorkShiftIdOne-character ID of the work shift, unique within the store.String (1)
RetailWorkShiftId
YesYesRetailWorkShiftSetup.workShiftId
StoreNumberStore number that identifies the store.String
RetailStoreId
YesYesRetailStoreTable.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.

Need help with RetailWorkShiftSetup2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk