DBA Data[Home] [Help]

APPS.BEN_PRG_BUS SQL Statements

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

Line: 117

    select null
    from   ben_rptg_grp bnr
    where  bnr.rptg_grp_id = p_rptg_grp_id
     and   nvl(bnr.business_group_id,p_business_group_id) <> p_business_group_id ;
Line: 185

    select null
    from   ben_rptg_grp a
    where  a.rptg_grp_id = p_rptg_grp_id;
Line: 263

    select null
    from   ff_formulas_f ff
           ,per_business_groups pbg
    where  ff.formula_id = p_hghly_compd_det_rl
    and    ff.formula_type_id = -31
    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: 355

    select null
    from   ff_formulas_f ff
           ,per_business_groups pbg
    where  ff.formula_id = p_key_ee_det_rl
    and    ff.formula_type_id = -39
    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: 447

    select null
    from   ff_formulas_f ff
           ,per_business_groups pbg
    where  ff.formula_id = p_cntr_nndscrn_rl
    and    ff.formula_type_id = -42
    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: 539

    select null
    from   ff_formulas_f ff
           ,per_business_groups pbg
    where  ff.formula_id = p_cvg_nndscrn_rl
    and    ff.formula_type_id = -41
    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: 631

    select null
    from   ff_formulas_f ff
           ,per_business_groups pbg
    where  ff.formula_id = p_five_pct_ownr_rl
    and    ff.formula_type_id = -154
    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: 784

Procedure dt_update_validate
            (p_hghly_compd_det_rl            in number default hr_api.g_number,
             p_key_ee_det_rl                 in number default hr_api.g_number,
             p_cntr_nndscrn_rl               in number default hr_api.g_number,
             p_cvg_nndscrn_rl                in number default hr_api.g_number,
             p_five_pct_ownr_rl              in number default hr_api.g_number,
             p_regn_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: 919

End dt_update_validate;
Line: 956

Procedure dt_delete_validate
            (p_pl_regn_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: 979

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

End dt_delete_validate;
Line: 1028

Procedure insert_validate
	(p_rec 			 in ben_prg_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: 1115

End insert_validate;
Line: 1120

Procedure update_validate
	(p_rec 			 in ben_prg_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: 1207

  dt_update_validate
    (p_hghly_compd_det_rl            => p_rec.hghly_compd_det_rl,
     p_key_ee_det_rl                 => p_rec.key_ee_det_rl,
     p_cntr_nndscrn_rl               => p_rec.cntr_nndscrn_rl,
     p_cvg_nndscrn_rl                => p_rec.cvg_nndscrn_rl,
     p_five_pct_ownr_rl              => p_rec.five_pct_ownr_rl,
     p_regn_id                       => p_rec.regn_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: 1220

End update_validate;
Line: 1225

Procedure delete_validate
	(p_rec 			 in ben_prg_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: 1239

  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_pl_regn_id		=> p_rec.pl_regn_id);
Line: 1246

End delete_validate;
Line: 1257

    select a.legislation_code
    from   per_business_groups a,
           ben_pl_regn_f b
    where b.pl_regn_id        = p_pl_regn_id
    and   a.business_group_id = b.business_group_id;