Data entity
PayrollAccrualEarningCodeEntity
Lists which earning codes are linked to each benefit accrual plan. Each record pairs one plan with one earning code. The key is the plan ID plus the earning code ID.
- Entity name
PayrollAccrualEarningCodeEntity- Public entity name
AccrualEarningCode- OData collection
AccrualEarningCodes- Category
Not set- Module
Payroll- Read-only
No- Data management enabled
Yes- Configuration key
PayrollAdministration- Keys
AccrualId, EarningCodeId- Staging table
PayrollAccrualEarningCodeStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/AccrualEarningCodes- Dataverse virtual table
mserp_payrollaccrualearningcodeentity. 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
PayrollAccrualEarningCode· rootPayrollAccrual· InnerJoin toPayrollAccrualEarningCode· read-onlyPayrollEarningCode· InnerJoin toPayrollAccrualEarningCode· read-only
Fields (4)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
AccrualPoints to the benefit accrual plan record. | Int64PayrollAccrualRecId | Yes | No (private) | PayrollAccrual.RecId | PayrollAccrualEarningCode.Accrual |
EarningCodePoints to the earning code record. | Int64PayrollEarningCodeRecId | Yes | No (private) | PayrollEarningCode.RecId | PayrollAccrualEarningCode.EarningCode |
AccrualIdUnique ID of the benefit accrual plan. | String (15)PayrollAccrualId | Yes | Yes | PayrollAccrual.AccrualId | |
EarningCodeIdUnique ID of the earning code. | String (50)PayrollEarningCodeId | Yes | Yes | PayrollEarningCode.EarningCode |
Foreign keys (2)
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.
Accrual→PayrollAccrual.RecId(key of PayrollAccrual)Many PayrollAccrualEarningCode records → exactly one PayrollAccrual record
PayrollAccrual details: see PayrollAccrualPlanEntity, PayrollAccrualBasisEarningCodeEntity, PayrollAccrualPlanRuleEntity
EarningCode→PayrollEarningCode.RecId(key of PayrollEarningCode)Many PayrollAccrualEarningCode records → exactly one PayrollEarningCode record
PayrollEarningCode details: see LeaveTypeEntity, PayrollEarningCodeEntity, BenefitDeductionEntity
Need help with PayrollAccrualEarningCodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.