The following lines contain the word 'select', 'insert', 'update' or 'delete':
select null
from per_people_f per
where per.person_id = p_person_id
and p_effective_date
between per.effective_start_date
and nvl(per.effective_end_date,hr_api.g_eot);
select null
from hr_positions_f per
where per.position_id = p_position_id
and p_effective_date
between effective_start_date
and effective_end_date
and p_effective_date
between per.date_effective
and nvl(per.date_end,hr_api.g_eot);
select null
from per_jobs_v per
where per.job_id = p_job_id
and p_effective_date
between per.date_from
and nvl(per.date_to,hr_api.g_eot);
select null
from fnd_territories per
where per.territory_code = p_code;
select null
from hr_locations hr
where hr.location_id = p_location_id and hr.location_use = 'HR';
select null
from per_deployment_factors per
where per.deployment_factor_id <> nvl(p_deployment_factor_id,-1)
and nvl(per.job_id,-1) = nvl(p_job_id,-1)
and nvl(per.position_id,-1) = nvl(p_position_id,-1)
and nvl(per.person_id,-1) = nvl(p_person_id,-1);
select null
from per_jobs_v per
where per.business_group_id = p_business_group_id
and per.job_id = p_job_id;
select null
from hr_positions_f per
where per.business_group_id = p_business_group_id
and per.position_id = p_position_id;
select null
from per_people_f per
where per.business_group_id = p_business_group_id
and per.person_id = p_person_id;
Procedure insert_validate(p_rec in per_dpf_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_dpf_shd.g_rec_type,
p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'update_validate';
End update_validate;
Procedure delete_validate(p_rec in per_dpf_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;
select pbg.legislation_code
from per_business_groups pbg
, per_deployment_factors pdf
where pdf.deployment_factor_id = p_deployment_factor_id
and pbg.business_group_id = pdf.business_group_id;