DBA Data[Home] [Help]

APPS.BEN_AVR_BUS SQL Statements

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

Line: 114

   cursor c1 is select null
                from ben_acty_base_rt_f
                 where acty_base_rt_id = p_acty_base_rt_id
                   -- and flx_cr_rt_flag = 'Y'
                   and USES_VARBL_RT_FLAG = 'N'
                   and business_group_id + 0 = p_business_group_id
-- bug 3960628
                   and p_validation_start_date <= effective_end_date
                   and p_validation_end_date >= effective_start_date;
Line: 176

   cursor c1 is select null
                from ben_vrbl_rt_rl_f
                 where acty_base_rt_id = p_acty_base_rt_id
                   and business_group_id  = p_business_group_id
                   and p_effective_date between effective_start_date
                                            and effective_end_date;
Line: 306

cursor c1 is select null
             from   ben_acty_vrbl_rt_f
             Where  acty_vrbl_rt_id <> nvl(p_acty_vrbl_rt_id,-1)
             and    acty_base_rt_id = p_acty_base_rt_id
             and    ordr_num = p_ordr_num
             and    business_group_id = p_business_group_id;
Line: 363

   cursor c1 is select
   		'Y' from ben_acty_base_rt_f abr
   		where abr.acty_base_rt_id=p_acty_base_rt_id
		and abr.business_group_id=p_business_group_id
		and abr.rt_usg_cd='IMPTDINC'
		and p_effective_date between effective_start_date and effective_end_date;
Line: 370

   cursor c2 is select null from ben_vrbl_rt_prfl_f where
	vrbl_rt_prfl_id=p_vrbl_rt_prfl_id
	and business_group_id=p_business_group_id
	and p_effective_date between effective_start_date and effective_end_date
	and mlt_cd in ('FLFX' , 'RL' ) and VRBL_RT_TRTMT_CD ='RPLC';
Line: 441

    select null
      from ben_acty_vrbl_rt_f avr
     where avr.acty_base_rt_id = p_acty_base_rt_id
       and avr.vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
       and avr.acty_vrbl_rt_id <> nvl(p_acty_vrbl_rt_id, hr_api.g_number)
       and avr.business_group_id = p_business_group_id
       and p_effective_date between avr.effective_start_date and avr.effective_end_date;
Line: 504

Procedure dt_update_validate
            (p_acty_base_rt_id               in number default hr_api.g_number,
             p_vrbl_rt_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: 585

End dt_update_validate;
Line: 622

Procedure dt_delete_validate
            (p_acty_vrbl_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: 645

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

End dt_delete_validate;
Line: 695

Procedure insert_validate
    (p_rec           in ben_avr_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: 759

End insert_validate;
Line: 764

Procedure update_validate
    (p_rec           in ben_avr_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: 824

  dt_update_validate
    (p_acty_base_rt_id               => p_rec.acty_base_rt_id,
     p_vrbl_rt_prfl_id               => p_rec.vrbl_rt_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: 832

End update_validate;
Line: 837

Procedure delete_validate
    (p_rec           in ben_avr_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: 851

  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_acty_vrbl_rt_id      => p_rec.acty_vrbl_rt_id);
Line: 858

End delete_validate;
Line: 871

    select a.legislation_code
    from   per_business_groups a,
           ben_acty_vrbl_rt_f b
    where b.acty_vrbl_rt_id      = p_acty_vrbl_rt_id
    and   a.business_group_id = b.business_group_id;