Table

PayrollPremiumEarningCode

Premium code

Defines premium codes for earnings. Each record is identified by a premium code and has a description. It links to an earning code, a calculation frequency and a policy rule type, and it states the payout basis.

Table name
PayrollPremiumEarningCode
Module
Payroll
Table group
Reference
Table type
Regular
Data per company
No
Configuration key
PayrollAdministration
Primary index
None
Replacement key
PremiumCodeIdx
Key fields
PremiumEarningCode
Model
Foundation

Fields (10)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
PremiumEarningCodeUnique ID of the premium code.String (50)
PayrollPremiumEarningCodeId
YesPayrollPremiumEarningCodeEntityPayrollPremiumEarningCodeActiveIntervalEntityPayrollEarningStatementLineEntity
CalculationFrequencyPayroll calculation frequency linked to the premium code.Int64
PayrollCalculationFrequencyRecId
YesPayrollCalculationFrequency.RecIdPayrollPremiumEarningCodeEntity
DescriptionShort text describing the premium code.String (60)
PayrollPremiumEarningCodeDescription
YesPayrollPremiumEarningCodeEntityPayrollEarningStatementLineInquiryEntity
EarningCodeEarning code linked to the premium code.Int64
PayrollEarningCodeRecId
YesPayrollEarningCode.RecIdPayrollPremiumEarningCodeEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayoutBasisShows whether the payout is based on the earnings statement or on the earning line.Enum
PayrollPayoutBasis (enum)
YesPayrollPremiumEarningCodeEntity
PolicyRuleTypePolicy rule type used for the premium earning.Int64
RefRecId
YesSysPolicyRuleType.RecIdPayrollPremiumEarningCodeEntity
RecIdA unique number that the system gives to every record. Other tables often use it to point to this record. System field.Int64
RecId
NoNone
RecVersionA system number that changes each time the record is updated. It is used to detect conflicting updates. System field.Integer
RecVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone

Indexes (1)

Relations (3)

Each relation joins PayrollPremiumEarningCode to another table on the fields shown.

  • CalculationFrequency → PayrollCalculationFrequency

    Join on CalculationFrequency = PayrollCalculationFrequency.RecId

    Many PayrollPremiumEarningCode records → exactly one PayrollCalculationFrequency record

  • EarningCode → PayrollEarningCode

    Join on EarningCode = PayrollEarningCode.RecId

    Many PayrollPremiumEarningCode records → exactly one PayrollEarningCode record

  • SysPolicyRuleType → SysPolicyRuleType

    Join on PolicyRuleType = SysPolicyRuleType.RecId

    Many PayrollPremiumEarningCode records → exactly one SysPolicyRuleType record

Get this data out

Tables are not exposed directly. These public entities read from PayrollPremiumEarningCode; use one of them in Power BI, Power Platform or a data management project.

Need help with PayrollPremiumEarningCode in a report, an integration or a migration? Talk to Dr Dynamics.

Email sales@drdynamics.co.uk