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· rootCompanyInfo· InnerJoin toPayrollBenefitAccountingRule· read-onlyHcmBenefitPlan· InnerJoin toPayrollBenefitAccountingRule· read-onlyMainAccountDAVC(tableDimensionCombinationEntity) · OuterJoin toPayrollBenefitAccountingRule· read-only
Fields (7)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
PlanPoints to the benefit plan record. | Int64HcmBenefitPlanRecId | Yes | No (private) | HcmBenefitPlan.RecId | PayrollBenefitAccountingRule.BenefitPlan |
MainAccountThe main account, stored as a dimension code combination record. | Int64LedgerDimensionDefaultAccount | Yes | No (private) | DimensionAttributeValueCombination.RecId | PayrollBenefitAccountingRule.LedgerDimension |
LegalEntityPoints to the legal entity record. | Int64CompanyInfoRecId | Yes | No (private) | CompanyInfo.RecId | PayrollBenefitAccountingRule.LegalEntity |
PayrollTypeSays whether the rule is for a contribution or a deduction. | Enum
| Yes | Yes | PayrollBenefitAccountingRule.PayrollType | |
LegalEntityIdCompany ID of the legal entity. It is the key. | StringSelectableDataArea | Yes | Yes | CompanyInfo.DataArea | |
PlanIdShort code that identifies the benefit plan. | String (20)HcmBenefitPlanId | Yes | Yes | HcmBenefitPlan.BenefitPlanID | |
MainAccountDisplayValueFull combination of dimension values, shown as one text string. | String (500)DimensionDisplayValue | No | Yes | None |
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.
Plan→HcmBenefitPlan.RecId(key of HcmBenefitPlan)Many PayrollBenefitAccountingRule records → exactly one HcmBenefitPlan record
HcmBenefitPlan details: see HcmBenefitPlanEntity, HcmBenefitEligibilityOverrideEntity, HcmBenefitEntity
MainAccount→DimensionAttributeValueCombination.RecId(key of DimensionAttributeValueCombination)Many PayrollBenefitAccountingRule records → exactly one DimensionAttributeValueCombination record
DimensionAttributeValueCombination details: see LedgerCurrencyParametersEntity, AdvanceAdjustmentParametersEntity, BankDocumentPostingEntity
LegalEntity→CompanyInfo.RecId(key of CompanyInfo)Many PayrollBenefitAccountingRule records → exactly one CompanyInfo record
CompanyInfo details: see BusinessDocumentSalesInvoiceBaseEntity, TrvExpMobileCompanyInfoV2Entity, OMLegalEntity
Need help with PayrollBenefitAccountingRuleEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.