Data entity

PayrollBenefitAccountingRuleEntity

Holds accounting rules for benefit plans. Each record is set by plan, legal entity and payroll impact, and gives a main account and a financial dimension combination. It is a reference entity.

Entity name
PayrollBenefitAccountingRuleEntity
Public entity name
BenefitAccountingRule
OData collection
BenefitAccountingRules
Category
Reference
Module
Payroll
Read-only
No
Data management enabled
Yes
Configuration key
HRMAdministrationPayrollInfo
Keys
PlanId, LegalEntityId, PayrollType
Staging table
PayrollBenefitAccountingRuleStaging

Use it in Power BI and Power Platform

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

  • PayrollBenefitAccountingRule · root
  • CompanyInfo · InnerJoin to PayrollBenefitAccountingRule · read-only
  • HcmBenefitPlan · InnerJoin to PayrollBenefitAccountingRule · read-only
  • MainAccountDAVC (table DimensionCombinationEntity) · OuterJoin to PayrollBenefitAccountingRule · read-only

Fields (7)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
PlanPoints to the benefit plan record.Int64
HcmBenefitPlanRecId
YesNo (private)HcmBenefitPlan.RecIdPayrollBenefitAccountingRule.BenefitPlan
MainAccountThe main account, stored as a dimension code combination record.Int64
LedgerDimensionDefaultAccount
YesNo (private)DimensionAttributeValueCombination.RecIdPayrollBenefitAccountingRule.LedgerDimension
LegalEntityPoints to the legal entity record.Int64
CompanyInfoRecId
YesNo (private)CompanyInfo.RecIdPayrollBenefitAccountingRule.LegalEntity
PayrollTypeSays whether the rule is for a contribution or a deduction.Enum
PayrollType
  • Contribution 0
  • Deduction 1
YesYesPayrollBenefitAccountingRule.PayrollType
LegalEntityIdCompany ID of the legal entity. It is the key.String
SelectableDataArea
YesYesCompanyInfo.DataArea
PlanIdShort code that identifies the benefit plan.String (20)
HcmBenefitPlanId
YesYesHcmBenefitPlan.BenefitPlanID
MainAccountDisplayValueFull combination of dimension values, shown as one text string.String (500)
DimensionDisplayValue
NoYesNone

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

Email sales@drdynamics.co.uk