Table
PayrollEarningStatementLine
Earnings statement lines
Holds the individual lines of an earnings statement. Each line links to its earnings statement header, an earning code, a worker tax region and a work period. A line can also carry project details, a position, benefit references and a premium code. A line can point back to an originating line, and the table has fields for retroactive rates.
- Table name
PayrollEarningStatementLine- 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
Fields (38)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingCurrencyAmountAmount of the earning line in the accounting currency. | RealPayrollEarningAccountingCurrencyAmount | No | PayrollEarningStatementLineEntityPayrollEarningStatementLineInquiryEntity | |
AccountingDateDate used as the accounting date for the line. | DateTransDate | No | PayrollEarningStatementLineEntityPayrollEarningStatementLineInquiryEntity | |
AccountingDistributionTemplateAccounting distribution template linked to the line. | Int64AccountingDistributionTemplateRecId | No | AccountingDistributionTemplate.RecId | None |
CreatedByThe user who created the record. System field. | String (20)CreatedBy | No | None | |
CreatedDateTimeThe date and time when the record was created. System field. | UtcDateTimeCreatedDateTime | No | None | |
DataAreaIdThe company (legal entity) that the record belongs to. System field. | String (4)DataAreaId | No | PayrollEarningStatementLineEntity | |
DefaultDimensionSet of default financial dimension values for the line. | Int64LedgerDefaultDimensionValueSet | No | DimensionAttributeValueSet.RecId | PayrollEarningStatementLineEntity |
EarningCodeEarning code that the line is recorded for. | Int64PayrollEarningCodeRecId | Yes | PayrollEarningCode.RecId | PayrollEarningStatementLineEntity |
EarningDateDate on which the earning applies. | DateTransDate | Yes | PayrollEarningStatementLineEntityPayrollEarningStatementLineInquiryEntity | |
EarningRateRate applied to the earning on this line. | RealPayrollEarningRate | No | PayrollEarningStatementLineEntityPayrollEarningStatementLineInquiryEntity | |
EarningStatementEarnings statement header that this line belongs to. | Int64PayrollEarningStatementRecId | Yes | PayrollEarningStatement.RecId | PayrollEarningStatementLineEntityPayrollEarningStatementLineEntity |
GenerationSourceShows how the line was created, such as user entry, recurring, imported or premium. | EnumPayrollGenerationSource (enum) | Yes | PayrollEarningStatementLineEntityPayrollEarningStatementLineInquiryEntity | |
isEditedYes/No flag showing whether the line was changed after it was created. | EnumNoYesIdNoYes (enum) | No | PayrollEarningStatementLineEntity | |
IsManualYes/No flag showing whether the line was entered manually. | EnumNoYes (enum) | No | PayrollEarningStatementLineEntity | |
LineNumNumber that gives the position of the line. | RealLineNum | No | PayrollEarningStatementLineEntityPayrollEarningStatementLineEntity | |
ModifiedByThe user who last changed the record. System field. | String (20)ModifiedBy | No | None | |
ModifiedDateTimeThe date and time when the record was last changed. System field. | UtcDateTimeModifiedDateTime | No | None | |
NoteFree-text note for the line. | String (-1)Notes | No | PayrollEarningStatementLineEntity | |
OriginatingEarningStatementLineEarnings statement line that this line came from. | Int64PayrollEarningStatementLineRecId | No | PayrollEarningStatementLine.RecId | PayrollEarningStatementLineEntity |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PaymentStatusPayment processing state of the line: none, on hold, released or processed. | EnumPayrollPaymentProcessingStatus (enum) | No | PayrollEarningStatementLineEntityPayrollEarningStatementLineInquiryEntity | |
PayStatementEarningLinePay statement earning line linked to this line. | Int64PayrollPayStatementEarningLineRecId | No | PayrollPayStatementEarningLine.RecId | PayrollEarningStatementLineEntity |
PositionPosition that the line relates to. | Int64HcmPositionRecId | Yes | HcmPosition.RecId | PayrollEarningStatementLineEntity |
PremiumEarningCodePremium code linked to the line. | Int64PayrollPremiumEarningCodeRecId | No | PayrollPremiumEarningCode.RecId | PayrollEarningStatementLineEntity |
ProjActivityNumberProject activity that the line is assigned to. | String (50)ProjActivityNumber | No | ProjActivity.ActivityNumber | PayrollEarningStatementLineEntity |
ProjCategoryIdProject category that the line is assigned to. | String (30)ProjCategoryId | No | ProjCategory.CategoryId | PayrollEarningStatementLineEntity |
ProjIdProject that the line is assigned to. | String (20)ProjId | No | ProjTable.ProjId | PayrollEarningStatementLineEntity |
ProjLinePropertyIdProject line property set on the line. | StringProjLinePropertyId | No | ProjLineProperty.LinePropertyId | PayrollEarningStatementLineEntity |
QuantityQuantity recorded for the earning, for example hours or units. | RealPayrollEarningQuantity | No | PayrollEarningStatementLineEntityPayrollEarningStatementLineInquiryEntity | |
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 | |
RetroactivePriorRateRate that was in place before a retroactive change. | RealPayrollEarningRate | No | PayrollEarningStatementLineEntityPayrollEarningStatementLineInquiryEntity | |
SourceDocumentLineSource document line that the line is linked to. | Int64SourceDocumentLineRecId | No | SourceDocumentLine.RecId | None |
TableIdA system number that identifies the table. System field. | IntegerTableId | No | None | |
WorkerCompensationBenefitBenefit record used as the workers' compensation code for the line. | Int64RefRecId | No | HcmBenefit.RecId | PayrollEarningStatementLineEntity |
WorkerGLIBenefitBenefit record used for general liability insurance on the line. | Int64RefRecId | No | HcmBenefit.RecId | PayrollEarningStatementLineEntity |
WorkerTaxRegionWorker tax region that applies to the line. | Int64PayrollWorkerTaxRegionRecId | Yes | PayrollWorkerTaxRegion.RecId | PayrollEarningStatementLineEntity |
WorkPeriodWork period that the line belongs to. | Int64PayrollWorkPeriodRecId | No | PayrollWorkPeriod.RecId | PayrollEarningStatementLineEntity |
Indexes (4)
PayrollEarningStatementIdxEarningStatement,dataAreaId,PartitionNot unique.
PayStatementEarningLineIdxPayStatementEarningLine,dataAreaId,PartitionNot unique.
SourceDocumentPayStatementEarningLineIdxSourceDocumentLine,PayStatementEarningLine,Partition,dataAreaIdNot unique.
LineNumIdxUnique, alternate key.
Relations (17)
Each relation joins PayrollEarningStatementLine to another table on the fields shown.
AccountingDistributionTemplate→AccountingDistributionTemplateJoin on
AccountingDistributionTemplate = AccountingDistributionTemplate.RecIdMany PayrollEarningStatementLine records → zero or one AccountingDistributionTemplate record
ActivityNumber→ProjActivityJoin on
ProjActivityNumber = ProjActivity.ActivityNumberMany PayrollEarningStatementLine records → zero or one ProjActivity record
DefaultDimension→DimensionAttributeValueSetJoin on
DefaultDimension = DimensionAttributeValueSet.RecIdMany PayrollEarningStatementLine records → zero or one DimensionAttributeValueSet record
EarningCode→PayrollEarningCodeJoin on
EarningCode = PayrollEarningCode.RecIdMany PayrollEarningStatementLine records → exactly one PayrollEarningCode record
EarningStatement→PayrollEarningStatementJoin on
EarningStatement = PayrollEarningStatement.RecIdMany PayrollEarningStatementLine records → exactly one PayrollEarningStatement record
LinePropertyId→ProjLinePropertyJoin on
ProjLinePropertyId = ProjLineProperty.LinePropertyIdMany PayrollEarningStatementLine records → zero or one ProjLineProperty record
PayStatementEarningLine→PayrollPayStatementEarningLineJoin on
PayStatementEarningLine = PayrollPayStatementEarningLine.RecIdMany PayrollEarningStatementLine records → zero or one PayrollPayStatementEarningLine record
Position→HcmPositionJoin on
Position = HcmPosition.RecIdMany PayrollEarningStatementLine records → exactly one HcmPosition record
ProjCategoryId→ProjCategoryJoin on
ProjCategoryId = ProjCategory.CategoryIdMany PayrollEarningStatementLine records → zero or one ProjCategory record
ProjId→ProjTableJoin on
ProjId = ProjTable.ProjIdMany PayrollEarningStatementLine records → exactly one ProjTable record
SourceDocumentLine→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdMany PayrollEarningStatementLine records → zero or one SourceDocumentLine record
WorkerCompensationBenefit→HcmBenefitJoin on
WorkerCompensationBenefit = HcmBenefit.RecIdMany PayrollEarningStatementLine records → zero or one HcmBenefit record
WorkerGeneralLiabilityInsuranceBenefit→HcmBenefitJoin on
WorkerGLIBenefit = HcmBenefit.RecIdMany PayrollEarningStatementLine records → zero or one HcmBenefit record
WorkerTaxRegion→PayrollWorkerTaxRegionJoin on
WorkerTaxRegion = PayrollWorkerTaxRegion.RecIdMany PayrollEarningStatementLine records → exactly one PayrollWorkerTaxRegion record
PayrollEarningStatementLine→PayrollEarningStatementLineJoin on
OriginatingEarningStatementLine = PayrollEarningStatementLine.RecIdMany PayrollEarningStatementLine records → zero or one PayrollEarningStatementLine record
WorkPeriod→PayrollWorkPeriodJoin on
WorkPeriod = PayrollWorkPeriod.RecIdMany PayrollEarningStatementLine records → zero or one PayrollWorkPeriod record
Get this data out
Tables are not exposed directly. These public entities read from PayrollEarningStatementLine; use one of them in Power BI, Power Platform or a data management project.
PayrollEarningStatementLineEntity· 30 fields from this tablePayrollEarningStatementLineInquiryEntity· 8 fields from this table
Need help with PayrollEarningStatementLine in a report, an integration or a migration? Talk to Dr Dynamics.