Table

PayIntV2EmploymentDetail

Payroll integration v2 employment detail table

Holds employment detail for workers, including start and end dates, notice periods, employment status and pay frequency. Rows are keyed by personnel number, company, employment dates and validity dates. It is used by the PayIntV2EmploymentDetailEntity.

Table name
PayIntV2EmploymentDetail
Module
Cross-module and platform
Table group
Miscellaneous
Table type
Regular
Data per company
No
Configuration key
None
Primary index
PayIntV2EmploymentDetail_AK1
Replacement key
None
Key fields
PersonnelNumber, LegalEntityId, EmploymentStartDate, EmploymentEndDate, ValidFrom, ValidTo
Model
PayrollIntegration

Fields (31)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PersonnelNumberThe personnel number of the worker.String (25)
HcmPersonnelNumberId
YesPayIntV2EmploymentDetailEntity
LegalEntityIdThe company (legal entity) of the employment.String
SelectableDataArea
YesPayIntV2EmploymentDetailEntity
EmploymentStartDateThe date the employment starts.UtcDateTime
HcmEmploymentValidFrom
NoPayIntV2EmploymentDetailEntity
EmploymentEndDateThe date the employment ends.UtcDateTime
HcmEmploymentValidTo
NoPayIntV2EmploymentDetailEntity
ValidFromThe date and time from which the record is valid.UtcDateTime
ValidFromDateTime
NoPayIntV2EmploymentDetailEntity
ValidToThe date and time until which the record is valid.UtcDateTime
ValidToDateTime
NoPayIntV2EmploymentDetailEntity
AdjustedWorkerStartDateThe adjusted start date of the worker.UtcDateTime
HcmEmploymentAdjStartDateTime
NoPayIntV2EmploymentDetailEntity
BenefitEmploymentStatusThe employment status, such as Employed, Terminated, Retired or Leave of absence.Enum
BenefitEmploymentStatus (enum)
NoPayIntV2EmploymentDetailEntity
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
EmployerNoticeAmountThe length of notice the employer must give, counted in the employer unit.Integer
HcmEmployerNoticeAmount
NoPayIntV2EmploymentDetailEntity
EmployerUnitOfNoticeThe unit for the employer notice, either Week or Month.Enum
HcmEmployerUnitOfNotice
HcmUnitOfNotice (enum)
NoPayIntV2EmploymentDetailEntity
EmploymentCategoryIdThe ID of the employment category.String (25)
BenefitEmploymentCategoryId
YesPayIntV2EmploymentDetailEntity
EmploymentTypeWhether the worker is an employee or a contractor.Enum
HcmEmploymentType (enum)
YesPayIntV2EmploymentDetailEntity
EmploymentTypeIdThe ID of the employment type.String (20)
BenefitEmploymentTypeId
YesPayIntV2EmploymentDetailEntity
LastDateWorkedThe last date the worker worked.UtcDateTime
HcmEmploymentLastWorkedDateTime
NoPayIntV2EmploymentDetailEntity
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
OriginalRecIdPurpose not clear from the metadata.low confidenceInt64NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayFrequencyThe record ID of the payment frequency.Int64
BenefitPayFrequencyRecId
NoPayIntV2EmploymentDetailEntity
PayFrequencyIdThe ID of the payment frequency.String (20)
BenefitPayFrequencyId
NoPayIntV2EmploymentDetailEntity
ReasonCodeIdThe ID of the reason code linked to the employment.String (15)
HcmReasonCodeId
NoPayIntV2EmploymentDetailEntity
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
TransitionDateThe date the employment ends (termination date).UtcDateTime
HcmEmploymentTransitionDateTime
NoPayIntV2EmploymentDetailEntity
WorkerNoticeAmountThe length of notice the worker must give, counted in the worker unit.Integer
HcmWorkerNoticeAmount
NoPayIntV2EmploymentDetailEntity
WorkerStartDateThe date the worker started.UtcDateTime
HcmEmploymentStartDateTime
NoPayIntV2EmploymentDetailEntity
WorkerUnitOfNoticeThe unit for the worker notice, either Week or Month.Enum
HcmWorkerUnitOfNotice
HcmUnitOfNotice (enum)
NoPayIntV2EmploymentDetailEntity

Indexes (2)

Get this data out

Tables are not exposed directly. These public entities read from PayIntV2EmploymentDetail; use one of them in Power BI, Power Platform or a data management project.

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

Email sales@drdynamics.co.uk