Table

PayrollBenefitEarningBasis

Benefit earning basis

Links a benefit to the earning codes that form its earning basis. Each row pairs one earning code with one benefit. The key is earning code plus benefit.

Table name
PayrollBenefitEarningBasis
Module
Cross-module and platform
Table group
Reference
Table type
Regular
Data per company
No
Configuration key
HRMAdministrationPayrollInfo
Primary index
None
Replacement key
BenefitAndEarningCodeIdx_AK1
Key fields
EarningCode, Benefit
Model
PersonnelManagement

Fields (6)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
EarningCodeThe earning code linked to the benefit; points to PayrollEarningCode.Int64
PayrollEarningCodeRecId
YesPayrollEarningCode.RecIdPayrollBenefitEarningBasisEntity
BenefitThe benefit; points to HcmBenefit.Int64
HcmBenefitRecId
YesHcmBenefit.RecIdPayrollBenefitEarningBasisEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
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 (2)

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

  • HcmBenefit → HcmBenefit

    Join on Benefit = HcmBenefit.RecId

    Many PayrollBenefitEarningBasis records → exactly one HcmBenefit record

  • PayrollEarningCode → PayrollEarningCode

    Join on EarningCode = PayrollEarningCode.RecId

    Many PayrollBenefitEarningBasis records → exactly one PayrollEarningCode record

Get this data out

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

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

Email sales@drdynamics.co.uk