HcmWorkerEnrolledBenefit::validateBenefitEnrollmentPeriod Method
Validates the enrollment period for the benefit parameter.
Syntax
client server public static List validateBenefitEnrollmentPeriod(
HcmBenefit _benefit,
ValidFromDateTime _enrollmentValidFromDate,
ValidToDateTime _enrollmentValidToDate)
Run On
Called
Parameters
- _benefit
Type: HcmBenefit Table
The benefit in which to validate.
- _enrollmentValidFromDate
Type: ValidFromDateTime Extended Data Type
The starting date of the enrollment period.
- _enrollmentValidToDate
Type: ValidToDateTime Extended Data Type
The ending date of the enrollment period.
Return Value
Type: List Class
A list of enumerated error types that represent if an error has occurred.