Table
PayrollPayStatementLine
Pay statement lines
Holds the lines of a pay statement. Each line links to its pay statement, a position, a source document line and a vendor transaction. It records the amount, accounting date and the source of the line. A line can point to the line it reverses.
- Table name
PayrollPayStatementLine- 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 (25)
| Field and description | Type / EDT / enum | Mandatory | References | In public entities |
|---|---|---|---|---|
AccountingCurrencyAmountAmount of the line. | RealPayrollStatementAccountingCurrencyAmount | Yes | PayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntityand 3 more | |
AccountingDateAccounting date of the line. | DateAccountingDate | Yes | PayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntityand 2 more | |
AccountingDistributionTemplateAccounting distribution template used for the line. | Int64AccountingDistributionTemplateRecId | No | AccountingDistributionTemplate.RecId | PayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntity |
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 | None | |
InstanceRelationTypeTechnical type ID of the record.low confidence | Int64RelationType | No | None | |
IsEmployerYes/no flag for an employer contribution. | EnumNoYesIdNoYes (enum) | No | PayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntityand 1 more | |
IsLineLockedYes/no flag showing the line is locked. | EnumNoYesIdNoYes (enum) | No | PayrollPayStatementBenefitLineEntity | |
IsMarkedForRemovalYes/no flag showing the line is to be removed. | EnumNoYesIdNoYes (enum) | No | PayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntity | |
IsPayStatementLineOverriddenYes/no flag showing the line was overridden and is locked. | EnumNoYesIdNoYes (enum) | No | PayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntity | |
LineNumLine number. | RealLineNum | No | PayrollPayStatementBenefitLineEntityPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityand 6 more | |
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 | |
PartitionA system field for the data partition. In most environments every record has the same value. System field. | Int64Partition | No | None | |
PayStatementPay statement the line belongs to. | Int64PayrollPayStatementRecId | Yes | PayrollPayStatement.RecId | PayrollPayStatementBenefitLineEntityPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityand 3 more |
PositionPosition linked to the line. | Int64HcmPositionRecId | No | HcmPosition.RecId | PayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntity |
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 | |
ReversedPayStatementLinePay statement line that this one reverses. | Int64PayrollPayStatementLineRecId | No | PayrollPayStatementLine.RecId | PayrollPayStatementBenefitLineEntityPayrollPayStatementTaxLineEntity |
SourceWhere the line came from, such as earnings, benefit, tax code or manual entry. | EnumPayrollPayStatementLineSource (enum) | No | PayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntityand 2 more | |
SourceDocumentLineSource document line linked to this line. | Int64SourceDocumentLineRecId | No | SourceDocumentLine.RecId | PayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntity |
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 | |
VendTransVendor transaction referenced by the line. | Int64VendTransRefRecId | No | VendTrans.RecId | None |
Indexes (3)
SourceDocumentLineIdxSourceDocumentLine,Partition,dataAreaIdNot unique.
PayStatementIsMarkedForRemovalIdxPayStatement,IsMarkedForRemoval,InstanceRelationType,SourceNot unique.
LineNumIdxUnique, alternate key.
Relations (6)
Each relation joins PayrollPayStatementLine to another table on the fields shown.
AccountingDistributionTemplate_FK→AccountingDistributionTemplateJoin on
AccountingDistributionTemplate = AccountingDistributionTemplate.RecIdMany PayrollPayStatementLine records → zero or one AccountingDistributionTemplate record
PayStatement_FK→PayrollPayStatementJoin on
PayStatement = PayrollPayStatement.RecIdMany PayrollPayStatementLine records → exactly one PayrollPayStatement record
Position_FK→HcmPositionJoin on
Position = HcmPosition.RecIdMany PayrollPayStatementLine records → exactly one HcmPosition record
ReversedPayStatementLine_FK→PayrollPayStatementLineJoin on
ReversedPayStatementLine = PayrollPayStatementLine.RecIdZero or one PayrollPayStatementLine record → exactly one PayrollPayStatementLine record
SourceDocumentLine_FK→SourceDocumentLineJoin on
SourceDocumentLine = SourceDocumentLine.RecIdMany PayrollPayStatementLine records → exactly one SourceDocumentLine record
VendTrans_FK→VendTransJoin on
VendTrans = VendTrans.RecIdMany PayrollPayStatementLine records → zero or one VendTrans record
Get this data out
Tables are not exposed directly. These public entities read from PayrollPayStatementLine; use one of them in Power BI, Power Platform or a data management project.
PayrollPayStatementBenefitLineEntity· 15 fields from this tablePayrollPayStatementEarningLineEntity· 13 fields from this tablePayrollPayStatementTaxLineEntity· 14 fields from this tablePayrollEssPayStatementLineEntity· 2 fields from this tablePayrollPayStatementBenefitLineInquiryEntity· 5 fields from this tablePayrollPayStatementEarningLineInquiryEntity· 4 fields from this table
Need help with PayrollPayStatementLine in a report, an integration or a migration? Talk to Dr Dynamics.