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-onlyHcmPersonPrivateDetails· OuterJoin toHcmWorker· read-onlyHcmEmployment· InnerJoin toHcmWorker· read-onlyCompanyInfo· InnerJoin toHcmEmployment· read-onlyHRMParameters· InnerJoin toCompanyInfo· read-onlyPayrollPersonPrivateDetailsExistsView· OuterJoin toHcmWorkerDirPerson· InnerJoin toHcmWorker· read-onlyHcmWorkerPayrollInfo· OuterJoin toHcmWorker· read-onlyCompanyInfo_Payroll(tableCompanyInfo) · InnerJoin toHcmWorkerPayrollInfoHRMParameters_Payroll(tableHRMParameters) · InnerJoin toCompanyInfo_Payroll· read-only
Fields (13)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
LegalEntityPoints to the company (legal entity) that employs the worker. | Int64CompanyInfoRecId | Yes | No (private) | CompanyInfo.RecId | HcmEmployment.LegalEntity |
LegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | Yes | Yes | CompanyInfo.DataArea | |
PersonPoints to the person record that holds the worker's name. | Int64DirPartyRecId | Yes | No (private) | DirPerson.RecId | HcmWorker.Person |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | No | Yes | HcmWorker.PersonnelNumber | |
EmploymentStartDateFirst date and time of the employment. | UtcDateTimeHcmEmploymentValidFrom | No | Yes | HcmEmployment.ValidFrom | |
EmploymentEndDateLast date and time of the employment. | UtcDateTimeHcmEmploymentValidTo | No | Yes | HcmEmployment.ValidTo | |
BirthDateThe person's date of birth. | DateHcmPersonBirthDate | No | Yes | HcmPersonPrivateDetails.BirthDate | |
GenderGender of the person. Values include male, female and non-specific. | Enum
| No | Yes | HcmPersonPrivateDetails.Gender | |
EmploymentTypeTells whether the worker is an employee or a contractor. | Enum
| Yes | Yes | HcmEmployment.EmploymentType | |
IdentificationTypeIdType of identification document held for the worker. | String (15)HcmIdentificationTypeId | No | Yes | computed | |
IdentificationNumberNumber of the worker's identification document. | String (35)HcmIdentificationNumber | No | Yes | computed | |
PartyNumberUnique ID of the party. It is the key of the table. | String (40)DirPartyNumber | No | Yes | DirPartyTable.PartyNumber | |
ReadyToPayYes/No flag showing whether the worker is marked as ready to be paid. | EnumPayrollReadyToPayNoYesId
| No | Yes | HcmWorkerPayrollInfo.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.
LegalEntity→CompanyInfo.RecId(key of CompanyInfo)Many HcmEmployment records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
Person→DirPerson.RecId(key of DirPerson)Zero or one HcmWorker record → exactly one DirPerson record
DirPerson details: see CustCustomerBaseEntity, CustFoundationEntity, DirPartyCDSEntity
Need help with PayrollEmployeeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.