Table
WorkCalendarEmployment
Worker calendar assignment
Assigns a calendar to an employment record. It is keyed by the employment. It points to the calendar, including the company that owns it.
- Table name
WorkCalendarEmployment- Module
Production control- Table group
Main- Table type
Regular- Data per company
No- Configuration key
None- Primary index
None- Replacement key
Employment_AK- Key fields
Employment- Model
Foundation
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
EmploymentEmployment record the calendar is assigned to. | Int64HcmEmploymentRecId | Yes | HcmEmployment.RecId | None |
CalendarDataAreaIdCompany that owns the assigned calendar. | StringDataAreaId | No | WorkCalendarTable.dataAreaId | HcmContractorV2EntityHcmEmployeeV2EntityHcmEmploymentV2Entityand 3 more |
CalendarIdCalendar assigned to the employment. | StringCalendarId | No | WorkCalendarTable.CalendarId | HcmContractorV2EntityHcmEmployeeV2EntityHcmEmploymentV2Entityand 3 more |
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 |
Indexes (2)
Employment_AKReplacement keyUnique, alternate key.
CalendarCalendarDataAreaId,CalendarIdNot unique.
Relations (2)
Each relation joins WorkCalendarEmployment to another table on the fields shown.
HcmEmployment_FK→HcmEmploymentJoin on
Employment = HcmEmployment.RecIdZero or one WorkCalendarEmployment record → exactly one HcmEmployment record
WorkCalendarTable→WorkCalendarTableJoin on
CalendarDataAreaId = WorkCalendarTable.dataAreaId,CalendarId = WorkCalendarTable.CalendarIdMany WorkCalendarEmployment records → zero or one WorkCalendarTable record
Get this data out
Tables are not exposed directly. These public entities read from WorkCalendarEmployment; use one of them in Power BI, Power Platform or a data management project.
HcmWorkCalendarEmploymentEntity· 0 fields from this tableHcmContractorV2Entity· 2 fields from this tableHcmEmployeeV2Entity· 2 fields from this tableHcmEmploymentV2Entity· 2 fields from this tableHcmContractorEntity· 2 fields from this tableHcmEmployeeEntity· 2 fields from this tableHcmEmploymentEntity· 2 fields from this tableEssWorkCalendarDayEntity· 0 fields from this table
Need help with WorkCalendarEmployment in a report, an integration or a migration? Talk to Dr Dynamics.