Share via


HcmBenefitPlan.benefitPlanHasBenefit Method

Indicates whether the current record has any associated records in the HcmBenefit table.

Syntax

public boolean benefitPlanHasBenefit([boolean _activeBenefitOnly])

Run On

Called

Parameters

  • _activeBenefitOnly
    Type: boolean
    A Boolean value that specifies whether to only consider 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

HcmBenefitPlan Table