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 descriptionType / EDT / enumMandatoryReferencesIn public entities
ActionStateLink to the action state this employment record belongs to.Int64
HcmActionStateRecId
NoHcmActionState.RecIdNone
BenefitEmploymentCategoryRecIdLink to the employment category record.Int64
BenefitEmploymentCategoryRecId
NoBenefitEmploymentCategory.RecIdNone
BenefitEmploymentStatusEmployment status for benefits, such as employed, terminated, retired or on leave of absence.Enum
BenefitEmploymentStatus (enum)
NoNone
BenefitEmploymentTypeLink to the employment type record used for benefits.Int64
BenefitEmploymentTypeRecId
NoBenefitEmploymentType.RecIdNone
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
EmploymentRecVersionVersion number of the linked employment record.Integer
Version
NoNone
EmploymentReferenceLink to the employment record.Int64
HcmEmploymentRecId
NoHcmEmployment.RecIdNone
EmploymentTypeWhether the worker is an employee or a contractor.Enum
HcmEmploymentType (enum)
NoNone
LastDateWorkedLast date and time the worker worked.UtcDateTime
HcmEmploymentLastWorkedDateTime
NoNone
LegalEntityLink to the company (legal entity) that employs the worker.Int64
CompanyInfoRecId
NoCompanyInfo.RecIdNone
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
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
TerminationReasonCodeLink to the reason code that explains the termination.Int64
HcmReasonCodeRecId
NoHcmReasonCode.RecIdNone
ValidFromDate and time at which the employment starts.UtcDateTime
HcmEmploymentValidFrom
NoNone
ValidToDate and time at which the employment ends.UtcDateTime
HcmEmploymentValidTo
NoNone

Indexes (1)

Relations (6)

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

  • CompanyInfo → CompanyInfo

    Join on LegalEntity = CompanyInfo.RecId

    Many HcmWorkerActionEmployment records → exactly one CompanyInfo record

  • HcmActionState → HcmActionState

    Join on ActionState = HcmActionState.RecId

    Zero or one HcmWorkerActionEmployment record → exactly one HcmActionState record

  • HcmEmployment → HcmEmployment

    Join on EmploymentReference = HcmEmployment.RecId

    Zero or one HcmWorkerActionEmployment record → zero or one HcmEmployment record

  • TerminationReasonCode → HcmReasonCode

    Join on TerminationReasonCode = HcmReasonCode.RecId

    Zero or one HcmWorkerActionEmployment record → zero or one HcmReasonCode record

  • BenefitEmploymentType → BenefitEmploymentType

    Join on BenefitEmploymentType = BenefitEmploymentType.RecId

    Many HcmWorkerActionEmployment records → exactly one BenefitEmploymentType record

  • BenefitEmploymentCategory → BenefitEmploymentCategory

    Join on BenefitEmploymentCategoryRecId = BenefitEmploymentCategory.RecId

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

Email sales@drdynamics.co.uk