Data entity
PayrollBenefitDetailEntity
Holds the details of a benefit over a validity period. It gives the contribution and deduction amounts or rates, their bases and their calculation frequencies. It can also refer to a benefit calculation rate. The key is the benefit ID plus the valid-from and valid-to dates.
- Entity name
PayrollBenefitDetailEntity- Public entity name
BenefitDetail- OData collection
BenefitDetails- Category
Not set- Module
Payroll- Read-only
No- Data management enabled
Yes- Configuration key
HRMAdministrationPayrollInfo- Keys
BenefitId, ValidFrom, ValidTo- Staging table
PayrollBenefitDetailStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/BenefitDetails- Dataverse virtual table
mserp_payrollbenefitdetailentity. 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
PayrollBenefitDetail· rootBenefit(tableHcmBenefit) · InnerJoin toPayrollBenefitDetail· read-onlyContributionCalculationFrequency(tablePayrollCalculationFrequency) · OuterJoin toPayrollBenefitDetail· read-onlyContributionCalculationRate(tablePayrollBenefitCalculationRate) · OuterJoin toPayrollBenefitDetail· read-onlyDeductionCalculationFrequency(tablePayrollCalculationFrequency) · OuterJoin toPayrollBenefitDetail· read-only
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
BenefitThe benefit these settings apply to; points to HcmBenefit. | Int64HcmBenefitRecId | Yes | No (private) | HcmBenefit.RecId | PayrollBenefitDetail.Benefit |
ContributionCalculationFrequencyHow often the contribution is calculated; points to PayrollCalculationFrequency. | Int64PayrollCalculationFrequencyRecId | No | No (private) | PayrollCalculationFrequency.RecId | PayrollBenefitDetail.ContributionCalculationFrequency |
ContributionCalculationRateThe benefit calculation rate used; points to PayrollBenefitCalculationRate. | Int64PayrollBenefitCalculationRateRecId | No | No (private) | PayrollBenefitCalculationRate.RecId | PayrollBenefitDetail.ContributionCalculationRate |
DeductionCalculationFrequencyHow often the deduction is calculated; points to PayrollCalculationFrequency. | Int64PayrollCalculationFrequencyRecId | No | No (private) | PayrollCalculationFrequency.RecId | PayrollBenefitDetail.DeductionCalculationFrequency |
DefaultContributionAccountingCurrencyAmtDefault contribution amount or rate, depending on the contribution basis; currency not stated in the metadata. | RealPayrollAmountPositive | No | Yes | PayrollBenefitDetail.DefaultContributionAccountingCurrencyAmt | |
DefaultContributionBasisBasis for the contribution, such as fixed amount, percent of earnings or hours. | Enum
| No | Yes | PayrollBenefitDetail.DefaultContributionBasis | |
DefaultDeductionAccountingCurrencyAmtDefault deduction amount or rate, depending on the deduction basis; currency not stated in the metadata. | RealPayrollAmountPositive | No | Yes | PayrollBenefitDetail.DefaultDeductionAccountingCurrencyAmt | |
DefaultDeductionBasisBasis for the deduction, such as fixed amount, percent of earnings or hours. | Enum
| No | Yes | PayrollBenefitDetail.DefaultDeductionBasis | |
ValidFromFirst date the settings are valid. | DateValidFromDate | No | Yes | PayrollBenefitDetail.ValidFrom | |
ValidToLast date the settings are valid. | DateValidToDate | No | Yes | PayrollBenefitDetail.ValidTo | |
BenefitIdShort code that identifies the benefit. | String (20)HcmBenefitId | Yes | Yes | HcmBenefit.BenefitId | |
ContributionCalculationFrequencyIdUnique ID of the calculation frequency. | String (15)PayrollCalculationFrequencyId | No | Yes | PayrollCalculationFrequency.CalculationFrequencyId | |
ContributionCalculationRateIdName that identifies the benefit calculation rate. | String (60)PayrollBenefitCalculateRateId | No | Yes | PayrollBenefitCalculationRate.Name | |
DeductionCalculationFrequencyIdUnique ID of the calculation frequency. | String (15)PayrollCalculationFrequencyId | No | Yes | PayrollCalculationFrequency.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.
Benefit→HcmBenefit.RecId(key of HcmBenefit)Many PayrollBenefitDetail records → exactly one HcmBenefit record
HcmBenefit details: see HcmBenefitEligibilityOverrideEntity, HcmBenefitEntity, PayrollBenefitEarningBasisEntity
ContributionCalculationFrequency→PayrollCalculationFrequency.RecId(key of PayrollCalculationFrequency)Many PayrollBenefitDetail records → exactly one PayrollCalculationFrequency record
PayrollCalculationFrequency details: see HcmPayrollCalculationFrequencyEntity, HcmPayrollCalculationFrequencyPayPeriodEntity, PayrollAccrualPlanEntity
ContributionCalculationRate→PayrollBenefitCalculationRate.RecId(key of PayrollBenefitCalculationRate)Many PayrollBenefitDetail records → zero or one PayrollBenefitCalculationRate record
PayrollBenefitCalculationRate details: see PayrollBenefitCalculationRateHeaderEntity, PayrollBenefitCalculationRateDetailDualWriteEntity, PayrollBenefitCalculationRateDetailEntity
DeductionCalculationFrequency→PayrollCalculationFrequency.RecId(key of PayrollCalculationFrequency)Many PayrollBenefitDetail records → exactly one PayrollCalculationFrequency record
PayrollCalculationFrequency details: see HcmPayrollCalculationFrequencyEntity, HcmPayrollCalculationFrequencyPayPeriodEntity, PayrollAccrualPlanEntity
Need help with PayrollBenefitDetailEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.