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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
PremiumEarningCodeUnique ID of the premium code. | String (50)PayrollPremiumEarningCodeId | Yes | PayrollPremiumEarningCodeEntityPayrollPremiumEarningCodeActiveIntervalEntityPayrollEarningStatementLineEntity | |
CalculationFrequencyPayroll calculation frequency linked to the premium code. | Int64PayrollCalculationFrequencyRecId | Yes | PayrollCalculationFrequency.RecId | PayrollPremiumEarningCodeEntity |
DescriptionShort text describing the premium code. | String (60)PayrollPremiumEarningCodeDescription | Yes | PayrollPremiumEarningCodeEntityPayrollEarningStatementLineInquiryEntity | |
EarningCodeEarning code linked to the premium code. | Int64PayrollEarningCodeRecId | Yes | PayrollEarningCode.RecId | PayrollPremiumEarningCodeEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PayoutBasisShows whether the payout is based on the earnings statement or on the earning line. | EnumPayrollPayoutBasis (enum) | Yes | PayrollPremiumEarningCodeEntity | |
PolicyRuleTypePolicy rule type used for the premium earning. | Int64RefRecId | Yes | SysPolicyRuleType.RecId | PayrollPremiumEarningCodeEntity |
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 (1)
PremiumCodeIdxReplacement keyUnique, alternate key.
Relations (3)
Each relation joins PayrollPremiumEarningCode to another table on the fields shown.
CalculationFrequency→PayrollCalculationFrequencyJoin on
CalculationFrequency = PayrollCalculationFrequency.RecIdMany PayrollPremiumEarningCode records → exactly one PayrollCalculationFrequency record
EarningCode→PayrollEarningCodeJoin on
EarningCode = PayrollEarningCode.RecIdMany PayrollPremiumEarningCode records → exactly one PayrollEarningCode record
SysPolicyRuleType→SysPolicyRuleTypeJoin on
PolicyRuleType = SysPolicyRuleType.RecIdMany 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.
PayrollPremiumEarningCodeEntity· 6 fields from this tablePayrollPremiumEarningCodeActiveIntervalEntity· 1 field from this tablePayrollEarningStatementLineEntity· 1 field from this tablePayrollEarningStatementLineInquiryEntity· 1 field from this table
Need help with PayrollPremiumEarningCode in a report, an integration or a migration? Talk to Dr Dynamics.