Data entity

PayrollEmployeeEntity

Read-only list of workers with their employment and payroll details. It includes personnel number, employment start and end dates, birth date, gender, worker type, identification and a ready-to-pay flag. The key is personnel number, legal entity and employment start date.

Entity name
PayrollEmployeeEntity
Public entity name
PayrollEmployee
OData collection
PayrollEmployees
Category
Not set
Module
Payroll
Read-only
Yes
Data management enabled
Yes
Configuration key
None
Keys
PersonnelNumber, LegalEntityId, EmploymentStartDate
Staging table
PayrollEmployeeStaging

Use it in Power BI and Power Platform

OData URL
https://<environment>/data/PayrollEmployees
Dataverse virtual table
mserp_payrollemployeeentity. 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

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

Fields (13)

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
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 worker.String (15)
HcmIdentificationTypeId
NoYescomputed
IdentificationNumberNumber of the worker'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 PayrollEmployeeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk