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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CalendarIdCalendar the date belongs to. | StringCalendarId | Yes | WorkCalendarTable.CalendarId | WorkCalendarDayEntityEssWorkCalendarDayEntity |
TransDateCalendar date. | DateTransDate | Yes | WorkCalendarDayEntityEssWorkCalendarDayEntity | |
ClosedForPickupYes or no flag showing whether the day is closed for pickup. | EnumSalesClosedForPickupNoYes (enum) | No | WorkCalendarDayEntity | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NameName for the calendar date. | String (60)Name | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkTimeControlHow the day is controlled: open, closed, base calendar or holiday. | EnumWorkTimeControl (enum) | No | WorkCalendarDayEntityEssWorkCalendarDayEntity | |
WorkTimeIdID of the working time used on this date. | StringWorkTimeId | No | None |
Indexes (2)
CalendarDateIdxReplacement keyUnique, alternate key.
PSNClosedForPickupCalendarDateIdxClosedForPickup,CalendarId,TransDateNot unique.
Relations (1)
Each relation joins WorkCalendarDate to another table on the fields shown.
WorkCalendarTable→WorkCalendarTableJoin on
CalendarId = WorkCalendarTable.CalendarIdMany 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.
WorkCalendarDayEntity· 4 fields from this tableEssWorkCalendarDayEntity· 3 fields from this table
Need help with WorkCalendarDate in a report, an integration or a migration? Talk to Dr Dynamics.