DBA Data[Home] [Help]

APPS.BEN_CTY_BUS SQL Statements

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

Line: 128

    select null
    from   per_competences a
    where  a.competence_id = p_competence_id
      and  nvl(a.business_group_id, p_business_group_id) = p_business_group_id
      and  p_effective_date between a.date_from and
                                 nvl(a.date_to, p_effective_date);
Line: 136

         select null
         from ben_comptncy_rt_f
         where competence_id = p_competence_id
           and vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
           -- changed for Bug 5078478 .. change the commented query to the new one
	   -- and vrbl_rt_prfl_id <> nvl(p_comptncy_rt_id,hr_api.g_number)
	   and comptncy_rt_id <> nvl(p_comptncy_rt_id,hr_api.g_number)
	   -- changed end for Bug 5078478
           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: 249

        select null
        from   per_rating_levels a,
        	   per_competences b
        where  b.competence_id = p_competence_id
          and  (a.competence_id = p_competence_id or
               a.rating_scale_id = b.rating_scale_id )
          and  a.rating_level_id = p_rating_level_id
          and  nvl(a.business_group_id , p_business_group_id)  = p_business_group_id
          and  p_effective_date between b.date_from and nvl(b.date_to, p_effective_date)
          and  nvl(b.business_group_id , p_business_group_id) = p_business_group_id;
Line: 261

         select null
         from ben_comptncy_rt_f
         where competence_id = p_competence_id
           and rating_level_id = p_rating_level_id
           and vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
           -- changed for Bug 5078478 .. change the commented query to the new one
	   -- and vrbl_rt_prfl_id <> nvl(p_comptncy_rt_id,hr_api.g_number)
	   and comptncy_rt_id <> nvl(p_comptncy_rt_id,hr_api.g_number)
	   -- -- changed end for Bug 5078478
           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: 438

   cursor c1 is select null
                  from ben_comptncy_rt_f
                 where vrbl_rt_prfl_id = p_vrbl_rt_prfl_id
                   -- changed against bug: 5113011
		   and comptncy_rt_id <> nvl(p_comptncy_rt_id,-1)
		   -- and p_competence_id   <> nvl(p_p_competence_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: 480

    select pbg.security_group_id
      from per_business_groups pbg
         , ben_comptncy_rt_f cty
     where cty.comptncy_rt_id = p_comptncy_rt_id
       and pbg.business_group_id = cty.business_group_id;
Line: 544

    select pbg.legislation_code
      from per_business_groups pbg
         , ben_comptncy_rt_f cty
     where cty.comptncy_rt_id = p_comptncy_rt_id
       and pbg.business_group_id = cty.business_group_id;
Line: 809

Procedure chk_non_updateable_args
  (p_effective_date  in date
  ,p_rec             in ben_cty_shd.g_rec_type
  ) IS
--
  l_proc     varchar2(72) := g_package || 'chk_non_updateable_args';
Line: 835

End chk_non_updateable_args;
Line: 866

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

End dt_update_validate;
Line: 961

Procedure dt_delete_validate
  (p_comptncy_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: 983

  If (p_datetrack_mode = hr_api.g_delete or
      p_datetrack_mode = hr_api.g_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: 1022

End dt_delete_validate;
Line: 1027

Procedure insert_validate
  (p_rec                   in ben_cty_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: 1102

End insert_validate;
Line: 1107

Procedure update_validate
  (p_rec                     in ben_cty_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: 1178

  dt_update_validate
    (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: 1185

  chk_non_updateable_args
    (p_effective_date  => p_effective_date
    ,p_rec             => p_rec
    );
Line: 1194

End update_validate;
Line: 1199

Procedure delete_validate
  (p_rec                    in ben_cty_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: 1214

  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_comptncy_rt_id                        => p_rec.comptncy_rt_id
    );
Line: 1222

End delete_validate;