DBA Data[Home] [Help]

APPS.BEN_PTP_BUS SQL Statements

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

Line: 330

    select null
    from ben_pl_f pln, ben_popl_rptg_grp_f rgr, ben_rptg_grp bnr
    where pln.pl_typ_id = p_pl_typ_id
    and ( pln.business_group_id = p_business_group_id or p_business_group_id is null)
    and p_validation_start_date <= pln.effective_end_date
    and p_validation_end_date >= pln.effective_Start_date
    and pln.pl_id = rgr.pl_id
    and ( rgr.business_group_id = p_business_group_id or p_business_group_id is null)
    and greatest(p_validation_start_date, pln.effective_start_date) <= rgr.effective_end_date
    and least(p_validation_end_date, pln.effective_end_date) >= rgr.effective_Start_date
    and rgr.rptg_grp_id = bnr.rptg_grp_id
    and bnr.rptg_prps_cd = 'IREC'
    and ( bnr.business_group_id = p_business_group_id  or p_business_group_id is null);
Line: 367

	-- Raise error : as there is plan associated with the plan type being updated - which
	-- is also associated to iRecruitment Reporting Group
	--
	fnd_message.set_name('BEN','BEN_93922_PTP_PL_RPTG_GRP_IREC');
Line: 665

     select null
        from BEN_PL_TYP_F
        where name = p_name
          and pl_typ_id <> nvl(p_pl_typ_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: 841

    select 1
    from ben_pl_typ_f
    where opt_typ_cd = 'GSP'
    and pl_typ_id <> nvl(p_pl_typ_id, hr_api.g_number)
    and p_effective_date between effective_start_date and effective_end_date
    and business_group_id = p_business_group_id
    ;
Line: 921

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

End dt_update_validate;
Line: 1018

Procedure dt_delete_validate
            (p_pl_typ_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: 1041

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

End dt_delete_validate;
Line: 1117

Procedure insert_validate
	(p_rec 			 in ben_ptp_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: 1204

End insert_validate;
Line: 1209

Procedure update_validate
	(p_rec 			 in ben_ptp_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: 1307

  dt_update_validate
    (
     p_datetrack_mode                => p_datetrack_mode,
     p_validation_start_date	     => p_validation_start_date,
     p_validation_end_date	     => p_validation_end_date);
Line: 1314

End update_validate;
Line: 1319

Procedure delete_validate
	(p_rec 			 in ben_ptp_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: 1333

  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_typ_id		=> p_rec.pl_typ_id);
Line: 1340

End delete_validate;
Line: 1354

    select a.legislation_code
    from   per_business_groups a,
           ben_pl_typ_f b
    where b.pl_typ_id      = p_pl_typ_id
    and   a.business_group_id = b.business_group_id;