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 descriptionType / EDT / enumMandatoryReferencesIn public entities
EmploymentEmployment record the calendar is assigned to.Int64
HcmEmploymentRecId
YesHcmEmployment.RecIdNone
CalendarDataAreaIdCompany that owns the assigned calendar.String
DataAreaId
NoWorkCalendarTable.dataAreaIdHcmContractorV2EntityHcmEmployeeV2EntityHcmEmploymentV2Entityand 3 more
CalendarIdCalendar assigned to the employment.String
CalendarId
NoWorkCalendarTable.CalendarIdHcmContractorV2EntityHcmEmployeeV2EntityHcmEmploymentV2Entityand 3 more
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

Indexes (2)

Relations (2)

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

  • HcmEmployment_FK → HcmEmployment

    Join on Employment = HcmEmployment.RecId

    Zero or one WorkCalendarEmployment record → exactly one HcmEmployment record

  • WorkCalendarTable → WorkCalendarTable

    Join on CalendarDataAreaId = WorkCalendarTable.dataAreaId, CalendarId = WorkCalendarTable.CalendarId

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

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

Email sales@drdynamics.co.uk