The following lines contain the word 'select', 'insert', 'update' or 'delete':
select nvl(status, 'V'),last_updated_by
from pay_taxability_rules
where jurisdiction_code = cp_jurisdiction
and nvl(tax_type,'X') = nvl(cp_tax_type,'X')
and nvl(tax_category,'X') = nvl(cp_category,'X')
and nvl(classification_id,0) = nvl(cp_classification_id,0)
and nvl(secondary_classification_id,0) =
nvl(cp_secondary_classification_id,0)
and legislation_code = cp_legislation_code;
lv_last_updated_by NUMBER(15);
lv_seed_last_updated_by NUMBER(15);
fetch c_check_taxability_rule into lv_status,lv_last_updated_by;
lv_seed_last_updated_by:= fnd_load_util.owner_id('ORACLE');
hr_utility.trace('lv_seed_last_updated_by = '||to_char(lv_seed_last_updated_by));
hr_utility.trace('lv_last_updated_by = '||to_char(lv_last_updated_by));
if lv_last_updated_by = lv_seed_last_updated_by Then
lv_status := 'S';
PROCEDURE update_taxability_rules
(p_validate IN BOOLEAN
,p_jurisdiction IN VARCHAR2
,p_tax_type IN VARCHAR2 default null
,p_tax_category IN VARCHAR2 default null
,p_classification_id IN NUMBER default null
,p_taxability_rules_date_id IN NUMBER
,p_legislation_code IN VARCHAR2
,p_status IN VARCHAR2
,p_secondary_classification_id IN NUMBER default null)
IS
l_proc VARCHAR2(72) := g_package||'update_taxability_rules';
savepoint update_taxability_rules;
ROLLBACK TO update_taxability_rules;
ROLLBACK TO update_taxability_rules;
end update_taxability_rules;
** Commenting out the delete becasue of the reason mentioned
** above.
************************************************************
PROCEDURE delete_taxability_rules
( p_validate IN BOOLEAN
,p_jurisdiction IN VARCHAR2
,p_tax_type IN VARCHAR2 default null
,p_tax_category IN VARCHAR2 default null
,p_classification_id IN NUMBER default null
,p_taxability_rules_date_id IN NUMBER
,p_legislation_code IN VARCHAR2
,p_status IN VARCHAR2,
,p_secondary_classification_id IN NUMBER default null)
IS
BEGIN
null;
END delete_taxability_rules;