Functional Description
The purpose of this Named ER is to determine whether an employee is eligible to enroll a plan. If the employee is eligible, the program
determines the eligible date.
Determine Eligibility Age
Setup Notes
Technical Specifications
Parameters DN0800034D Data Structure
Data Item Data Structure DescriptionI/ORequiredTable Notes
DOB jdDateBirth IR F060116
ELMH mnMinimumAmount IR F08390
MTHD szEligibilityMethod IR F08390
EFT jdDateEffectiveRates IR This is the video effective date or
system date
EV01 cInEligibleFlagO
Processing
Initialize cInEligbileFlag = ' '
If mnMinimimumAmount <> 0
MonthsBetweenVariable = months_between(jdDateBirth, jdDateEffectiveRates)
YearsBetweenVariable = MonthsBetweenVariable / 12
If (szEligibilityMethod = 'AM' and YearsBetweenVariable < mnMinimumAmount) OR
(szEligibilityMethod = 'AX' and YearsBetweenVariable > mnMinimumAmount)
Set cInEligbileFlag = '1'
End If
End If
DN0800034D - Determine Eligibility Age
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
jdDateBirth | DOB | JDEDATE | NONE | NONE |
The employee's date of birth. | ||||
mnMinimumAmount | ELMH | MATH_NUMERIC | NONE | NONE |
The minimum requirement that must be met to satisfy the eligibility requirements. The minimum is associated with the method that you use
| ||||
szEligibilityMethod | MTHD | char | NONE | NONE |
A code that the system uses to calculate eligibility. Use this field in conjunction with the Amount field (data item ELMH).
For example, if the
| ||||
jdDateEffectiveRates | EFT | JDEDATE | NONE | NONE |
The date that identifies when a date is first valid. The effective date is used generically. It can be a lease effective date, a price or cost
| ||||
cInEligibleFlag | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. |
None |
None |