Table
PayrollPayStatementEarningLine
Pay statement earning lines
Holds earning-specific details for a pay statement line. It records the earning code, date, rate and quantity. It also links to the worker's tax region and to benefits for compensation and liability insurance.
- Table name
PayrollPayStatementEarningLine- Module
Payroll- Table group
WorksheetLine- Table type
Regular- Data per company
Yes- Configuration key
PayrollAdministration- Primary index
None- Replacement key
None- Key fields
None- Model
Foundation- Extends
PayrollPayStatementLine
Fields (14)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | PayrollPayStatementEarningLineEntity | |
EarningCodeEarning code applied to the line. | Int64PayrollEarningCodeRecId | Yes | PayrollEarningCode.RecId | PayrollPayStatementEarningLineEntity |
EarningDateDate of the earnings. | DatePayrollPayStatementEarningDate | No | PayrollPayStatementEarningLineEntity | |
EarningRateRate applied to the earnings. | RealPayrollEarningRate | Yes | PayrollPayStatementEarningLineEntityPayrollPayStatementEarningLineInquiryEntity | |
InstanceRelationTypeShows which table in a table inheritance hierarchy the record belongs to. System field. | Int64RelationType | No | None | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
QuantityQuantity of earnings, such as hours. | RealPayrollEarningQuantity | Yes | PayrollPayStatementEarningLineEntityPayrollPayStatementEarningLineInquiryEntity | |
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 | |
SysRowVersionA system row version number that is used for change tracking. System field. | Int64SysRowVersion | No | None | |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkerCompensationBenefitBenefit used as the workers' compensation code. | Int64HcmBenefitRecId | No | HcmBenefit.RecId | PayrollPayStatementEarningLineEntity |
WorkerGeneralLiabilityInsuranceBenefitBenefit used for general liability insurance. | Int64HcmBenefitRecId | No | HcmBenefit.RecId | PayrollPayStatementEarningLineEntity |
WorkerTaxRegionWorker tax region linked to the line. | Int64PayrollWorkerTaxRegionRecId | Yes | PayrollWorkerTaxRegion.RecId | PayrollPayStatementEarningLineEntity |
Indexes (1)
EarningCodeIdxEarningCode,dataAreaId,PartitionNot unique.
Relations (5)
Each relation joins PayrollPayStatementEarningLine to another table on the fields shown.
EarningCode_FK→PayrollEarningCodeJoin on
EarningCode = PayrollEarningCode.RecIdMany PayrollPayStatementEarningLine records → exactly one PayrollEarningCode record
PayStatementLineEarning_FK→PayrollPayStatementLineJoin on
RecId = PayrollPayStatementLine.RecIdZero or one PayrollPayStatementEarningLine record → exactly one PayrollPayStatementLine record
WorkerCompensationBenefit_FK→HcmBenefitJoin on
WorkerCompensationBenefit = HcmBenefit.RecIdMany PayrollPayStatementEarningLine records → exactly one HcmBenefit record
WorkerGeneralLiabilityInsuranceBenefitFK→HcmBenefitJoin on
WorkerGeneralLiabilityInsuranceBenefit = HcmBenefit.RecIdMany PayrollPayStatementEarningLine records → zero or one HcmBenefit record
WorkerTaxRegion_FK→PayrollWorkerTaxRegionJoin on
WorkerTaxRegion = PayrollWorkerTaxRegion.RecIdMany PayrollPayStatementEarningLine records → exactly one PayrollWorkerTaxRegion record
Get this data out
Tables are not exposed directly. These public entities read from PayrollPayStatementEarningLine; use one of them in Power BI, Power Platform or a data management project.
PayrollPayStatementEarningLineEntity· 8 fields from this tablePayrollPayStatementEarningLineInquiryEntity· 2 fields from this tablePayrollPayStatementBenefitLineEntity· 0 fields from this tablePayrollPayStatementTaxLineEntity· 0 fields from this table
Need help with PayrollPayStatementEarningLine in a report, an integration or a migration? Talk to Dr Dynamics.