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 · root
  • CalculationFrequency (table PayrollCalculationFrequency) · InnerJoin to PayrollPremiumEarningCode · read-only
  • EarningCode (table PayrollEarningCode) · InnerJoin to PayrollPremiumEarningCode · read-only
  • SysPolicyRuleType · InnerJoin to PayrollPremiumEarningCode · read-only
  • PolicyType (table SysPolicyType) · InnerJoin to SysPolicyRuleType · read-only
  • SysPolicySourceDocumentRuleType · Derived to SysPolicyRuleType

Fields (11)

Field and descriptionType / EDT / enumMandatoryOData / DataverseReferencesLineage root
CalculationFrequencyPayroll calculation frequency linked to the premium code.Int64
PayrollCalculationFrequencyRecId
YesNo (private)PayrollCalculationFrequency.RecIdPayrollPremiumEarningCode.CalculationFrequency
DescriptionShort text describing the premium code.String (60)
PayrollPremiumEarningCodeDescription
YesYesPayrollPremiumEarningCode.Description
EarningCodeEarning code linked to the premium code.Int64
PayrollEarningCodeRecId
YesNo (private)PayrollEarningCode.RecIdPayrollPremiumEarningCode.EarningCode
PayoutBasisShows whether the payout is based on the earnings statement or on the earning line.Enum
PayrollPayoutBasis
  • EarningStatement 0
  • EarningStatementLine 1
YesYesPayrollPremiumEarningCode.PayoutBasis
PolicyRuleTypePolicy rule type used for the premium earning.Int64
RefRecId
YesNo (private)SysPolicyRuleType.RecIdPayrollPremiumEarningCode.PolicyRuleType
PremiumEarningCodeUnique ID of the premium code.String (50)
PayrollPremiumEarningCodeId
YesYesPayrollPremiumEarningCode.PremiumEarningCode
CalculationFrequencyIdUnique ID of the calculation frequency.String (15)
PayrollCalculationFrequencyId
YesYesPayrollCalculationFrequency.CalculationFrequencyId
EarningCodeIdUnique ID of the earning code.String (50)
PayrollEarningCodeId
YesYesPayrollEarningCode.EarningCode
PolicyRuleTypeIdName of the rule type.String (100)
SysPolicyName
YesYesSysPolicyRuleType.Name
PolicyTypePoints to the policy type this rule type belongs to.Int64
RefRecId
YesNo (private)SysPolicyType.RecIdSysPolicyRuleType.PolicyType
PolicyTypeIdThe kind of policy, such as purchasing, audit or premium earning.Enum
SysPolicyTypeEnum
  • PurchasingPolicy 7
  • ApprovalPolicy 1
  • TrvExpensePolicy 2
  • TrvRequisitionPolicy 3
  • AuditPolicy 5
  • VendInvoicesPolicy 6
  • None 0
  • HcmBenefitEligibilityPolicy 8
  • PayrollPremiumEarningGenerationPolicy 9
  • ExpExpensePolicy 11
  • TimesheetPolicy 10
YesYesSysPolicyType.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.

Need help with PayrollPremiumEarningCodeEntity in Power BI, Power Automate or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk