The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy ame_cal_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
l_last_updated_by number;
l_last_update_login number;
l_last_update_date date;
l_last_update_date := sysdate;
l_last_updated_by := l_current_user_id;
l_last_update_login := l_current_user_id;
update ame_calling_apps_tl
set
application_id = p_rec.application_id
,language = p_rec.language
,source_lang = p_rec.source_lang
,application_name = p_rec.application_name
,last_update_date = l_last_update_date
,last_updated_by = l_last_updated_by
,last_update_login = l_last_update_login
where application_id = p_rec.application_id
and language = p_rec.language;
End update_dml;
Procedure pre_update
(p_rec in ame_cal_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update
(p_rec in ame_cal_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
ame_cal_rku.after_update
(p_application_id
=> p_rec.application_id
,p_language
=> p_rec.language
,p_source_lang
=> p_rec.source_lang
,p_application_name
=> p_rec.application_name
,p_source_lang_o
=> ame_cal_shd.g_old_rec.source_lang
,p_application_name_o
=> ame_cal_shd.g_old_rec.application_name
);
End post_update;
ame_cal_bus.update_validate
(p_rec
);
ame_cal_upd.pre_update(p_rec);
ame_cal_upd.update_dml(p_rec);
ame_cal_upd.post_update
(p_rec
);
select cal.language
from ame_calling_apps_tl cal
where cal.application_id = p_application_id
and p_language_code in (cal.language
,cal.source_lang);