DBA Data[Home] [Help]

APPS.PER_CTR_BUS SQL Statements

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

Line: 83

     select   ppf.business_group_id
     from     per_all_people_f ppf  -- bug 3577703. Use table instead of secure view.
     where    ppf.person_id = p_person_id
      and p_effective_date between
          ppf.effective_start_date and ppf.effective_end_date;
Line: 166

     select   ppf.business_group_id
     from     per_all_people_f ppf  -- Bug 3577703. Use table per_all_people_f.
     where    ppf.person_id = p_contact_person_id
      and p_effective_date between
          ppf.effective_start_date and ppf.effective_end_date;
Line: 360

select 'Y'
from   per_contact_relationships
where  person_id = p_person_id
and    primary_contact_flag = 'Y'
and    (nvl(date_end,hr_general.end_of_time)
            > nvl(p_date_start,hr_general.start_of_time)
and    nvl(date_start,hr_general.start_of_time)
            < nvl(p_date_end,hr_general.end_of_time));
Line: 448

select ler_id
from   BEN_LER_F
where  p_start_life_reason_id = ler_id
and    p_effective_date between effective_start_date and
                                effective_end_date;
Line: 519

select ler_id
from   BEN_LER_F
where  p_end_life_reason_id = ler_id
and    p_effective_date between effective_start_date and
                                effective_end_date;
Line: 662

select 'X'
from per_contact_relationships per
where per.person_id = p_person_id
and   per.contact_person_id = p_contact_person_id
and   (per.contact_relationship_id <> p_contact_relationship_id
    or p_contact_relationship_id is null)
and   per.contact_type = p_contact_type
and nvl(p_date_end,l_end_of_time) >= nvl(date_start,l_start_of_time)
and nvl(p_date_start,l_start_of_time) <= nvl(date_end,l_end_of_time);
Line: 755

select sequence_number
from per_contact_relationships con
where con.person_id = p_person_id
and con.contact_person_id = p_contact_person_id
and con.sequence_number  <> p_sequence_number;
Line: 762

select sequence_number
from per_contact_relationships con
where con.person_id = p_person_id
and con.contact_person_id <> p_contact_person_id
and   con.sequence_number = p_sequence_number;
Line: 849

     select   date_of_birth
     from     per_people_f ppf
     where    ppf.person_id = l_person_id;
Line: 912

Procedure check_non_updateable_args(p_rec in per_ctr_shd.g_rec_type)
is
--
  l_proc     varchar2(72) := g_package||'check_non_updateable_args';
Line: 964

end check_non_updateable_args;
Line: 1241

Procedure insert_validate(p_rec in per_ctr_shd.g_rec_type
                         ,p_effective_date in date) is
--
  l_proc  varchar2(72) := g_package||'insert_validate';
Line: 1407

End insert_validate;
Line: 1412

Procedure update_validate(p_rec in per_ctr_shd.g_rec_type
                         ,p_effective_date in date) is
--
  l_proc  varchar2(72) := g_package||'update_validate';
Line: 1425

  per_ctr_bus.check_non_updateable_args(p_rec => p_rec);
Line: 1571

End update_validate;
Line: 1576

Procedure delete_validate(p_rec in per_ctr_shd.g_rec_type) is
--
  l_proc  varchar2(72) := g_package||'delete_validate';
Line: 1586

End delete_validate;
Line: 1599

    select pbg.legislation_code
      from per_business_groups        pbg
         , per_contact_relationships  ctr
     where ctr.contact_relationship_id = p_contact_relationship_id
       and pbg.business_group_id = ctr.business_group_id;