Data entity
PayrollEarningStatementHeaderEntity
Read-only list of earnings statement headers. Each record has a statement number, a note, the period end date, the pay cycle and the worker's personnel number. The key is the company plus the statement number.
- Entity name
PayrollEarningStatementHeaderEntity- Public entity name
EarningStatement- OData collection
EarningStatements- Category
Document- Module
Payroll- Read-only
Yes- Data management enabled
Yes- Configuration key
PayrollAdministration- Keys
Company, EarningsStatementNumber- Staging table
PayrollEarningStatementHeaderStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/EarningStatements- Dataverse virtual table
mserp_payrollearningstatementheaderentity. 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
PayrollEarningStatement· rootPayPeriod(tablePayrollPayPeriod) · InnerJoin toPayrollEarningStatement· read-onlyPayCycle(tablePayrollPayCycle) · InnerJoin toPayPeriod· read-onlyWorker(tableHcmWorker) · InnerJoin toPayrollEarningStatement· read-only
Fields (9)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
EarningsStatementNumberUnique number of the earnings statement. | String (20)PayrollEarningStatementId | Yes | Yes | PayrollEarningStatement.DocumentNumber | |
NoteFree-text note on the statement. | String (-1)Notes | No | Yes | PayrollEarningStatement.Note | |
PayPeriodPoints to the pay period record. | Int64PayrollPayPeriodRecId | Yes | No (private) | PayrollPayPeriod.RecId | PayrollEarningStatement.PayPeriod |
WorkerPoints to the worker record. | Int64HcmWorkerRecId | Yes | No (private) | HcmWorker.RecId | PayrollEarningStatement.Worker |
PayCycleThe pay cycle this period belongs to, pointing to a pay cycle record. | Int64PayrollPayCycleRecId | Yes | No (private) | PayrollPayCycle.RecId | PayrollPayPeriod.PayCycle |
PayPeriodEndDateLast date of the pay period. | DatePayrollPeriodEnd | Yes | Yes | PayrollPayPeriod.PeriodEndDate | |
PayCycleIdUnique ID of the pay cycle. | String (15)PayrollPayCycleId | Yes | Yes | PayrollPayCycle.PayCycleId | |
PersonnelNumberNumber that identifies the worker within the organisation. | String (25)HcmPersonnelNumberId | Yes | Yes | HcmWorker.PersonnelNumber | |
CompanyThe company (legal entity) that the record belongs to. | String (4)DataAreaId | Yes | Yes | PayrollEarningStatement.DataAreaId |
Foreign keys (3)
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.
PayPeriod→PayrollPayPeriod.RecId(key of PayrollPayPeriod)Many PayrollEarningStatement records → exactly one PayrollPayPeriod record
PayrollPayPeriod details: see HcmPayrollCalculationFrequencyPayPeriodEntity, PayrollPayPeriodEntity, PayrollPayStatementHeaderEntity
Worker→HcmWorker.RecId(key of HcmWorker)Many PayrollEarningStatement records → exactly one HcmWorker record
HcmWorker details: see TrvExpMobileUserDisplayInfoEntity, BusinessProcessHeaderEntity, HcmInjuryIncidentEntity
PayCycle→PayrollPayCycle.RecId(key of PayrollPayCycle)Many PayrollPayPeriod records → exactly one PayrollPayCycle record
PayrollPayCycle details: see PayrollPayCycleEntity, HcmPayrollCalculationFrequencyPayPeriodEntity, HcmPositionEntity
Need help with PayrollEarningStatementHeaderEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.