Below are the findings till now:
1. BlueCoat:
Total 226 records found.
Out of those, 224 are for Plan design ID 29 and have similar pattern. For one of the two duplicate entries Datetimestamp does not match from main table and history table. The date in History table is '08/17/2016'. So we went through JIRA records if there were any corrections. WT-4103 has Vishal's comment on same date for same company. When we revisited his scripts, datetimestamp, userid were updated and script did not contain duplicate enrollments.
This is caused due to correction and we were not able to find further details.
Remaining 2 records were for plandesign 10. The Eligibility routine was failed on '07/29/2016'. So new enrollment was inserted but old one was not terminated. The cause for failure was NULL values in "isApprovalPending" in Employee_Enrollment_WavedBenefitTypes. This issue still exists and getting reproduced.
We have created WT-10100 and assigned to Enrollment team to solve the issue.
2. WindStream:
the data contains multiple enrollments in same BenefitType. As per discussion with Amruta, we are keeping this on low priority for now.
3. UND:
One of the two duplicate elections has UserID 1. So considering this as correction. Also datetimestamp is mismatch in main and history table.
4. Karma:
Following is the pattern we observed on this company: All happened in Intermediate table.
1. An active enrollment was inserted.
2. Another active enrollment was inserted in same plan or a plan from same benefit type and first enrollment was terminated.
3. User Ivette Jimenez reinstated the old enrollment. The noticeable thing here is all employees have same pattern and elections were reinstated by same user.
4. There's no import on that day OR employee's data was not changed. The Enrollment mode is general.
As per discussion with Avnish, this was a issue that old plan is reinstated when data is changed with back date. But in 2 cases the scenario is happened for single employee. There's no conclusion yet.
Avnish Yadav
While observing pattern, please try to reproduce this and fix this. If its from import then send examples to suraj
Suraj Sokasane
Need to reproduce and fix on import.