HcmBenefitOption.benefitOptionHasBenefit Method

Checks to see whether the current record has any associated records in the HcmBenefit table.

Syntax

public boolean benefitOptionHasBenefit([boolean _activeBenefitOnly])

Run On

Called

Parameters

  • _activeBenefitOnly
    Type: boolean
    A Boolean value that specifies whether to only consider the currently active benefit records; optional.

Return Value

Type: boolean
true if there are associated records in the HcmBenefit table; otherwise, false.

Remarks

This method is mainly used for validation.

See Also

Reference

HcmBenefitOption Table