The following lines contain the word 'select', 'insert', 'update' or 'delete':
select pbg.security_group_id
from per_business_groups pbg
, hxc_resource_rules hrr
-- , EDIT_HERE table_name(s) 333
where hrr.resource_rule_id = p_resource_rule_id;
select pbg.legislation_code
from per_business_groups pbg
, hxc_resource_rules hrr
-- , EDIT_HERE table_name(s) 333
where hrr.resource_rule_id = p_resource_rule_id;
Procedure chk_non_updateable_args
(p_effective_date in date
,p_rec in hxc_hrr_shd.g_rec_type
) IS
--
l_proc varchar2(72) := g_package || 'chk_non_updateable_args';
End chk_non_updateable_args;
SELECT 'error'
FROM sys.dual
WHERE EXISTS (
SELECT 'x'
FROM hxc_resource_rules hrr
WHERE hrr.name = p_name
AND (hrr.business_group_id = p_business_group_id or hrr.business_group_id is null)
AND hrr.object_version_number <> NVL(p_object_version_number, -1) );
SELECT start_date
,end_date
FROM hxc_resource_rules
WHERE resource_rule_id = p_resource_rule_id;
SELECT 'error'
FROM sys.dual
WHERE EXISTS (
SELECT 'x'
FROM hxc_resource_rules hrr
WHERE hrr.rule_evaluation_order = p_rule_evaluation_order
AND (hrr.business_group_id = p_business_group_id or hrr.business_group_id is null)
AND hrr.object_version_number <> NVL(p_object_version_number, -1) );
select territory_code
from fnd_territories ft
where ft.territory_code = p_legislation_code;
select legislation_code
from per_business_groups pbg
where pbg.business_group_id = p_business_group_id
and pbg.legislation_code = p_legislation_code;
Procedure insert_validate
(p_effective_date in date
,p_rec in hxc_hrr_shd.g_rec_type
) is
--
l_proc varchar2(72);
l_proc := g_package||'insert_validate';
End insert_validate;
Procedure update_validate
(p_effective_date in date
,p_rec in hxc_hrr_shd.g_rec_type
) is
--
l_proc varchar2(72);
l_proc := 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 hxc_hrr_shd.g_rec_type
) is
--
l_proc varchar2(72);
l_proc := g_package||'delete_validate';
End delete_validate;