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 description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
EarningCodeThe earning code these details belong to, pointing to an earning code record. | Int64PayrollEarningCodeRecId | Yes | PayrollEarningCode.RecId | None |
ValidFromFirst date on which this record is valid. | DateValidFromDate | No | PayrollEarningCodeEntity | |
ValidToLast date on which this record is valid. | DateValidToDate | No | PayrollEarningCodeEntity | |
DefaultFormulaDefault amount or multiplier for the earning code. | RealPayrollEarningCodeDefaultFormula | No | PayrollEarningCodeEntity | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
RateBasisBasis of the rate, such as hourly, monthly, flat amount or percent of earnings. | EnumPayrollRateBasis (enum) | Yes | PayrollEarningCodeEntity | |
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)
EarningCodeDetail_AK1Replacement keyEarningCode,ValidFrom,ValidToUnique, alternate key.
Relations (1)
Each relation joins PayrollEarningCodeDetail to another table on the fields shown.
PayrollEarningCode→PayrollEarningCodeJoin on
EarningCode = PayrollEarningCode.RecIdOne 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.
PayrollEarningCodeEntity· 4 fields from this table
Need help with PayrollEarningCodeDetail in a report, an integration or a migration? Talk to Dr Dynamics.