The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id,
pbg.legislation_code
from per_business_groups_perf pbg
, hr_document_extra_info dei
, per_all_people_f ppf
where dei.document_extra_info_id = p_document_extra_info_id
and ppf.person_id = dei.person_id
and pbg.business_group_id = ppf.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, hr_document_extra_info dei
, per_all_people_f ppf
where dei.document_extra_info_id = p_document_extra_info_id
and ppf.person_id = dei.person_id
and pbg.business_group_id = ppf.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, per_all_people_f ppf
where ppf.person_id = p_person_id
and pbg.business_group_id = ppf.business_group_id;
Procedure chk_non_updateable_args
(p_rec in hr_dei_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select document_type_id
from hr_document_types hdt,
hr_lookups hrl
where hrl.lookup_code = hdt.category_code
and hrl.lookup_type = 'DOCUMENT_CATEGORY'
and hdt.document_type_id = p_document_type_id;
select person_id
from per_people_f ppf
where ppf.person_id = p_person_id;
Procedure insert_validate
(p_rec in hr_dei_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_rec in hr_dei_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args(p_rec => p_rec);
End update_validate;
Procedure delete_validate
(p_rec in hr_dei_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;