Table
HcmWorkerActionEmployment
Worker action employment
Holds employment details that belong to a worker action. It links to the action state, the employment record and the company. It also holds the worker type, start and end dates, last date worked, termination reason and benefit employment type, category and status.
- Table name
HcmWorkerActionEmployment- Module
Cross-module and platform- Table group
Group- Table type
Regular- Data per company
No- Configuration key
HRMAdministration- Primary index
None- Replacement key
None- Key fields
None- Model
PersonnelManagement
Fields (18)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
ActionStateLink to the action state this employment record belongs to. | Int64HcmActionStateRecId | No | HcmActionState.RecId | None |
BenefitEmploymentCategoryRecIdLink to the employment category record. | Int64BenefitEmploymentCategoryRecId | No | BenefitEmploymentCategory.RecId | None |
BenefitEmploymentStatusEmployment status for benefits, such as employed, terminated, retired or on leave of absence. | EnumBenefitEmploymentStatus (enum) | No | None | |
BenefitEmploymentTypeLink to the employment type record used for benefits. | Int64BenefitEmploymentTypeRecId | No | BenefitEmploymentType.RecId | 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 | |
EmploymentRecVersionVersion number of the linked employment record. | IntegerVersion | No | None | |
EmploymentReferenceLink to the employment record. | Int64HcmEmploymentRecId | No | HcmEmployment.RecId | None |
EmploymentTypeWhether the worker is an employee or a contractor. | EnumHcmEmploymentType (enum) | No | None | |
LastDateWorkedLast date and time the worker worked. | UtcDateTimeHcmEmploymentLastWorkedDateTime | No | None | |
LegalEntityLink to the company (legal entity) that employs the worker. | Int64CompanyInfoRecId | No | CompanyInfo.RecId | 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 | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
TerminationReasonCodeLink to the reason code that explains the termination. | Int64HcmReasonCodeRecId | No | HcmReasonCode.RecId | None |
ValidFromDate and time at which the employment starts. | UtcDateTimeHcmEmploymentValidFrom | No | None | |
ValidToDate and time at which the employment ends. | UtcDateTimeHcmEmploymentValidTo | No | None |
Indexes (1)
ActionStateIdxUnique, alternate key.
Relations (6)
Each relation joins HcmWorkerActionEmployment to another table on the fields shown.
CompanyInfo→CompanyInfoJoin on
LegalEntity = CompanyInfo.RecIdMany HcmWorkerActionEmployment records → exactly one CompanyInfo record
HcmActionState→HcmActionStateJoin on
ActionState = HcmActionState.RecIdZero or one HcmWorkerActionEmployment record → exactly one HcmActionState record
HcmEmployment→HcmEmploymentJoin on
EmploymentReference = HcmEmployment.RecIdZero or one HcmWorkerActionEmployment record → zero or one HcmEmployment record
TerminationReasonCode→HcmReasonCodeJoin on
TerminationReasonCode = HcmReasonCode.RecIdZero or one HcmWorkerActionEmployment record → zero or one HcmReasonCode record
BenefitEmploymentType→BenefitEmploymentTypeJoin on
BenefitEmploymentType = BenefitEmploymentType.RecIdMany HcmWorkerActionEmployment records → exactly one BenefitEmploymentType record
BenefitEmploymentCategory→BenefitEmploymentCategoryJoin on
BenefitEmploymentCategoryRecId = BenefitEmploymentCategory.RecIdMany HcmWorkerActionEmployment records → exactly one BenefitEmploymentCategory record
Get this data out
No public entity reads from HcmWorkerActionEmployment. Its data is only reachable through the application, a custom entity or a database export.
Need help with HcmWorkerActionEmployment in a report, an integration or a migration? Talk to Dr Dynamics.