1368: open c_abr(l_ecr.acty_base_rt_id,l_rt_strt_dt);
1369: fetch c_abr into l_abr;
1370: close c_abr;
1371: --
1372: -- get old values on standard rate
1373: --
1374: if not (l_prv.rt_strt_dt between l_abr.effective_start_date and
1375: l_abr.effective_end_date) then
1376: open c_abr(l_ecr.acty_base_rt_id,l_prv.rt_strt_dt);
1901: end loop; -- c_epr
1902:
1903: end if; -- l_bnft_changed
1904: --
1905: -- Bug#2776740 - if the standard rate already enrolled is not valid in this life event
1906: -- then end the participant rate
1907: ben_det_enrt_rates.end_prtt_rt_val
1908: (p_person_id => l_pen.person_id
1909: ,p_per_in_ler_id => p_per_in_ler_id