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 descriptionType / EDT / enumMandatoryReferencesIn public entities
CalendarIdThe work calendar these generation settings belong to.String
CalendarId
YesWorkCalendarTable.CalendarIdNone
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
DefaultEndingTimeDefault end time of the working day.Time
LeaveWorkCalendarToTime
NoWorkCalendarEntity
DefaultStartingTimeDefault start time of the working day.Time
LeaveWorkCalendarFromTime
NoWorkCalendarEntity
IsFridayWorkingDayYes or No: whether Friday is a working day.Enum
NoYes (enum)
NoWorkCalendarEntity
IsMondayWorkingDayYes or No: whether Monday is a working day.Enum
NoYes (enum)
NoWorkCalendarEntity
IsSaturdayWorkingDayYes or No: whether Saturday is a working day.Enum
NoYes (enum)
NoWorkCalendarEntity
IsSundayWorkingDayYes or No: whether Sunday is a working day.Enum
NoYes (enum)
NoWorkCalendarEntity
IsThursdayWorkingDayYes or No: whether Thursday is a working day.Enum
NoYes (enum)
NoWorkCalendarEntity
IsTuesdayWorkingDayYes or No: whether Tuesday is a working day.Enum
NoYes (enum)
NoWorkCalendarEntity
IsWednesdayWorkingDayYes or No: whether Wednesday is a working day.Enum
NoYes (enum)
NoWorkCalendarEntity
LastGenerationFromDateStart date of the period covered by the last calendar generation.Date
FromDate
NoNone
LastGenerationToDateEnd date of the period covered by the last calendar generation.Date
ToDate
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
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
WorkCalendarGenerationTypeShows how the calendar is generated: from working days or from a template.Enum
HcmWorkCalendarGenerationType (enum)
NoNone
WorkCalendarHolidayThe holidays and closures set linked to this calendar generation.String (30)
HcmWorkCalendarHolidayId
NoHcmWorkCalendarHoliday.IdWorkCalendarEntity

Indexes (1)

  • CalendarIdxPrimary indexReplacement key

    CalendarId

    Unique, alternate key.

Relations (2)

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

  • WorkCalendarTable → WorkCalendarTable

    Join on CalendarId = WorkCalendarTable.CalendarId

    Zero or one HcmWorkCalendarGenerationDetail record → exactly one WorkCalendarTable record

  • HcmWorkCalendarHoliday → HcmWorkCalendarHoliday

    Join on WorkCalendarHoliday = HcmWorkCalendarHoliday.Id

    Many 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.

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

Email sales@drdynamics.co.uk