Data entity

PayrollEmployeeV2Entity

Read-only list of employments, keyed by personnel number, company and employment start date. It combines worker, person and payroll details such as birth date, gender, worker type and identification. It also shows a ready-to-pay flag for each employment.

Entity name
PayrollEmployeeV2Entity
Public entity name
PayrollEmployeeV2
OData collection
PayrollEmployeesV2
Category
Not set
Module
Payroll
Read-only
Yes
Data management enabled
Yes
Configuration key
None
Keys
PersonnelNumber, LegalEntityId, EmploymentStartDate
Staging table
PayrollEmployeeV2Staging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PayrollEmployeesV2
Dataverse virtual table
mserp_payrollemployeev2entity. Listed in the virtual-table catalogue. An administrator must make the virtual table visible before you can use it.
Data management
Enabled: you can use it in import and export projects.

Data sources

  • HcmEmployment · root · read-only
  • HcmWorker · InnerJoin to HcmEmployment · read-only
  • HcmPersonPrivateDetails · OuterJoin to HcmWorker · read-only
  • PayrollPersonPrivateDetailsExistsView · OuterJoin to HcmWorker · read-only
  • DirPerson · InnerJoin to HcmWorker · read-only
  • CompanyInfo · InnerJoin to HcmEmployment · read-only
  • HRMParameters · InnerJoin to CompanyInfo · read-only
  • HcmWorkerPayrollInfo · OuterJoin to HcmEmployment · read-only
  • CompanyInfo_Payroll (table CompanyInfo) · InnerJoin to HcmWorkerPayrollInfo · read-only
  • HRMParameters_Payroll (table HRMParameters) · InnerJoin to CompanyInfo_Payroll · read-only

Fields (14)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
LegalEntityPoints to the company (legal entity) that employs the worker.Int64
CompanyInfoRecId
YesNo (private)CompanyInfo.RecIdHcmEmployment.LegalEntity
LegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesYesCompanyInfo.DataArea
PersonPoints to the person record that holds the worker's name.Int64
DirPartyRecId
YesNo (private)DirPerson.RecIdHcmWorker.Person
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
NoYesHcmWorker.PersonnelNumber
EmploymentStartDateFirst date and time of the employment.UtcDateTime
HcmEmploymentValidFrom
NoYesHcmEmployment.ValidFrom
EmploymentEndDateLast date and time of the employment.UtcDateTime
HcmEmploymentValidTo
NoYesHcmEmployment.ValidTo
EmploymentIdIdentifier of the employment.String (40)
HcmEmploymentId
NoYesHcmEmployment.EmploymentId
BirthDateThe person's date of birth.Date
HcmPersonBirthDate
NoYesHcmPersonPrivateDetails.BirthDate
GenderGender of the person. Values include male, female and non-specific.Enum
HcmPersonGender
  • None 0
  • Male 1
  • Female 2
  • NonSpecific 3
NoYesHcmPersonPrivateDetails.Gender
EmploymentTypeTells whether the worker is an employee or a contractor.Enum
HcmEmploymentType
  • Employee 0
  • Contractor 1
YesYesHcmEmployment.EmploymentType
IdentificationTypeIdType of identification document held for the person, such as the kind of ID used.String (15)
HcmIdentificationTypeId
NoYescomputed
IdentificationNumberNumber of the person's identification document.String (35)
HcmIdentificationNumber
NoYescomputed
PartyNumberUnique ID of the party. It is the key of the table.String (40)
DirPartyNumber
NoYesDirPartyTable.PartyNumber
ReadyToPayYes/No flag showing whether the worker is marked as ready to be paid.Enum
PayrollReadyToPayNoYesId
NoYes

Platform enum: values not in the metadata extract.

NoYesHcmWorkerPayrollInfo.ReadyToPay

Foreign keys (2)

Each field below points to the key of another table. Join on it in Power BI, or follow the link to an entity that exposes that table.

Need help with PayrollEmployeeV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk