PayrollEarningStatementLine::validateGrossUpEarningStmtLine Method
Validates an earning statement line that has an earning code of the gross up type.
Syntax
client server public static boolean validateGrossUpEarningStmtLine(
HcmWorkerRecId _workerRecId,
PayrollPayCycleRecId _payCycleRecId,
PayrollWorkerTaxRegionRecId _taxRegionRecId,
PayrollEarningStatementLineRecId _excludedEarningStatementLineRecId,
[Set _grossEarningStatmentDocNum])
Run On
Called
Parameters
- _workerRecId
Type: HcmWorkerRecId Extended Data Type
The HcmWorker record ID.
- _payCycleRecId
Type: PayrollPayCycleRecId Extended Data Type
The PayrollPayCycle record ID.
- _taxRegionRecId
Type: PayrollWorkerTaxRegionRecId Extended Data Type
The PayrollWorkerTaxRegion record ID.
- _excludedEarningStatementLineRecId
Type: PayrollEarningStatementLineRecId Extended Data Type
The earning statement line to exclude from the search.
- _grossEarningStatmentDocNum
Type: Set Class
The set that contains the earning statement numbers.
Return Value
Type: boolean
true if the earning statement lines have the same tax region; otherwise, false.