DBA Data[Home] [Help]

APPS.PAY_PPD_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
         , pay_pl_paye_details_f ppd
     where ppd.paye_details_id = p_paye_details_id
       and pbg.business_group_id = ppd.business_group_id;
Line: 99

    select pbg.legislation_code
      from per_business_groups_perf pbg
         , pay_pl_paye_details_f ppd
     where ppd.paye_details_id = p_paye_details_id
       and pbg.business_group_id = ppd.business_group_id;
Line: 187

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

   select segment4
     from hr_soft_coding_keyflex soft, per_all_assignments_f paaf
    where soft.soft_coding_keyflex_id = paaf.soft_coding_keyflex_id
      and paaf.assignment_id = p_per_or_asg_id
      and p_effective_date between paaf.effective_start_date and paaf.effective_end_date;
Line: 290

End chk_non_updateable_args;
Line: 321

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

End dt_update_validate;
Line: 404

Procedure dt_delete_validate
  (p_paye_details_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: 426

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

End dt_delete_validate;
Line: 470

Procedure insert_validate
  (p_rec                   in pay_ppd_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: 561

End insert_validate;
Line: 566

Procedure update_validate
  (p_rec                     in pay_ppd_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: 596

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

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

End update_validate;
Line: 651

Procedure delete_validate
  (p_rec                    in pay_ppd_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: 666

  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_paye_details_id                  => p_rec.paye_details_id
    );
Line: 674

End delete_validate;
Line: 760

  select null
    from per_all_people_f  papf
   where papf.person_id          =  p_per_or_asg_id      and
         papf.business_group_id  =  p_business_group_id  and
         p_effective_date between papf.effective_start_date and
                                  papf.effective_end_date and
         papf.person_type_id in (select person_type_id from per_person_types
                                 where business_group_id = p_business_group_id
                                 and system_person_type in ('EMP','EMP_APL'));
Line: 771

  select null
    from per_all_assignments_f paaf, hr_soft_coding_keyflex hrsoft
   where paaf.assignment_id      =  p_per_or_asg_id      and
         paaf.business_group_id  =  p_business_group_id  and
         p_effective_date between paaf.effective_start_date and
                                  paaf.effective_end_date and
         paaf.assignment_status_type_id in (select assignment_status_type_id from
                                                   per_assignment_status_types where
                                            per_system_status in ('ACTIVE_ASSIGN','SUSP_ASSIGN'))
	and paaf.soft_coding_keyflex_id = hrsoft.soft_coding_keyflex_id and
        hrsoft.segment3 in (l_civil_catg,l_lump_catg,l_f_lump_catg);
Line: 785

  select null
    from per_all_assignments_f paaf, hr_soft_coding_keyflex hrsoft
   where paaf.assignment_id      =  p_per_or_asg_id      and
         paaf.business_group_id  =  p_business_group_id  and
         p_effective_date between paaf.effective_start_date and
                                  paaf.effective_end_date and
         paaf.assignment_status_type_id in (select assignment_status_type_id from
                                                   per_assignment_status_types where
                                            per_system_status = 'TERM_ASSIGN')
        and paaf.soft_coding_keyflex_id = hrsoft.soft_coding_keyflex_id;
Line: 956

   select segment4
     from hr_soft_coding_keyflex soft, per_all_assignments_f paaf
    where soft.soft_coding_keyflex_id = paaf.soft_coding_keyflex_id
      and paaf.assignment_id = p_per_or_asg_id
      and p_effective_date between paaf.effective_start_date and paaf.effective_end_date;