[Home] [Help]
The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.legislation_code
from per_business_groups_perf pbg
, hr_person_deplymt_eits pde
, hr_person_deployments pdt
where pde.person_deplymt_eit_id = p_person_deplymt_eit_id
and pde.person_deployment_id = pdt.person_deployment_id
and pbg.business_group_id = pdt.to_business_group_id;
Procedure chk_non_updateable_args
(p_rec in hr_pde_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select 1
from hr_person_deployments
where person_deployment_id = p_person_deployment_id;
select 1
from per_people_extra_info
where person_extra_info_id = p_person_extra_info_id;
select pei.person_id
from per_people_extra_info pei,
hr_person_deployments pdt
where pdt.person_deployment_id = p_person_deployment_id
and pei.person_extra_info_id = p_person_extra_info_id
and pdt.from_person_id = pei.person_id;
select pit.legislation_code
from per_people_info_types pit,
per_people_extra_info pei
where pei.person_extra_info_id = p_person_extra_info_id
and pei.information_type = pit.information_type;
select legislation_code
from hr_person_deployments pdt,
per_business_groups_perf bg
where pdt.person_deployment_id = p_person_deployment_id
and pdt.to_business_group_id = bg.business_group_id;
Procedure insert_validate
(p_rec in hr_pde_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_rec in hr_pde_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_pde_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;