Compartilhar via


PayrollWorkerTaxRegion::validateBenefitTaxRegionState Method

Validates the state ID for the tax region by matching it with a PayrollPositionWorkerCompensation record.

Syntax

client server public static boolean validateBenefitTaxRegionState(
    HcmPositionRecId _positionRecId, 
    PayrollWorkerTaxRegionRecId _workerTaxRegionRecId, 
    HcmBenefitRecId _workerCompensationBenefitRecId)

Run On

Called

Parameters

Return Value

Type: boolean
true if the worker compensation code is selected for reset; otherwise, false.

Remarks

This method matches the state ID of the tax region and the worker compensation, and it also resets the worker compensation code if the user chooses to reset it.

See Also

Reference

PayrollWorkerTaxRegion Table