DBA Data[Home] [Help]

APPS.PER_PGS_BUS SQL Statements

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

Line: 28

    select pbg.security_group_id,
           pbg.legislation_code
      from per_business_groups_perf pbg
         , per_grade_spines_f pgs
     where pgs.grade_spine_id = p_grade_spine_id
       and pbg.business_group_id = pgs.business_group_id;
Line: 99

    select pbg.legislation_code
      from per_business_groups_perf pbg
         , per_grade_spines_f pgs
     where pgs.grade_spine_id = p_grade_spine_id
       and pbg.business_group_id = pgs.business_group_id;
Line: 281

     select null
     from   per_parent_spines pps
     where  pps.business_group_id = p_business_group_id
     and    pps.parent_spine_id = p_parent_spine_id;
Line: 371

     select   null
     from     per_grades pg
     where    pg.grade_id = p_grade_id
     and      business_group_id = p_business_group_id
     and      p_effective_date between pg.date_from
              and nvl(pg.date_to, hr_api.g_eot);
Line: 473

     select null
     from   per_spinal_points psp
     where  psp.business_group_id = p_business_group_id
     and    psp.spinal_point = p_ceiling_step_id
     and    psp.parent_spine_id = p_rec.parent_spine_id;
Line: 481

     select null
     from   per_spinal_point_steps_f
     where  business_group_id = p_business_group_id
     and    step_id = p_ceiling_step_id
     and    p_effective_date between effective_start_date
            and effective_end_date;
Line: 489

     select per_spinal_point_steps_s.nextval
     from   sys.dual;
Line: 641

     select null
     from   per_grade_spines_f
     where  business_group_id = p_business_group_id
     and    grade_id = p_grade_id
     and    parent_spine_id = p_parent_spine_id
     and    p_effective_date
            between effective_start_date and
                    effective_end_date ;
Line: 720

PROCEDURE chk_delete(
   p_parent_spine_id         in per_grade_spines_f.parent_spine_id%TYPE
  ,p_grade_id                in per_grade_spines_f.grade_id%TYPE
 ) is
  --
  l_proc         varchar2(72) := g_package||'chk_delete';
Line: 729

	select 'x'
	from per_spinal_point_steps_f sps
     	    ,per_grade_spines_f gs
	where gs.grade_spine_id = sps.grade_spine_id
	and gs.parent_spine_id = p_parent_spine_id
	and gs.grade_id = p_grade_id
	and exists
    	(select null
     	from per_spinal_point_placements_f sp
     	where sp.step_id = sps.step_id);
Line: 741

	select 'x'
	from per_spinal_point_steps_f sps
     	    ,per_grade_spines_f gs
	where gs.grade_spine_id = sps.grade_spine_id
	and gs.parent_spine_id = p_parent_spine_id
	and gs.grade_id = p_grade_id
	and exists
 	   (select null
     	from per_assignments_f a
    	 where a.special_ceiling_step_id = sps.step_id
     	and a.special_ceiling_step_id is not null);
Line: 797

end chk_delete;
Line: 826

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

End chk_non_updateable_args;
Line: 916

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

End dt_update_validate;
Line: 999

Procedure dt_delete_validate
  (p_grade_spine_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: 1021

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

End dt_delete_validate;
Line: 1091

Procedure insert_validate
  (p_rec                   in out nocopy per_pgs_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: 1187

End insert_validate;
Line: 1192

Procedure update_validate
  (p_rec                     in out nocopy per_pgs_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: 1234

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

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

End update_validate;
Line: 1317

Procedure delete_validate
  (p_rec                    in per_pgs_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: 1332

  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_grade_spine_id                   => p_rec.grade_spine_id
    );
Line: 1342

  chk_delete(p_parent_spine_id  => p_rec.parent_spine_id
            ,p_grade_id         => p_rec.grade_id);
Line: 1347

End delete_validate;