Data entity

PayrollWorkerPositionEarningCodeV2Entity

Second version of the worker and position earning code entity, built on the same table. It holds an amount, frequency and validity period for each worker, earning code and position. Its key leaves out the valid-to date.

Entity name
PayrollWorkerPositionEarningCodeV2Entity
Public entity name
WorkerPositionEarningCodeV2
OData collection
WorkerPositionEarningCodesV2
Category
Reference
Module
Payroll
Read-only
No
Data management enabled
Yes
Configuration key
HRMAdministrationPayrollInfo
Keys
PersonnelNumber, EarningCodeId, PositionId, ValidFrom
Staging table
PayrollWorkerPositionEarningCodeV2Staging

Use it in Power BI and Power Platform

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

  • PayrollWorkerPositionEarningCode · root
  • PayrollEarningCode · InnerJoin to PayrollWorkerPositionEarningCode · read-only
  • HcmPosition · InnerJoin to PayrollWorkerPositionEarningCode · read-only
  • HcmWorker · OuterJoin to PayrollWorkerPositionEarningCode · read-only
  • PayrollCalculationFrequency · OuterJoin to PayrollWorkerPositionEarningCode · read-only

Fields (11)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
FrequencyPoints to the calculation frequency used for this earning code.Int64
PayrollCalculationFrequencyRecId
NoNo (private)PayrollCalculationFrequency.RecIdPayrollWorkerPositionEarningCode.CalculationFrequency
EarningCodePoints to the earning code assigned to the worker and position.Int64
PayrollEarningCodeRecId
YesNo (private)PayrollEarningCode.RecIdPayrollWorkerPositionEarningCode.EarningCode
AmountAmount linked to the earning code for this worker and position. The currency is not stated in the metadata.low confidenceReal
AmountCur
YesYesPayrollWorkerPositionEarningCode.Formula
PositionPoints to the position the earning code applies to.Int64
HcmPositionRecId
YesNo (private)HcmPosition.RecIdPayrollWorkerPositionEarningCode.Position
ValidFromFirst date on which this record is valid.Date
ValidFromDate
YesYesPayrollWorkerPositionEarningCode.ValidFrom
ValidToLast date on which this record is valid.Date
ValidToDate
YesYesPayrollWorkerPositionEarningCode.ValidTo
WorkerPoints to the worker who receives the earning code.Int64
HcmWorkerRecId
NoNo (private)HcmWorker.RecIdPayrollWorkerPositionEarningCode.Worker
EarningCodeIdUnique ID of the earning code.String (50)
PayrollEarningCodeId
YesYesPayrollEarningCode.EarningCode
PositionIdCode that identifies the position.String (25)
HcmPositionId
YesYesHcmPosition.PositionId
PersonnelNumberNumber that identifies the worker within the organisation.String (25)
HcmPersonnelNumberId
YesYesHcmWorker.PersonnelNumber
FrequencyIdUnique ID of the calculation frequency.String (15)
PayrollCalculationFrequencyId
NoYesPayrollCalculationFrequency.CalculationFrequencyId

Foreign keys (4)

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 PayrollWorkerPositionEarningCodeV2Entity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk