The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id
from per_business_groups pbg
, per_periods_of_placement pdp
where pdp.period_of_placement_id = p_period_of_placement_id
and pbg.business_group_id = pdp.business_group_id;
select pbg.legislation_code
from per_business_groups pbg
, per_periods_of_placement pdp
where pdp.period_of_placement_id = p_period_of_placement_id
and pbg.business_group_id = pdp.business_group_id;
select pdp.period_of_placement_id
from per_periods_of_placement pdp
where pdp.person_id = p_person_id
and pdp.date_start = p_date_start;
select min(asg.effective_start_date)
,assignment_id
from per_all_assignments_f asg
where asg.period_of_placement_date_start = p_date_start
and asg.person_id = p_person_id
group by asg.assignment_id
order by 1 desc;
select max(per.effective_start_date)
from per_all_people_f per
where per.person_id = p_person_id;
if (nvl(fnd_profile.value('HR_ALLOW_FPT_UPDATES'),'N') = 'N') then
hr_utility.set_message(801,'HR_7957_PDS_INV_ATT_FUTURE');
select bus.legislation_code
from per_business_groups_perf bus
where bus.business_group_id = p_business_group_id
and rownum = 1;
select bus.legislation_code
from per_business_groups_perf bus
where bus.business_group_id = p_business_group_id
and rownum = 1;
select p.person_id
from per_all_people_f p
where p.person_id = p_person_id
and p.business_group_id = p_business_group_id
and p_effective_date between
p.effective_start_date and p.effective_end_date;
select null
from per_periods_of_placement pdp
where pdp.person_id = p_person_id
and pdp.date_start = p_date_start;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in per_pdp_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
Procedure insert_validate
(p_effective_date in date
,p_rec in per_pdp_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_effective_date in date
,p_rec in per_pdp_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_validate';
chk_non_updateable_args
(p_effective_date => p_effective_date
,p_rec => p_rec
);
End update_validate;
Procedure delete_validate
(p_rec in per_pdp_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;