Data entity
PayrollPremiumEarningCodeEntity
Premium codes, keyed by the premium code. Each has a description, payout basis, calculation frequency and an earning code. It also links to a policy type and rule name.
- Entity name
PayrollPremiumEarningCodeEntity- Public entity name
PremiumEarningCode- OData collection
PremiumEarningCodes- Category
Not set- Module
Payroll- Read-only
No- Data management enabled
Yes- Configuration key
PayrollAdministration- Keys
PremiumEarningCode- Staging table
PayrollPremiumEarningCodeStaging
Use it in Power BI and Power Platform
- OData URL
https://<environment>/data/PremiumEarningCodes- Dataverse virtual table
mserp_payrollpremiumearningcodeentity. 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
PayrollPremiumEarningCode· rootCalculationFrequency(tablePayrollCalculationFrequency) · InnerJoin toPayrollPremiumEarningCode· read-onlyEarningCode(tablePayrollEarningCode) · InnerJoin toPayrollPremiumEarningCode· read-onlySysPolicyRuleType· InnerJoin toPayrollPremiumEarningCode· read-onlyPolicyType(tableSysPolicyType) · InnerJoin toSysPolicyRuleType· read-onlySysPolicySourceDocumentRuleType· Derived toSysPolicyRuleType
Fields (11)
| Field and description | Type / EDT / enum | Mandatory | OData / Dataverse | References | Lineage root |
|---|---|---|---|---|---|
CalculationFrequencyPayroll calculation frequency linked to the premium code. | Int64PayrollCalculationFrequencyRecId | Yes | No (private) | PayrollCalculationFrequency.RecId | PayrollPremiumEarningCode.CalculationFrequency |
DescriptionShort text describing the premium code. | String (60)PayrollPremiumEarningCodeDescription | Yes | Yes | PayrollPremiumEarningCode.Description | |
EarningCodeEarning code linked to the premium code. | Int64PayrollEarningCodeRecId | Yes | No (private) | PayrollEarningCode.RecId | PayrollPremiumEarningCode.EarningCode |
PayoutBasisShows whether the payout is based on the earnings statement or on the earning line. | Enum
| Yes | Yes | PayrollPremiumEarningCode.PayoutBasis | |
PolicyRuleTypePolicy rule type used for the premium earning. | Int64RefRecId | Yes | No (private) | SysPolicyRuleType.RecId | PayrollPremiumEarningCode.PolicyRuleType |
PremiumEarningCodeUnique ID of the premium code. | String (50)PayrollPremiumEarningCodeId | Yes | Yes | PayrollPremiumEarningCode.PremiumEarningCode | |
CalculationFrequencyIdUnique ID of the calculation frequency. | String (15)PayrollCalculationFrequencyId | Yes | Yes | PayrollCalculationFrequency.CalculationFrequencyId | |
EarningCodeIdUnique ID of the earning code. | String (50)PayrollEarningCodeId | Yes | Yes | PayrollEarningCode.EarningCode | |
PolicyRuleTypeIdName of the rule type. | String (100)SysPolicyName | Yes | Yes | SysPolicyRuleType.Name | |
PolicyTypePoints to the policy type this rule type belongs to. | Int64RefRecId | Yes | No (private) | SysPolicyType.RecId | SysPolicyRuleType.PolicyType |
PolicyTypeIdThe kind of policy, such as purchasing, audit or premium earning. | Enum
| Yes | Yes | SysPolicyType.PolicyType |
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.
CalculationFrequency→PayrollCalculationFrequency.RecId(key of PayrollCalculationFrequency)Many PayrollPremiumEarningCode records → exactly one PayrollCalculationFrequency record
PayrollCalculationFrequency details: see HcmPayrollCalculationFrequencyEntity, PayrollBenefitDetailEntity, HcmPayrollCalculationFrequencyPayPeriodEntity
EarningCode→PayrollEarningCode.RecId(key of PayrollEarningCode)Many PayrollPremiumEarningCode records → exactly one PayrollEarningCode record
PayrollEarningCode details: see LeaveTypeEntity, PayrollEarningCodeEntity, BenefitDeductionEntity
PolicyRuleType→SysPolicyRuleType.RecId(key of SysPolicyRuleType)Many PayrollPremiumEarningCode records → exactly one SysPolicyRuleType record
SysPolicyRuleType details: see SysPolicyRuleTypeEntity, HcmBenefitEligibilityPolicyRuleTypeEntity, PayrollPremiumEarningPolicyRuleTypeEntity
PolicyType→SysPolicyType.RecId(key of SysPolicyType)Many SysPolicyRuleType records → exactly one SysPolicyType record
SysPolicyType details: see SysPolicyTypeEntity, HcmBenefitEligibilityRuleEntity, TrvPolicyLanguageTxtEntity
Need help with PayrollPremiumEarningCodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.