DBA Data[Home] [Help]

APPS.BEN_EHC_BUS SQL Statements

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

Line: 116

    select null
    from   ben_pl_typ_opt_typ_f pto
    where  pto.pl_typ_opt_typ_id = p_pl_typ_opt_typ_id
    and    pto.business_group_id = p_business_group_id
    and    p_effective_date
    	between pto.effective_start_date and pto.effective_end_date;
Line: 204

    select null
    from   ben_oipl_f oipl
    where  oipl.oipl_id = p_oipl_id
    and    oipl.business_group_id = p_business_group_id
    and    p_effective_date
    	between oipl.effective_start_date and oipl.effective_end_date;
Line: 360

    select null
    from   ben_ELIG_HLTH_CVG_PRTE_f
    where  ELIG_HLTH_CVG_PRTE_id <> nvl(p_ELIG_HLTH_CVG_PRTE_id,-1)
    and    eligy_prfl_id = p_eligy_prfl_id
    and    ordr_num = p_ordr_num
    and    business_group_id = p_business_group_id;
Line: 411

Procedure dt_update_validate
            (
             p_eligy_prfl_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: 479

End dt_update_validate;
Line: 516

Procedure dt_delete_validate
            (p_ELIG_HLTH_CVG_PRTE_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: 539

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

End dt_delete_validate;
Line: 586

Procedure insert_validate
	(p_rec 			 in ben_ehc_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: 634

End insert_validate;
Line: 639

Procedure update_validate
	(p_rec 			 in ben_ehc_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: 688

  dt_update_validate
    (
     p_eligy_prfl_id         => p_rec.eligy_prfl_id,
     p_datetrack_mode        => p_datetrack_mode,
     p_validation_start_date => p_validation_start_date,
     p_validation_end_date   => p_validation_end_date);
Line: 696

End update_validate;
Line: 701

Procedure delete_validate
	(p_rec 			 in ben_ehc_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: 715

  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_ELIG_HLTH_CVG_PRTE_id		=> p_rec.ELIG_HLTH_CVG_PRTE_id);
Line: 722

End delete_validate;
Line: 735

    select a.legislation_code
    from   per_business_groups a,
           ben_ELIG_HLTH_CVG_PRTE_f b
    where b.ELIG_HLTH_CVG_PRTE_id      = p_ELIG_HLTH_CVG_PRTE_id
    and   a.business_group_id = b.business_group_id;