DBA Data[Home] [Help]

APPS.BEN_PEL_BUS SQL Statements

The following lines contain the word 'select', 'insert', 'update' or 'delete':

Line: 111

      select null
        from fnd_currencies_tl
       where currency_code = p_uom     ;
Line: 186

    select null
      from  ben_per_in_ler a
     where  a.per_in_ler_id = p_per_in_ler_id
       and  a.per_in_ler_stat_cd = 'STRTD';
Line: 264

    select null
    from   ben_lee_rsn_f a
    where  a.lee_rsn_id = p_lee_rsn_id
    and    p_effective_date
           between a.effective_start_date
           and     a.effective_end_date;
Line: 342

    select null
    from   ben_enrt_perd a
    where  a.enrt_perd_id = p_enrt_perd_id;
Line: 1164

  select sysdate
  from   dual;
Line: 1255

   select per1.full_name person1,
          per2.full_name person2
     from ben_cwb_hrchy cwb1,
          ben_pil_elctbl_chc_popl pel1,
          ben_per_in_ler pil1,
          per_all_people_f per1,
          per_all_people_f per2
    where cwb1.mgr_pil_elctbl_chc_popl_id = p_pil_elctbl_chc_popl_id
      and cwb1.lvl_num > 0
      and pel1.pil_elctbl_chc_popl_id = cwb1.mgr_pil_elctbl_chc_popl_id
      and pil1.per_in_ler_id = pel1.per_in_ler_id
      and per1.person_id = pil1.person_id
      and trunc(p_effective_date) between per1.effective_start_date
      and per1.effective_end_date
      and per2.person_id = p_ws_mgr_id
      and trunc(p_effective_date) between per2.effective_start_date
      and per2.effective_end_date
      and exists
      ( select 'x'
          from ben_pil_elctbl_chc_popl pel2,
               ben_per_in_ler pil2
         where pil2.person_id = p_ws_mgr_id
           and pil2.lf_evt_ocrd_dt = pil1.lf_evt_ocrd_dt
           and pil2.ler_id = pil1.ler_id
           and pel2.per_in_ler_id = pil2.per_in_ler_id
           and pel2.pl_id = pel1.pl_id
           and pel2.pil_elctbl_chc_popl_id = cwb1.emp_pil_elctbl_chc_popl_id);
Line: 1312

Procedure insert_validate(p_rec in ben_pel_shd.g_rec_type
                         ,p_effective_date in date) is
--
  l_proc  varchar2(72) := g_package||'insert_validate';
Line: 1428

End insert_validate;
Line: 1433

Procedure update_validate(p_rec in ben_pel_shd.g_rec_type
                         ,p_effective_date in date) is
--
  l_proc  varchar2(72) := g_package||'update_validate';
Line: 1568

End update_validate;
Line: 1573

Procedure delete_validate(p_rec in ben_pel_shd.g_rec_type
                         ,p_effective_date in date) is
--
  l_proc  varchar2(72) := g_package||'delete_validate';
Line: 1584

End delete_validate;
Line: 1597

    select a.legislation_code
    from   per_business_groups a,
           ben_pil_elctbl_chc_popl b
    where b.pil_elctbl_chc_popl_id      = p_pil_elctbl_chc_popl_id
    and   a.business_group_id = b.business_group_id;