Data entity

PayrollBenefitEarningBasisEntity

Links a benefit plan and benefit option to an earning code for a period. The effective and expiration dates set when the link applies. The key is earning code, plan, option and the two dates. It is a reference entity.

Entity name
PayrollBenefitEarningBasisEntity
Public entity name
BenefitEarningBasis
OData collection
BenefitEarningBasis
Category
Reference
Module
Payroll
Read-only
No
Data management enabled
Yes
Configuration key
HRMAdministrationPayrollInfo
Keys
EarningCodeId, BenefitPlanId, BenefitOptionId, Effective, Expiration
Staging table
PayrollBenefitEarningBasisStaging

Use it in Power BI and Power Platform

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

  • PayrollBenefitEarningBasis · root
  • HcmBenefit · OuterJoin to PayrollBenefitEarningBasis · read-only
  • HcmBenefitOption · InnerJoin to HcmBenefit · read-only
  • HcmBenefitPlan · InnerJoin to HcmBenefit · read-only
  • PayrollEarningCode · OuterJoin to PayrollBenefitEarningBasis · read-only

Fields (10)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
BenefitThe benefit; points to HcmBenefit.Int64
HcmBenefitRecId
YesNo (private)HcmBenefit.RecIdPayrollBenefitEarningBasis.Benefit
EarningCodeThe earning code linked to the benefit; points to PayrollEarningCode.Int64
PayrollEarningCodeRecId
YesNo (private)PayrollEarningCode.RecIdPayrollBenefitEarningBasis.EarningCode
BenefitOptionPoints to the benefit option that applies to this benefit.Int64
HcmBenefitOptionRecId
YesNo (private)HcmBenefitOption.RecIdHcmBenefit.BenefitOption
BenefitPlanPoints to the benefit plan that this benefit belongs to.Int64
HcmBenefitPlanRecId
YesNo (private)HcmBenefitPlan.RecIdHcmBenefit.BenefitPlan
EffectiveDate and time from which the benefit is effective.UtcDateTime
EffectiveDateTime
YesYesHcmBenefit.ValidFrom
ExpirationDate and time at which the benefit expires.UtcDateTime
ExpirationDateTime
YesYesHcmBenefit.ValidTo
BenefitOptionIdShort code that identifies the benefit option.String (20)
HcmBenefitOptionId
YesYesHcmBenefitOption.BenefitOptionID
BenefitPlanIdShort code that identifies the benefit plan.String (20)
HcmBenefitPlanId
YesYesHcmBenefitPlan.BenefitPlanID
EarningCodeIdUnique ID of the earning code.String (50)
PayrollEarningCodeId
YesYesPayrollEarningCode.EarningCode
BenefitIdShort code that identifies the benefit.String (20)
HcmBenefitId
NoYesHcmBenefit.BenefitId

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

Email sales@drdynamics.co.uk