Functional Description
Purpose
The purpose of this Named ER is to retrieve an enrollment parameter record following a hierarchy.
Setup Notes and Prerequisites
Special Logic
Technical Specification
Initialize all the output parameters to blank.
Hierarchy order:
1.Find enrollment parameter record with the all the original input parameters
Fetch record from F08392 with keys: szPlan, szEligibilityCode010, szEnrollmentStatus, cValidPlan.
If the fetch is successful, set cEnrollmentRecordFoundFlag = '1'
2.If record is not found, find enrollment parameter record to cover all enrollment statuses
Set EnrollmentStatusVariable = '*' and then Fetch record from F08392 with keys: szPlan,
szEligibilityCode010, EnrollmentStatusVariable, cValidPlan. If the fetch is successful, set
cEnrollmentRecordFoundFlag = '1'.
3.If record is not found, find enrollment parameter record to cover all employee benefit statuses
Set EligibilityCode10Varaible = '*'. Fetch record from F08392 with keys: szPlan,
EligibilityCode10Variable, szEnrollmentStatus, cValidPlan. If the fetch is successful, Set cEnrollmentRecordFoundFlag
= '1'
4.If record is not found, find enrollment parameter record to cover all statuses and employee
benefit statuses
FetchSingle F08392 with keys: szPlan, EligibilityCode10Variable, EnrollmentStatusVariable,
cValidPlan. If the fetch is successful, Set cEnrollmentRecordFoundFlag = '1'
5.If record is not found, find enrollment parameter record to cover all plans
Set PlanVariable = ' '. Fetch record from F08392 with keys:PlanVariable, szEligibilityCode010,
szEnrollmentStatus, cValidPlan. If the fetch is successful, Set cEnrollmentRecordFoundFlag = '1'
6.If record is not found, find enrollment parameter record to cover all plans and all enrollment
statuses
Fetch record from F08392 with keys: PlanVariable, szEligibilityCode10, EnrollmentStatusVariable,
cValidPlan. If the fetch is successful, Set cEnrollmentRecordFoundFlag = '1'.
7.If record is not found, find enrollment parameter record to cover all plans and all employee
benefit statuses
Fetch record from F08392 with keys: PlanVariable, Eligibility010Variable, szEnrollmentStatus,
cValidPlan. If the fetch is successful, Set cEnrollmentRecordFoundFlag = '1'.
8.If record is not found, find enrollment parameter record to cover all plans, all enrollment
statuses, and all employee benefit statuses
Fetch record from F08392 with keys: PlanVariable, Eligibility010Variable, EnrollmentStatusVariable,
cValidPlan. If the fetch is successful, Set cEnrollmentRecordFoundFlag = '1'
DN0800036 - Retrieve Enrollment Parameters
Parameter Name | Data Item | Data Type | Req/Opt | I/O/Both |
---|---|---|---|---|
szPlanId | PLAN | char | NONE | NONE |
An abbreviation or number that identifies a specific employee benefit. Examples are:
o Employee Health Insurance
o Accidental Death
| ||||
cEligibilityCode010 | E010 | char | NONE | NONE |
A code to specify an employee's eligibility for or participation in various user defined plans or programs. For example, these codes can be
| ||||
szEnrollmentStatus | XDFS | char | NONE | NONE |
A code that indicates the status of an employee's enrollment in a plan. It is a user defined code (08/ES), and you must use the following
| ||||
cValidPlan | PLNF | char | NONE | NONE |
A code that indicates whether the specified plan is a valid plan for the employee. A valid plan is one that is available within the employee's
| ||||
cPreviousEnrollment | ENRP | char | NONE | NONE |
A code that indicates whether the employee was previously eligible for the plan. Valid values are:
Blank
Do not check for previous
| ||||
cEligibilityCheck | ECHK | char | NONE | NONE |
A code that tells the system which eligibility test to run. Valid codes are:
Blank
Do not test for eligibility.
I
Test for initial eligibility.
C
Test for
| ||||
szEnrollmentStatusEnding | XEST | char | NONE | NONE |
A code that indicates the ending status of an employee's enrollment in a plan. This status represents the reason for ending the old
| ||||
szTerminationCode | TMCD | char | NONE | NONE |
A code that indicates the date that the employee's new enrollment record should begin after it is determined that the employee is not
| ||||
cManualCheck | MCHK | char | NONE | NONE |
A code that indicates whether the enrollment being processed should be printed on the Manual Review Requested report so the record
| ||||
cPreviousEnrollment2 | ENR2 | char | NONE | NONE |
A code to indicate whether the employee was previously eligible for the plan.
Codes are:
blank
Do no check for previous eligibility.
Y
| ||||
cEligibilityCheck2 | ECK2 | char | NONE | NONE |
A code that tells the system which eligibility test to run. Valid values are:
Blank
Do not test for eligibility.
I
Test for initial eligibility.
C
Test for
| ||||
szTerminationCode2 | TCD2 | char | NONE | NONE |
A code to indicate on what date the employee's new enrollment record should begin when no eligibility test is specified in the Enrollment
| ||||
szEnrollmentStatusEnd2 | XST2 | char | NONE | NONE |
A code to indicate the ending status of an employee's enrollment in a plan.
This status represents the reason for ending the old enrollment,
| ||||
cManualCheck2 | MCK2 | char | NONE | NONE |
A code that specifies whether the enrollment being processed should be printed on the Manual Review Requested report. Thus the record
| ||||
cEnrollmentRecordFoundFlag | EV01 | char | NONE | NONE |
An option that specifies the type of processing for an event. |
None |
None |