DBA Data[Home] [Help]

APPS.PER_PTU_BUS SQL Statements

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

Line: 39

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

End dt_update_validate;
Line: 148

Procedure dt_delete_validate
            (p_person_type_usage_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: 171

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

End dt_delete_validate;
Line: 398

Procedure chk_non_updateable_args
  (p_rec            in per_ptu_shd.g_rec_type
  ,p_effective_date in date
  ) is
--
  l_proc     varchar2(72) := g_package||'chk_non_updateable_args';
Line: 444

end chk_non_updateable_args;
Line: 481

    select person_id
    from per_all_people_f
    where person_id = p_person_id;
Line: 559

    select system_person_type ,business_group_id
    from per_person_types
    where person_type_id = lc_person_type_id;
Line: 569

    select person_type_usage_id
    from per_person_type_usages_f
    where person_type_id in ( select person_type_id
                              from per_person_types
                              where system_person_type = l_person_type
                              and business_group_id = l_business_group_id )
    and   person_id      = p_person_id
    and   ((effective_start_date <= p_effective_date and
           effective_end_date   >= p_effective_date) or
          (effective_start_date >= p_effective_date));
Line: 695

Procedure insert_validate
   (p_rec          in per_ptu_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: 733

End insert_validate;
Line: 738

Procedure update_validate
   (p_rec          in per_ptu_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: 758

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

  dt_update_validate
    (p_person_id                  => p_rec.person_id,
     p_datetrack_mode                => p_datetrack_mode,
     p_validation_start_date       => p_validation_start_date,
     p_validation_end_date      => p_validation_end_date);
Line: 784

End update_validate;
Line: 789

Procedure delete_validate
   (p_rec          in per_ptu_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: 806

  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_person_type_usage_id   => p_rec.person_type_usage_id);
Line: 813

End delete_validate;
Line: 827

    select pbg.legislation_code
      from per_business_groups  pbg
         , per_person_type_usages_f ptu
         , per_all_people_f     per
     where ptu.person_type_usage_id = p_person_type_usage_id
       and ptu.person_id        = per.person_id
       and pbg.business_group_id = per.business_group_id;