DBA Data[Home] [Help]

APPS.BEN_EPA_BUS SQL Statements

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

Line: 284

    select null
    from   ff_formulas_f ff ,
           per_business_groups pbg
    where  ff.formula_id = p_prtn_eff_end_dt_rl
    and    ff.formula_type_id = -83
    and    nvl(ff.business_group_id, p_business_group_id) =
               p_business_group_id
    and    nvl(ff.legislation_code, pbg.legislation_code) =
               pbg.legislation_code
    and    p_effective_date
           between ff.effective_start_date
           and     ff.effective_end_date;
Line: 380

    select null
    from   ff_formulas_f ff ,
           per_business_groups pbg
    where  ff.formula_id = p_prtn_eff_strt_dt_rl
    and    ff.formula_type_id = -82
    and    nvl(ff.business_group_id, p_business_group_id) =
               p_business_group_id
    and    nvl(ff.legislation_code, pbg.legislation_code) =
               pbg.legislation_code
    and    p_effective_date
           between ff.effective_start_date
           and     ff.effective_end_date;
Line: 1351

  select null
    from ben_prtn_elig_f
   where pgm_id = p_pgm_id
     and prtn_elig_id <> nvl(p_prtn_elig_id, hr_api.g_number)
     and business_group_id + 0 = p_business_group_id
     and p_validation_start_date <= effective_end_date
     and p_validation_end_date >= effective_start_date;
Line: 1435

  select null
    from ben_prtn_elig_f
   where pl_id = p_pl_id
     and prtn_elig_id <> nvl(p_prtn_elig_id, hr_api.g_number)
     and business_group_id + 0 = p_business_group_id
     and p_validation_start_date <= effective_end_date
     and p_validation_end_date >= effective_start_date;
Line: 1519

  select null
    from ben_prtn_elig_f
   where oipl_id = p_oipl_id
     and prtn_elig_id <> nvl(p_prtn_elig_id, hr_api.g_number)
     and business_group_id + 0 = p_business_group_id
     and p_validation_start_date <= effective_end_date
     and p_validation_end_date >= effective_start_date;
Line: 1603

  select null
    from ben_prtn_elig_f
   where ptip_id = p_ptip_id
     and prtn_elig_id <> nvl(p_prtn_elig_id, hr_api.g_number)
     and business_group_id+0 = p_business_group_id
     and p_validation_start_date <= effective_end_date
     and p_validation_end_date >= effective_start_date;
Line: 1689

  select null
    from ben_prtn_elig_f
   where plip_id = p_plip_id
     and prtn_elig_id <> nvl(p_prtn_elig_id, hr_api.g_number)
     and business_group_id+0 = p_business_group_id
     and p_validation_start_date <= effective_end_date
     and p_validation_end_date >= effective_start_date;
Line: 1766

Procedure dt_update_validate
            (p_prtn_eff_end_dt_rl            in number default hr_api.g_number,
             p_oipl_id                       in number default hr_api.g_number,
             p_pl_id                         in number default hr_api.g_number,
             p_pgm_id                        in number default hr_api.g_number,
             p_ptip_id                       in number default hr_api.g_number,
             p_plip_id                       in number default hr_api.g_number,
             p_datetrack_mode                in varchar2,
             p_validation_start_date         in date,
             p_validation_end_date           in date)
Is
--
  l_proc        varchar2(72) := g_package||'dt_update_validate';
Line: 1891

End dt_update_validate;
Line: 1928

Procedure dt_delete_validate
            (p_prtn_elig_id        in number,
             p_datetrack_mode        in varchar2,
         p_validation_start_date    in date,
         p_validation_end_date    in date) Is
--
  l_proc    varchar2(72)     := g_package||'dt_delete_validate';
Line: 1951

  If (p_datetrack_mode = 'DELETE' or
      p_datetrack_mode = 'ZAP') then
    --
    --
    -- Ensure the arguments are not null
    --
    hr_api.mandatory_arg_error
      (p_api_name       => l_proc,
       p_argument       => 'validation_start_date',
       p_argument_value => p_validation_start_date);
Line: 2012

End dt_delete_validate;
Line: 2017

Procedure insert_validate
    (p_rec              in ben_epa_shd.g_rec_type,
     p_effective_date     in date,
     p_datetrack_mode     in varchar2,
     p_validation_start_date in date,
     p_validation_end_date     in date) is
--
  l_proc    varchar2(72) := g_package||'insert_validate';
Line: 2189

End insert_validate;
Line: 2195

Procedure update_validate
    (p_rec              in ben_epa_shd.g_rec_type,
     p_effective_date     in date,
     p_datetrack_mode     in varchar2,
     p_validation_start_date in date,
     p_validation_end_date     in date) is
--
  l_proc    varchar2(72) := g_package||'update_validate';
Line: 2367

  dt_update_validate
    (p_prtn_eff_end_dt_rl            => p_rec.prtn_eff_end_dt_rl,
     p_oipl_id                       => p_rec.oipl_id,
     p_pl_id                         => p_rec.pl_id,
     p_pgm_id                        => p_rec.pgm_id,
     p_ptip_id                       => p_rec.ptip_id,
     p_plip_id                       => p_rec.plip_id,
     p_datetrack_mode                => p_datetrack_mode,
     p_validation_start_date         => p_validation_start_date,
     p_validation_end_date         => p_validation_end_date);
Line: 2379

End update_validate;
Line: 2384

Procedure delete_validate
    (p_rec              in ben_epa_shd.g_rec_type,
     p_effective_date     in date,
     p_datetrack_mode     in varchar2,
     p_validation_start_date in date,
     p_validation_end_date     in date) is
--
  l_proc    varchar2(72) := g_package||'delete_validate';
Line: 2398

  dt_delete_validate
    (p_datetrack_mode        => p_datetrack_mode,
     p_validation_start_date    => p_validation_start_date,
     p_validation_end_date    => p_validation_end_date,
     p_prtn_elig_id        => p_rec.prtn_elig_id);
Line: 2405

End delete_validate;
Line: 2418

    select a.legislation_code
    from   per_business_groups a,
           ben_prtn_elig_f b
    where b.prtn_elig_id      = p_prtn_elig_id
    and   a.business_group_id = b.business_group_id;