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 · root
  • PayPeriod (table PayrollPayPeriod) · InnerJoin to PayrollEarningStatement · read-only
  • PayCycle (table PayrollPayCycle) · InnerJoin to PayPeriod · read-only
  • Worker (table HcmWorker) · InnerJoin to PayrollEarningStatement · read-only

Fields (9)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
EarningsStatementNumberUnique number of the earnings statement.String (20)
PayrollEarningStatementId
YesYesPayrollEarningStatement.DocumentNumber
NoteFree-text note on the statement.String (-1)
Notes
NoYesPayrollEarningStatement.Note
PayPeriodPoints to the pay period record.Int64
PayrollPayPeriodRecId
YesNo (private)PayrollPayPeriod.RecIdPayrollEarningStatement.PayPeriod
WorkerPoints to the worker record.Int64
HcmWorkerRecId
YesNo (private)HcmWorker.RecIdPayrollEarningStatement.Worker
PayCycleThe pay cycle this period belongs to, pointing to a pay cycle record.Int64
PayrollPayCycleRecId
YesNo (private)PayrollPayCycle.RecIdPayrollPayPeriod.PayCycle
PayPeriodEndDateLast date of the pay period.Date
PayrollPeriodEnd
YesYesPayrollPayPeriod.PeriodEndDate
PayCycleIdUnique ID of the pay cycle.String (15)
PayrollPayCycleId
YesYesPayrollPayCycle.PayCycleId
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
YesYesHcmWorker.PersonnelNumber
CompanyThe company (legal entity) that the record belongs to.String (4)
DataAreaId
YesYesPayrollEarningStatement.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.

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

Email sales@drdynamics.co.uk