Table

HcmOnboardProcessHeaderDualWriteStaging

Onboarding process header

Staging table for onboarding process headers used by Dual-write. It holds import job details, a transfer status, the process ID, the onboarded employee's personnel number and the employment dates. Rows are keyed by processing group, job ID, process and employment details.

Table name
HcmOnboardProcessHeaderDualWriteStaging
Module
Cross-module and platform
Table group
Staging
Table type
Regular
Data per company
No
Configuration key
None
Primary index
StagingIdx
Replacement key
StagingIdx
Key fields
DefinitionGroup, ExecutionId, ProcessId, OnboardedEmployeePersonnelNumber, EmploymentPersonnelNumber, EmploymentStartDate
Model
PersonnelBusinessProcess

Fields (15)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
DefinitionGroupName of the processing group for the data job.String (60)
DMFDefinitionGroupName
YesNone
ExecutionIdID of the job run that loaded this row.String (90)
DMFExecutionId
YesNone
ProcessIdText ID of the onboarding process, matched to the Dual-write entity.String (50)NoNone
OnboardedEmployeePersonnelNumberPersonnel number of the employee being onboarded.String (25)
HcmPersonnelNumberId
NoNone
EmploymentPersonnelNumberPersonnel number on the employment record.String (25)
HcmPersonnelNumberId
NoNone
EmploymentStartDateDate and time the employment starts.UtcDateTime
HcmEmploymentValidFrom
NoNone
EmploymentEndDateDate and time the employment ends.UtcDateTime
HcmEmploymentValidTo
NoNone
IsSelectedYes or no flag showing whether the row is selected.Enum
DMFIsSelected
NoYes (enum)
NoNone
LegalEntityIdThe company (legal entity) the process belongs to.String
SelectableDataArea
YesCompanyInfo.DataAreaNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
ProcessIdGuidUnique ID of the related business process.Guid
BusinessProcessHeaderId
NoBusinessProcessHeader.ProcessIdNone
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
TransferStatusResult of moving the row from staging to the target, such as not started, completed, error, validated or duplicate.Enum
DMFTransferStatus (enum)
NoNone

Indexes (1)

Relations (3)

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

  • BusinessProcessHeader → BusinessProcessHeader

    Join on ProcessIdGuid = BusinessProcessHeader.ProcessId

    Zero or one HcmOnboardProcessHeaderDualWriteStaging record → exactly one BusinessProcessHeader record

  • CompanyInfo_FK → CompanyInfo

    Join on LegalEntityId = CompanyInfo.DataArea

    Many HcmOnboardProcessHeaderDualWriteStaging records → exactly one CompanyInfo record

  • DataEntity → HcmOnboardProcessHeaderDualWriteEntity

    Join on ProcessId = HcmOnboardProcessHeaderDualWriteEntity.ProcessId, OnboardedEmployeePersonnelNumber = HcmOnboardProcessHeaderDualWriteEntity.OnboardedEmployeePersonnelNumber, EmploymentPersonnelNumber = HcmOnboardProcessHeaderDualWriteEntity.EmploymentPersonnelNumber, EmploymentStartDate = HcmOnboardProcessHeaderDualWriteEntity.EmploymentStartDate

    Exactly one HcmOnboardProcessHeaderDualWriteStaging record → zero or one HcmOnboardProcessHeaderDualWriteEntity record

Get this data out

No public entity reads from HcmOnboardProcessHeaderDualWriteStaging. Its data is only reachable through the application, a custom entity or a database export.

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

Email sales@drdynamics.co.uk