The following lines contain the word 'select', 'insert', 'update' or 'delete':
select per.business_group_id
from per_people_f per
where per.person_id = p_person_id
and p_effective_date between per.effective_start_date
and per.effective_end_date;
select pac.id_flex_num
from per_analysis_criteria pac
where pac.analysis_criteria_id = p_analysis_criteria_id;
select 'x'
from per_person_analyses pa
,per_analysis_criteria ac
where pa.analysis_criteria_id = p_analysis_criteria_id
and pa.business_group_id + 0 = p_bg_id
and pa.analysis_criteria_id = ac.analysis_criteria_id
and ac.id_flex_num = p_id_flex_num
and nvl(pa.date_to,hr_api.g_eot) =
nvl(p_date_to,hr_api.g_eot)
and pa.date_from = p_date_from
and pa.person_id = p_person_id
and (p_person_analysis_id is null
or (p_person_analysis_id is not null
and pa.person_analysis_id <> p_person_analysis_id));
hr_utility.set_message(801,'HR_6012_ROW_INSERTED');
Procedure check_non_updateable_args(p_rec in per_pea_shd.g_rec_type)
is
--
l_proc varchar2(72) := g_package||'check_non_updateable_args';
end check_non_updateable_args;
Procedure insert_validate
(p_rec in per_pea_shd.g_rec_type,
p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_rec in per_pea_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'update_validate';
per_pea_bus.check_non_updateable_args(p_rec => p_rec);
End update_validate;
Procedure delete_validate(p_rec in per_pea_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;
select legislation_code
from per_business_groups pbg,
per_person_analyses ppa
where ppa.person_analysis_id = p_person_analysis_id
and pbg.business_group_id = ppa.business_group_id;