Table
PayrollBenefitAccountingRule
Benefit accounting rule
Sets the main account used for a benefit plan, by legal entity and payroll type (contribution or deduction). The key is those three values together.
- Table name
PayrollBenefitAccountingRule- Module
Payroll- Table group
Reference- Table type
Regular- Data per company
No- Configuration key
HRMAdministrationPayrollInfo- Primary index
None- Replacement key
PayrollBenefitAccountingRuleIdx_AK1- Key fields
BenefitPlan, LegalEntity, PayrollType- Model
Foundation
Fields (8)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
BenefitPlanPoints to the benefit plan record. | Int64HcmBenefitPlanRecId | Yes | HcmBenefitPlan.RecId | PayrollBenefitAccountingRuleEntity |
LegalEntityPoints to the legal entity record. | Int64CompanyInfoRecId | Yes | CompanyInfo.RecId | PayrollBenefitAccountingRuleEntity |
PayrollTypeSays whether the rule is for a contribution or a deduction. | EnumPayrollType (enum) | Yes | PayrollBenefitAccountingRuleEntity | |
LedgerDimensionThe main account, stored as a dimension code combination record. | Int64LedgerDimensionDefaultAccount | Yes | DimensionAttributeValueCombination.RecId | PayrollBenefitAccountingRuleEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field. | Int64RecId | No | None | |
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field. | IntegerRecVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None |
Indexes (3)
CompanyInfoIdxNot unique.
PayrollBenefitAccountingRuleIdx_AK1Replacement keyBenefitPlan,LegalEntity,PayrollTypeUnique, alternate key.
DimensionAttributeValueCombinationIdxNot unique.
Relations (3)
Each relation joins PayrollBenefitAccountingRule to another table on the fields shown.
CompanyInfo→CompanyInfoJoin on
LegalEntity = CompanyInfo.RecIdMany PayrollBenefitAccountingRule records → exactly one CompanyInfo record
DimensionAttributeValueCombination→DimensionAttributeValueCombinationJoin on
LedgerDimension = DimensionAttributeValueCombination.RecIdMany PayrollBenefitAccountingRule records → exactly one DimensionAttributeValueCombination record
HcmBenefitPlan→HcmBenefitPlanJoin on
BenefitPlan = HcmBenefitPlan.RecIdMany PayrollBenefitAccountingRule records → exactly one HcmBenefitPlan record
Get this data out
Tables are not exposed directly. These public entities read from PayrollBenefitAccountingRule; use one of them in Power BI, Power Platform or a data management project.
PayrollBenefitAccountingRuleEntity· 4 fields from this table
Need help with PayrollBenefitAccountingRule in a report, an integration or a migration? Talk to Dr Dynamics.