The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy per_cnt_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update per_ri_configurations_tl
set
configuration_code = p_rec.configuration_code
,configuration_name = p_rec.configuration_name
,configuration_description = p_rec.configuration_description
,language = p_rec.language
,source_lang = p_rec.source_lang
where configuration_code = p_rec.configuration_code
and language = p_rec.language;
End update_dml;
Procedure pre_update
(p_rec in per_cnt_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 per_cnt_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
per_cnt_rku.after_update
(p_effective_date => p_effective_date
,p_configuration_code
=> p_rec.configuration_code
,p_configuration_name
=> p_rec.configuration_name
,p_configuration_description
=> p_rec.configuration_description
,p_language
=> p_rec.language
,p_source_lang
=> p_rec.source_lang
,p_configuration_name_o
=> per_cnt_shd.g_old_rec.configuration_name
,p_configuration_description_o
=> per_cnt_shd.g_old_rec.configuration_description
,p_source_lang_o
=> per_cnt_shd.g_old_rec.source_lang
);
End post_update;
per_cnt_bus.update_validate
(p_effective_date
,p_rec
);
per_cnt_upd.pre_update(p_rec);
per_cnt_upd.update_dml(p_rec);
per_cnt_upd.post_update
(p_effective_date
,p_rec
);
select cnt.language
from per_ri_configurations_tl cnt
where cnt.configuration_code = p_configuration_code
and p_language_code in (cnt.language
,cnt.source_lang);