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
, ff_function_parameters ffp
, ff_functions fff
where ffp.function_id = fff.function_id
and ffp.function_id = p_function_id
and ffp.sequence_number = p_sequence_number
and pbg.business_group_id = fff.business_group_id;
select pbg.legislation_code
from per_business_groups_perf pbg
, ff_function_parameters ffp
, ff_functions fff
where ffp.function_id = fff.function_id
and ffp.function_id = p_function_id
and ffp.sequence_number = p_sequence_number
and pbg.business_group_id = fff.business_group_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in ff_ffp_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
select NULL
from FF_FUNCTIONS ffn
where ffn.function_id = p_function_id;
select NULL
from ff_function_parameters ffp
where ffp.function_id = p_function_id
and ffp.name like p_name
and sequence_number <> nvl(p_sequence_number,-1);
(p_insert IN boolean
,p_business_group_id IN number
,p_legislation_code IN varchar2
,p_legislation_subgroup IN varchar2 DEFAULT NULL) IS
--
BEGIN
--
-- Call the supporting procedure to check startup mode
IF (p_insert) THEN
if p_business_group_id is not null and p_legislation_code is not null then
fnd_message.set_name('PAY', 'PAY_33179_BGLEG_INVALID');
Procedure insert_validate
(p_effective_date in date
,p_rec in ff_ffp_shd.g_rec_type
) is
--
cursor csr_business_group is
select business_group_id
, legislation_code
from FF_FUNCTIONS ffn
where ffn.function_id = p_rec.function_id;
l_proc varchar2(72) := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_effective_date in date
,p_rec in ff_ffp_shd.g_rec_type
) is
--
cursor csr_business_group is
select business_group_id
, legislation_code
from FF_FUNCTIONS ffn
where ffn.function_id = p_rec.function_id;
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 ff_ffp_shd.g_rec_type
) is
--
cursor csr_business_group is
select business_group_id
, legislation_code
from FF_FUNCTIONS ffn
where ffn.function_id = p_rec.function_id;
l_proc varchar2(72) := g_package||'delete_validate';
End delete_validate;