DBA Data[Home] [Help]

VIEW: APPS.HR_ATH_ELIGIBLE_ALL_PLANS_V

Source

View Text - Preformatted

SELECT DISTINCT TO_CHAR(pil.person_id) employee_id ,TO_CHAR(ech.pl_id)||'A'||TO_CHAR(ech.plip_id) plan_id ,pel.enrt_perd_strt_dt start_date ,nvl(pel.enrt_perd_end_dt,to_date('12/31/4712','mm/dd/yyyy')) end_date FROM ben_elig_per_elctbl_chc ech ,ben_per_in_ler pil ,ben_pil_elctbl_chc_popl pel WHERE pil.per_in_ler_id = ech.per_in_ler_id and pil.per_in_ler_id = pel.per_in_ler_id and pel.pil_elctbl_chc_popl_id = ech.pil_elctbl_chc_popl_id and pil.per_in_ler_stat_cd = 'STRTD' and ech.pl_id is not null
View Text - HTML Formatted

SELECT DISTINCT TO_CHAR(PIL.PERSON_ID) EMPLOYEE_ID
, TO_CHAR(ECH.PL_ID)||'A'||TO_CHAR(ECH.PLIP_ID) PLAN_ID
, PEL.ENRT_PERD_STRT_DT START_DATE
, NVL(PEL.ENRT_PERD_END_DT
, TO_DATE('12/31/4712'
, 'MM/DD/YYYY')) END_DATE
FROM BEN_ELIG_PER_ELCTBL_CHC ECH
, BEN_PER_IN_LER PIL
, BEN_PIL_ELCTBL_CHC_POPL PEL
WHERE PIL.PER_IN_LER_ID = ECH.PER_IN_LER_ID
AND PIL.PER_IN_LER_ID = PEL.PER_IN_LER_ID
AND PEL.PIL_ELCTBL_CHC_POPL_ID = ECH.PIL_ELCTBL_CHC_POPL_ID
AND PIL.PER_IN_LER_STAT_CD = 'STRTD'
AND ECH.PL_ID IS NOT NULL