Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
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
- _positionRecId
Type: HcmPositionRecId Extended Data Type
The HcmPosition record ID.
- _workerTaxRegionRecId
Type: PayrollWorkerTaxRegionRecId Extended Data Type
The PayrollWorkerTaxRegion record ID.
- _workerCompensationBenefitRecId
Type: HcmBenefitRecId Extended Data Type
The HcmBenefit record ID.
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.