DBA Data[Home] [Help]

APPS.BEN_VPF_BUS SQL Statements

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

Line: 314

cursor c1 is select null
             from   ben_vrbl_rt_prfl_f
             Where  vrbl_rt_prfl_id <> nvl(p_vrbl_rt_prfl_id,-1)
             and    name = p_name
             and    business_group_id = p_business_group_id;
Line: 634

    select null
    from   ff_formulas_f ff
           ,per_business_groups pbg
    where  ff.formula_id = p_val_calc_rl
    and    ff.formula_type_id in (-171, -49, -507)
    and    pbg.business_group_id = p_business_group_id
    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: 727

    select null
    from   ff_formulas_f ff
           ,per_business_groups pbg
    where  ff.formula_id = p_rndg_rl
    and    ff.formula_type_id = -169
    and    pbg.business_group_id = p_business_group_id
    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: 820

    select null
    from   ff_formulas_f ff
           ,per_business_groups pbg
    where  ff.formula_id = p_lwr_lmt_calc_rl
    and    ff.formula_type_id in (-392, -511, -512)
    and    pbg.business_group_id = p_business_group_id
    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: 914

    select null
    from   ff_formulas_f ff
           ,per_business_groups pbg
    where  ff.formula_id = p_ultmt_lwr_lmt_calc_rl
    and    ff.formula_type_id in (-392, -511, -512)
    and    pbg.business_group_id = p_business_group_id
    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: 1011

    select null
    from   ff_formulas_f ff
           ,per_business_groups pbg
    where  ff.formula_id = p_upr_lmt_calc_rl
    and    ff.formula_type_id in (-293, -514, -515)
    and    pbg.business_group_id = p_business_group_id
    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: 1105

    select null
    from   ff_formulas_f ff
           ,per_business_groups pbg
    where  ff.formula_id = p_ultmt_upr_lmt_calc_rl
    and    ff.formula_type_id in (-293, -514, -515)
    and    pbg.business_group_id = p_business_group_id
    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: 2370

  cursor c1 is select null
             from   ben_ttl_prtt_rt_f
             Where  vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
             and    business_group_id = p_business_group_id
             and    p_effective_date between effective_start_date
             and    effective_end_date;
Line: 2437

  cursor c1 is select null
  	       from ben_elig_ttl_prtt_prte_f etp, ben_vrbl_rt_elig_prfl_f vep
	       where vep.eligy_prfl_id = etp.eligy_prfl_id
	       and vep.vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
	       and vep.business_group_id = p_business_Group_id
	       and p_effective_date between vep.effective_start_date and vep.effective_end_date
	       and etp.business_group_id = p_business_Group_id
	       and p_effective_date between etp.effective_start_date and etp.effective_end_date;
Line: 2503

  cursor c1 is select null
             from   ben_ttl_cvg_vol_rt_f
             Where  vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
             and    business_group_id = p_business_group_id
             and    p_effective_date between effective_start_date
             and    effective_end_date;
Line: 2569

 cursor c1 is select null
  	       from ben_elig_ttl_cvg_vol_prte_f etc, ben_vrbl_rt_elig_prfl_f vep
	       where vep.eligy_prfl_id = etc.eligy_prfl_id
	       and vep.vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
	       and vep.business_group_id = p_business_Group_id
	       and p_effective_date between vep.effective_start_date and vep.effective_end_date
	       and etc.business_group_id = p_business_Group_id
	       and p_effective_date between etc.effective_start_date and etc.effective_end_date;
Line: 2732

    select null
    from   ben_ttl_cvg_vol_rt_f a

    where  a.business_group_id +0 = p_business_group_id
    and    a.vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
    and    p_effective_date
           between a.effective_start_date
           and     a.effective_end_date;
Line: 2742

    select null
    from   ben_ttl_prtt_rt_f a
    where  a.business_group_id +0 = p_business_group_id
    and    a.vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
    and    p_effective_date
           between a.effective_start_date
           and     a.effective_end_date;
Line: 2845

  cursor c1 is select null
  	       from ben_elig_ttl_cvg_vol_prte_f etc, ben_vrbl_rt_elig_prfl_f vep
	       where vep.eligy_prfl_id = etc.eligy_prfl_id
	       and vep.vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
	       and vep.business_group_id = p_business_Group_id
	       and p_effective_date between vep.effective_start_date and vep.effective_end_date
	       and etc.business_group_id = p_business_Group_id
	       and p_effective_date between etc.effective_start_date and etc.effective_end_date;
Line: 2854

  cursor c2 is select null
  	       from ben_elig_ttl_prtt_prte_f etp, ben_vrbl_rt_elig_prfl_f vep
	       where vep.eligy_prfl_id = etp.eligy_prfl_id
	       and vep.vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
	       and vep.business_group_id = p_business_Group_id
	       and p_effective_date between vep.effective_start_date and vep.effective_end_date
	       and etp.business_group_id = p_business_Group_id
	       and p_effective_date between etp.effective_start_date and etp.effective_end_date;
Line: 3883

Procedure dt_update_validate
            (p_oipl_id                       in number default hr_api.g_number,
             p_pl_typ_opt_typ_id             in number default hr_api.g_number,
             p_pl_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: 3974

End dt_update_validate;
Line: 4011

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

  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: 4701

End dt_delete_validate;
Line: 4920

Procedure insert_validate
	(p_rec 			 in ben_vpf_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: 5213

End insert_validate;
Line: 5218

Procedure update_validate
	(p_rec 			 in ben_vpf_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: 5520

  dt_update_validate
    (p_oipl_id                       => p_rec.oipl_id,
     p_pl_typ_opt_typ_id             => p_rec.pl_typ_opt_typ_id,
     p_pl_id                         => p_rec.pl_id,
     p_datetrack_mode                => p_datetrack_mode,
     p_validation_start_date	     => p_validation_start_date,
     p_validation_end_date	     => p_validation_end_date);
Line: 5531

End update_validate;
Line: 5536

Procedure delete_validate
	(p_rec 			 in ben_vpf_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: 5547

      SELECT vpf.NAME
        FROM ben_vrbl_rt_prfl_f vpf
       WHERE vpf.vrbl_rt_prfl_id = p_rec.vrbl_rt_prfl_id
         AND p_effective_date BETWEEN vpf.effective_start_date
                                  AND vpf.effective_end_date;
Line: 5566

  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_name                     => l_vpf_name,
     p_vrbl_rt_prfl_id		=> p_rec.vrbl_rt_prfl_id);
Line: 5574

End delete_validate;
Line: 5587

    select a.legislation_code
    from   per_business_groups a,
           ben_vrbl_rt_prfl_f b
    where b.vrbl_rt_prfl_id   = p_vrbl_rt_prfl_id
    and   a.business_group_id = b.business_group_id;