PayrollEarningStatementLine.validateEarningPositionCompensation Method
Checks whether the position has valid worker compensation associated with it.
Syntax
public boolean validateEarningPositionCompensation([HcmPositionRecId _positionRecId, boolean _showError])
Run On
Called
Parameters
- _positionRecId
Type: HcmPositionRecId Extended Data Type
The position record ID that is associated with an earning statement line; optional.
- _showError
Type: boolean
A Boolean value that indicates whether an error message is shown; optional.
Return Value
Type: boolean
true if the position has valid worker compensation; otherwise, false.