DBA Data[Home] [Help]

APPS.BEN_PYD_BUS SQL Statements

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

Line: 126

     select null
        from ben_ptip_dpnt_cvg_ctfn_f
        where nvl(dpnt_cvg_ctfn_typ_cd,0)  = nvl(p_dpnt_cvg_ctfn_typ_cd,0)
          and nvl(rlshp_typ_cd,0) = nvl(p_rlshp_typ_cd,0)
          and ptip_dpnt_cvg_ctfn_id <>
              nvl(p_ptip_dpnt_cvg_ctfn_id, hr_api.g_number)
          and ptip_id = p_ptip_id
          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: 233

     select null
        from ben_ptip_dpnt_cvg_ctfn_f
        where rlshp_typ_cd  = p_rlshp_typ_cd
          and ptip_dpnt_cvg_ctfn_id <>
              nvl(p_ptip_dpnt_cvg_ctfn_id, hr_api.g_number)
          and ptip_id = p_ptip_id
          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: 333

    select null
    from   ff_formulas_f ff
           ,per_business_groups pbg
    where  ff.formula_id = p_ctfn_rqd_when_rl
    and    ff.formula_type_id = -26
    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: 501

     select null
        from ben_ptip_dpnt_cvg_ctfn_f
        where pfd_flag = p_pfd_flag
          and pfd_flag = 'Y'
          and ptip_dpnt_cvg_ctfn_id <>
              nvl(p_ptip_dpnt_cvg_ctfn_id, hr_api.g_number)
          and ptip_id = p_ptip_id
          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: 593

Procedure dt_update_validate
            (p_ctfn_rqd_when_rl           in number default hr_api.g_number,
             p_ptip_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: 671

End dt_update_validate;
Line: 708

Procedure dt_delete_validate
            (p_ptip_dpnt_cvg_ctfn_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: 731

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

End dt_delete_validate;
Line: 778

Procedure insert_validate
	(p_rec 			 in ben_pyd_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: 835

End insert_validate;
Line: 840

Procedure update_validate
	(p_rec 			 in ben_pyd_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: 898

  dt_update_validate
    (p_ctfn_rqd_when_rl      => p_rec.ctfn_rqd_when_rl,
     p_ptip_id               => p_rec.ptip_id,
     p_datetrack_mode        => p_datetrack_mode,
     p_validation_start_date => p_validation_start_date,
     p_validation_end_date   => p_validation_end_date);
Line: 906

End update_validate;
Line: 911

Procedure delete_validate
	(p_rec 			 in ben_pyd_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: 925

  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_ptip_dpnt_cvg_ctfn_id	=> p_rec.ptip_dpnt_cvg_ctfn_id);
Line: 932

End delete_validate;
Line: 945

    select a.legislation_code
    from   per_business_groups a,
           ben_ptip_dpnt_cvg_ctfn_f b
    where b.ptip_dpnt_cvg_ctfn_id      = p_ptip_dpnt_cvg_ctfn_id
    and   a.business_group_id = b.business_group_id;