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 descriptionType / EDT / enumMandatoryReferencesIn public entities
AccountingCurrencyAmountAmount of the line.Real
PayrollStatementAccountingCurrencyAmount
YesPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntityand 3 more
AccountingDateAccounting date of the line.Date
AccountingDate
YesPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntityand 2 more
AccountingDistributionTemplateAccounting distribution template used for the line.Int64
AccountingDistributionTemplateRecId
NoAccountingDistributionTemplate.RecIdPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntity
CreatedByThe user who created the record. System field.String (20)
CreatedBy
NoNone
CreatedDateTimeThe date and time when the record was created. System field.UtcDateTime
CreatedDateTime
NoNone
DataAreaIdThe company (legal entity) that the record belongs to. System field.String (4)
DataAreaId
NoNone
InstanceRelationTypeTechnical type ID of the record.low confidenceInt64
RelationType
NoNone
IsEmployerYes/no flag for an employer contribution.Enum
NoYesId
NoYes (enum)
NoPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntityand 1 more
IsLineLockedYes/no flag showing the line is locked.Enum
NoYesId
NoYes (enum)
NoPayrollPayStatementBenefitLineEntity
IsMarkedForRemovalYes/no flag showing the line is to be removed.Enum
NoYesId
NoYes (enum)
NoPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntity
IsPayStatementLineOverriddenYes/no flag showing the line was overridden and is locked.Enum
NoYesId
NoYes (enum)
NoPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntity
LineNumLine number.Real
LineNum
NoPayrollPayStatementBenefitLineEntityPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityand 6 more
ModifiedByThe user who last changed the record. System field.String (20)
ModifiedBy
NoNone
ModifiedDateTimeThe date and time when the record was last changed. System field.UtcDateTime
ModifiedDateTime
NoNone
PartitionA system field for the data partition. In most environments every record has the same value. System field.Int64
Partition
NoNone
PayStatementPay statement the line belongs to.Int64
PayrollPayStatementRecId
YesPayrollPayStatement.RecIdPayrollPayStatementBenefitLineEntityPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityand 3 more
PositionPosition linked to the line.Int64
HcmPositionRecId
NoHcmPosition.RecIdPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntity
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
ReversedPayStatementLinePay statement line that this one reverses.Int64
PayrollPayStatementLineRecId
NoPayrollPayStatementLine.RecIdPayrollPayStatementBenefitLineEntityPayrollPayStatementTaxLineEntity
SourceWhere the line came from, such as earnings, benefit, tax code or manual entry.Enum
PayrollPayStatementLineSource (enum)
NoPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntityand 2 more
SourceDocumentLineSource document line linked to this line.Int64
SourceDocumentLineRecId
NoSourceDocumentLine.RecIdPayrollPayStatementBenefitLineEntityPayrollPayStatementEarningLineEntityPayrollPayStatementTaxLineEntity
SysRowVersionA system row version number that is used for change tracking. System field.Int64
SysRowVersion
NoNone
TableIdA system number that identifies the table. System field.Integer
TableId
NoNone
VendTransVendor transaction referenced by the line.Int64
VendTransRefRecId
NoVendTrans.RecIdNone

Indexes (3)

Relations (6)

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

  • AccountingDistributionTemplate_FK → AccountingDistributionTemplate

    Join on AccountingDistributionTemplate = AccountingDistributionTemplate.RecId

    Many PayrollPayStatementLine records → zero or one AccountingDistributionTemplate record

  • PayStatement_FK → PayrollPayStatement

    Join on PayStatement = PayrollPayStatement.RecId

    Many PayrollPayStatementLine records → exactly one PayrollPayStatement record

  • Position_FK → HcmPosition

    Join on Position = HcmPosition.RecId

    Many PayrollPayStatementLine records → exactly one HcmPosition record

  • ReversedPayStatementLine_FK → PayrollPayStatementLine

    Join on ReversedPayStatementLine = PayrollPayStatementLine.RecId

    Zero or one PayrollPayStatementLine record → exactly one PayrollPayStatementLine record

  • SourceDocumentLine_FK → SourceDocumentLine

    Join on SourceDocumentLine = SourceDocumentLine.RecId

    Many PayrollPayStatementLine records → exactly one SourceDocumentLine record

  • VendTrans_FK → VendTrans

    Join on VendTrans = VendTrans.RecId

    Many 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.

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

Email sales@drdynamics.co.uk