Table
HcmWorkCalendarGenerationDetail
Calendar generation detail
Holds the settings used to generate a work calendar, one row per calendar. It stores the default working hours, which weekdays are working days, the generation type and the date range of the last generation. It links to a work calendar and to a set of holidays and closures.
- Table name
HcmWorkCalendarGenerationDetail- Module
Cross-module and platform- Table group
Group- Table type
Regular- Data per company
Yes- Configuration key
None- Primary index
CalendarIdx- Replacement key
CalendarIdx- Key fields
CalendarId- Model
Leave
Fields (24)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
CalendarIdThe work calendar these generation settings belong to. | StringCalendarId | Yes | WorkCalendarTable.CalendarId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | None | |
DefaultEndingTimeDefault end time of the working day. | TimeLeaveWorkCalendarToTime | No | WorkCalendarEntity | |
DefaultStartingTimeDefault start time of the working day. | TimeLeaveWorkCalendarFromTime | No | WorkCalendarEntity | |
IsFridayWorkingDayYes or No: whether Friday is a working day. | EnumNoYes (enum) | No | WorkCalendarEntity | |
IsMondayWorkingDayYes or No: whether Monday is a working day. | EnumNoYes (enum) | No | WorkCalendarEntity | |
IsSaturdayWorkingDayYes or No: whether Saturday is a working day. | EnumNoYes (enum) | No | WorkCalendarEntity | |
IsSundayWorkingDayYes or No: whether Sunday is a working day. | EnumNoYes (enum) | No | WorkCalendarEntity | |
IsThursdayWorkingDayYes or No: whether Thursday is a working day. | EnumNoYes (enum) | No | WorkCalendarEntity | |
IsTuesdayWorkingDayYes or No: whether Tuesday is a working day. | EnumNoYes (enum) | No | WorkCalendarEntity | |
IsWednesdayWorkingDayYes or No: whether Wednesday is a working day. | EnumNoYes (enum) | No | WorkCalendarEntity | |
LastGenerationFromDateStart date of the period covered by the last calendar generation. | DateFromDate | No | None | |
LastGenerationToDateEnd date of the period covered by the last calendar generation. | DateToDate | 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 | |
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 | |
WorkCalendarGenerationTypeShows how the calendar is generated: from working days or from a template. | EnumHcmWorkCalendarGenerationType (enum) | No | None | |
WorkCalendarHolidayThe holidays and closures set linked to this calendar generation. | String (30)HcmWorkCalendarHolidayId | No | HcmWorkCalendarHoliday.Id | WorkCalendarEntity |
Indexes (1)
CalendarIdxPrimary indexReplacement keyUnique, alternate key.
Relations (2)
Each relation joins HcmWorkCalendarGenerationDetail to another table on the fields shown.
WorkCalendarTable→WorkCalendarTableJoin on
CalendarId = WorkCalendarTable.CalendarIdZero or one HcmWorkCalendarGenerationDetail record → exactly one WorkCalendarTable record
HcmWorkCalendarHoliday→HcmWorkCalendarHolidayJoin on
WorkCalendarHoliday = HcmWorkCalendarHoliday.IdMany HcmWorkCalendarGenerationDetail records → exactly one HcmWorkCalendarHoliday record
Get this data out
Tables are not exposed directly. These public entities read from HcmWorkCalendarGenerationDetail; use one of them in Power BI, Power Platform or a data management project.
WorkCalendarEntity· 10 fields from this table
Need help with HcmWorkCalendarGenerationDetail in a report, an integration or a migration? Talk to Dr Dynamics.