Table

PayrollEarningCodeDetail

Earning code detail

Holds date-ranged details for an earning code. Each record gives a rate basis and a default amount or multiplier for one earning code over a valid period.

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

Fields (9)

Field and descriptionType / EDT / enumMandatoryReferencesIn public entities
EarningCodeThe earning code these details belong to, pointing to an earning code record.Int64
PayrollEarningCodeRecId
YesPayrollEarningCode.RecIdNone
ValidFromFirst date on which this record is valid.Date
ValidFromDate
NoPayrollEarningCodeEntity
ValidToLast date on which this record is valid.Date
ValidToDate
NoPayrollEarningCodeEntity
DefaultFormulaDefault amount or multiplier for the earning code.Real
PayrollEarningCodeDefaultFormula
NoPayrollEarningCodeEntity
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
RateBasisBasis of the rate, such as hourly, monthly, flat amount or percent of earnings.Enum
PayrollRateBasis (enum)
YesPayrollEarningCodeEntity
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 (1)

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

  • PayrollEarningCode → PayrollEarningCode

    Join on EarningCode = PayrollEarningCode.RecId

    One or more PayrollEarningCodeDetail records → exactly one PayrollEarningCode record

Get this data out

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

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

Email sales@drdynamics.co.uk