DBA Data[Home] [Help]

APPS.BEN_PIL_BUS SQL Statements

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

Line: 112

    select null
    from   ben_ler_f a
    where  a.ler_id = p_ler_id
    and    p_effective_date
           between a.effective_start_date
           and     a.effective_end_date;
Line: 192

    select null
    from   per_all_people_f a
    where  a.person_id = p_person_id
    and    p_effective_date
           between a.effective_start_date
           and     a.effective_end_date;
Line: 413

    select null
    from   ben_per_in_ler a
    where  a.per_in_ler_id = p_bckt_per_in_ler_id;
Line: 468

   select per1.full_name person1,
          per2.full_name person2
     from ben_cwb_group_hrchy cwb1,
          ben_per_in_ler pil1,
          per_all_people_f per1,
          per_all_people_f per2
    where cwb1.mgr_per_in_ler_id = p_per_in_ler_id
      and cwb1.lvl_num > 0
      and pil1.per_in_ler_id = cwb1.mgr_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_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 pil2.per_in_ler_id = cwb1.emp_per_in_ler_id);
Line: 520

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

End insert_validate;
Line: 562

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

End update_validate;
Line: 608

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

End delete_validate;
Line: 632

    select a.legislation_code
    from   per_business_groups a,
           ben_per_in_ler b
    where b.per_in_ler_id      = p_per_in_ler_id
    and   a.business_group_id = b.business_group_id;