PayrollEarningStatementLine::updateLinesStatusByHeaderPosition Method
Updates the status of the earning statement lines, based on the earning statement header.
Syntax
client server public static int updateLinesStatusByHeaderPosition(
PayrollEarningStatementRecId _earningStatementRecId,
HcmPositionRecId _positionRecId,
PayrollEarningPaymentProcessingAction _paymentAction,
[boolean _releaseOnholdEarnings])
Run On
Called
Parameters
- _earningStatementRecId
Type: PayrollEarningStatementRecId Extended Data Type
The earning statement record ID.
- _positionRecId
Type: HcmPositionRecId Extended Data Type
The position field of the earning statement line to process.
- _paymentAction
Type: PayrollEarningPaymentProcessingAction Enumeration
The type of action to perform on the earning statement lines.
- _releaseOnholdEarnings
Type: boolean
A Boolean value that indicates whether to release earning statement lines that include the on-hold earning statement lines.
Return Value
Type: int
The number of rows that the method has updated.