HcmBenefit::findBenefitWorkerEnrollment Method
Finds a record for a specified benefit record ID that has worker enrollment in the HcmWorkerEnrolledBenefit table.
Syntax
client server public static HcmWorkerEnrolledBenefit findBenefitWorkerEnrollment(
HcmBenefitRecId _recId,
[utcdatetime _validFrom,
utcdatetime _validTo])
Run On
Called
Parameters
- _recId
Type: HcmBenefitRecId Extended Data Type
The RecId value of the record to find.
- _validFrom
Type: utcdatetime
A ValidFrom field value; optional.
- _validTo
Type: utcdatetime
A ValidTo field value; optional.
Return Value
Type: HcmWorkerEnrolledBenefit Table
A record from the HcmBenefit table.