FireGeek21
Technical User
Well, thanks to health care reform, I have a new challenge on my hands! I have been looking at this on and off for a few days now and can't seem to resolve this. Hoping someone can guide me in the right direction.
Basically, we need to list when someone has not elected a medical plan - therefore, they have in fact "waived" the plan. We have a Benefit table with Type and Code as follows:
HL - CC (medical)
HL - CO (medical)
HL - CT (medical)
HL - VS (vision)
HL - EP (eap)
DN - DN (dental)
EL - LF (basic life)
DL - DL (dependent life)
HS - HA (hsa)
HS - HC (health care flex)
HS - DC (dependent care flex)
We need to show each employee and all the plans they have elected. BUT, when it comes to the 3 medical plans, if they did not elect one, we need to show "Waived". Right now, I get "Waived" for all plans not elected (dental, life, health savings...) or I get only "Waived" and nothing else.
I have tried a variety of IF statements and Case statements with IF. The report pulls in the Benefit table and an employee table at the basic level. It also shows dependents that are covered under the various plans.
Finally, the report has grouping. The two levels of concern are the first which is on the employee, the second is on the benefit code.
It seems I need a formula that will create another "code" for waived medical" which does not exist in the table.
THOUGHTS??? THANKS!!!
FireGeek
(currently using Crystal Reports XI with Lawson 9.01)
Basically, we need to list when someone has not elected a medical plan - therefore, they have in fact "waived" the plan. We have a Benefit table with Type and Code as follows:
HL - CC (medical)
HL - CO (medical)
HL - CT (medical)
HL - VS (vision)
HL - EP (eap)
DN - DN (dental)
EL - LF (basic life)
DL - DL (dependent life)
HS - HA (hsa)
HS - HC (health care flex)
HS - DC (dependent care flex)
We need to show each employee and all the plans they have elected. BUT, when it comes to the 3 medical plans, if they did not elect one, we need to show "Waived". Right now, I get "Waived" for all plans not elected (dental, life, health savings...) or I get only "Waived" and nothing else.
I have tried a variety of IF statements and Case statements with IF. The report pulls in the Benefit table and an employee table at the basic level. It also shows dependents that are covered under the various plans.
Finally, the report has grouping. The two levels of concern are the first which is on the employee, the second is on the benefit code.
It seems I need a formula that will create another "code" for waived medical" which does not exist in the table.
THOUGHTS??? THANKS!!!
FireGeek
(currently using Crystal Reports XI with Lawson 9.01)