DBA Data[Home] [Help]

APPS.BEN_PST_BUS SQL Statements

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

Line: 116

    select null
    from   per_positions abr
    where  abr.position_id = p_position_id
    and    abr.business_group_id = p_business_group_id
    and    p_effective_date  >= date_effective ;
Line: 208

select null
from ben_pstn_rt_f
where position_id = p_position_id
and vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
and pstn_rt_id <> nvl(p_pstn_rt_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: 360

   cursor c1 is select null
                  from ben_pstn_rt_f
                 where vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
                   -- changed against bug: 5113011
		   and pstn_rt_id   <> nvl(p_pstn_rt_id  ,-1)
                   -- and position_id   <> nvl(p_position_id  ,-1)
                   --and p_effective_date between effective_start_date
                   --                         and effective_end_date
		   and p_validation_start_date <= effective_end_date
		   and p_validation_end_date >= effective_start_date
                   and business_group_id + 0 = p_business_group_id
                   and ordr_num = p_ordr_num;
Line: 421

Procedure dt_update_validate
            (
             p_vrbl_rt_prfl_id                 in number default hr_api.g_number,
             p_position_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: 490

End dt_update_validate;
Line: 527

Procedure dt_delete_validate
            (p_pstn_rt_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: 550

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

End dt_delete_validate;
Line: 597

Procedure insert_validate
	(p_rec 			 in ben_pst_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: 651

End insert_validate;
Line: 656

Procedure update_validate
	(p_rec 			 in ben_pst_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: 711

  dt_update_validate
    (
     p_vrbl_rt_prfl_id                 => p_rec.vrbl_rt_prfl_id,
     p_position_id                       => p_rec.position_id,
     p_datetrack_mode                => p_datetrack_mode,
     p_validation_start_date	     => p_validation_start_date,
     p_validation_end_date	     => p_validation_end_date);
Line: 720

End update_validate;
Line: 725

Procedure delete_validate
	(p_rec 			 in ben_pst_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: 739

  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_pstn_rt_id		=> p_rec.pstn_rt_id);
Line: 746

End delete_validate;
Line: 759

    select a.legislation_code
    from   per_business_groups a,
           ben_pstn_rt_f b
    where b.pstn_rt_id      = p_pstn_rt_id
    and   a.business_group_id = b.business_group_id;