Table

WorkCalendarDate

Working times

One record per calendar and date, showing how that day is treated in a working-time calendar. It holds the day's control type, such as open, closed, base calendar or holiday. It also holds a working time ID. It links to the calendar table.

Table name
WorkCalendarDate
Module
Production control
Table group
Group
Table type
Regular
Data per company
Yes
Configuration key
None
Primary index
RecId
Replacement key
CalendarDateIdx
Key fields
CalendarId, TransDate
Model
Foundation

Fields (14)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
CalendarIdCalendar the date belongs to.String
CalendarId
YesWorkCalendarTable.CalendarIdWorkCalendarDayEntityEssWorkCalendarDayEntity
TransDateCalendar date.Date
TransDate
YesWorkCalendarDayEntityEssWorkCalendarDayEntity
ClosedForPickupYes or no flag showing whether the day is closed for pickup.Enum
SalesClosedForPickup
NoYes (enum)
NoWorkCalendarDayEntity
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
NameName for the calendar date.String (60)
Name
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
WorkTimeControlHow the day is controlled: open, closed, base calendar or holiday.Enum
WorkTimeControl (enum)
NoWorkCalendarDayEntityEssWorkCalendarDayEntity
WorkTimeIdID of the working time used on this date.String
WorkTimeId
NoNone

Indexes (2)

Relations (1)

Each relation joins WorkCalendarDate to another table on the fields shown.

  • WorkCalendarTable → WorkCalendarTable

    Join on CalendarId = WorkCalendarTable.CalendarId

    Many WorkCalendarDate records → exactly one WorkCalendarTable record

Get this data out

Tables are not exposed directly. These public entities read from WorkCalendarDate; use one of them in Power BI, Power Platform or a data management project.

Need help with WorkCalendarDate in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk