The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy pay_txr_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update pay_taxability_rules
set
jurisdiction_code = p_rec.jurisdiction_code
,tax_type = p_rec.tax_type
,tax_category = p_rec.tax_category
,classification_id = p_rec.classification_id
,taxability_rules_date_id = p_rec.taxability_rules_date_id
,legislation_code = p_rec.legislation_code
,status = p_rec.status
,secondary_classification_id = p_rec.secondary_classification_id
where jurisdiction_code = p_rec.jurisdiction_code
and nvl(tax_type, 'X') = nvl(p_rec.tax_type, 'X')
and nvl(tax_category, 'X') = nvl(p_rec.tax_category, 'X')
and nvl(classification_id, 0) = nvl(p_rec.classification_id, 0)
and nvl(secondary_classification_id, 0) =
nvl(p_rec.secondary_classification_id, 0)
and taxability_rules_date_id = p_rec.taxability_rules_date_id;
End update_dml;
Procedure pre_update
(p_rec in pay_txr_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update
(p_effective_date in date
,p_rec in pay_txr_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
pay_txr_rku.after_update
(p_effective_date => p_effective_date
,p_jurisdiction_code
=> p_rec.jurisdiction_code
,p_tax_type
=> p_rec.tax_type
,p_tax_category
=> p_rec.tax_category
,p_classification_id
=> p_rec.classification_id
,p_taxability_rules_date_id
=> p_rec.taxability_rules_date_id
,p_legislation_code
=> p_rec.legislation_code
,p_status
=> p_rec.status
,p_legislation_code_o
=> pay_txr_shd.g_old_rec.legislation_code
,p_status_o
=> pay_txr_shd.g_old_rec.status
,p_secondary_classification_id
=> p_rec.secondary_classification_id
);
End post_update;
pay_txr_bus.update_validate
(p_effective_date
,p_rec
);
pay_txr_upd.pre_update(p_rec);
pay_txr_upd.update_dml(p_rec);
pay_txr_upd.post_update
(p_effective_date
,p_rec
);