The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy ame_ayl_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
l_last_update_date date;
l_last_updated_by number;
l_last_update_login number;
l_last_update_date := sysdate;
l_last_updated_by := l_current_user_id;
l_last_update_login := l_current_user_id;
update ame_action_types_tl
set
action_type_id = p_rec.action_type_id
,language = p_rec.language
,source_lang = p_rec.source_lang
,user_action_type_name = p_rec.user_action_type_name
,description = p_rec.description
,last_update_date = l_last_update_date
,last_updated_by = l_last_updated_by
,last_update_login = l_last_update_login
where action_type_id = p_rec.action_type_id
and language = p_rec.language;
End update_dml;
Procedure pre_update
(p_rec in ame_ayl_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update
(p_rec in ame_ayl_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
ame_ayl_rku.after_update
(p_action_type_id
=> p_rec.action_type_id
,p_language
=> p_rec.language
,p_source_lang
=> p_rec.source_lang
,p_user_action_type_name
=> p_rec.user_action_type_name
,p_description
=> p_rec.description
,p_source_lang_o
=> ame_ayl_shd.g_old_rec.source_lang
,p_user_action_type_name_o
=> ame_ayl_shd.g_old_rec.user_action_type_name
,p_description_o
=> ame_ayl_shd.g_old_rec.description
);
End post_update;
ame_ayl_bus.update_validate
(p_rec
);
ame_ayl_upd.pre_update(p_rec);
ame_ayl_upd.update_dml(p_rec);
ame_ayl_upd.post_update
(p_rec
);
select ayl.language
from ame_action_types_tl ayl
where ayl.action_type_id = p_action_type_id
and p_language_code in (ayl.language
,ayl.source_lang);