The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy hr_ott_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update hr_ki_option_types_tl
set
option_type_id = p_rec.option_type_id
,option_name = p_rec.option_name
,language = p_rec.language
,source_lang = p_rec.source_lang
where option_type_id = p_rec.option_type_id
and language = p_rec.language;
End update_dml;
Procedure pre_update
(p_rec in hr_ott_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update
(p_rec in hr_ott_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
hr_ott_rku.after_update
(p_option_type_id
=> p_rec.option_type_id
,p_option_name
=> p_rec.option_name
,p_language
=> p_rec.language
,p_source_lang
=> p_rec.source_lang
,p_option_name_o
=> hr_ott_shd.g_old_rec.option_name
,p_source_lang_o
=> hr_ott_shd.g_old_rec.source_lang
);
End post_update;
hr_ott_bus.update_validate
(p_rec
,p_option_type_id
);
hr_ott_upd.pre_update(p_rec);
hr_ott_upd.update_dml(p_rec);
hr_ott_upd.post_update
(p_rec
);
select ott.language
from hr_ki_option_types_tl ott
where
ott.option_type_id = p_option_type_id
and p_language_code in (ott.language
,ott.source_lang);