The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_dml
(p_rec in out nocopy pqh_tah_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into pqh_ss_approval_history
(approval_history_id
,transaction_history_id
,transaction_effective_date
,action
,user_name
,transaction_item_type
,transaction_item_key
,effective_date_option
,orig_system
,orig_system_id
,notification_id
,user_comment
)
Values
(p_rec.approval_history_id
,p_rec.transaction_history_id
,p_rec.transaction_effective_date
,p_rec.action
,p_rec.user_name
,p_rec.transaction_item_type
,p_rec.transaction_item_key
,p_rec.effective_date_option
,p_rec.orig_system
,p_rec.orig_system_id
,p_rec.notification_id
,p_rec.user_comment
);
End insert_dml;
Procedure pre_insert
(p_rec in out nocopy pqh_tah_shd.g_rec_type
) is
--
-- Cursor C_Sel1 is select pqh_ss_approval_history_s.nextval from sys.dual;
Select null
from pqh_ss_approval_history
where approval_history_id = pqh_tah_ins.g_approval_history_id_i
AND transaction_history_id = pqh_tah_ins.g_transaction_history_id_i;
l_proc varchar2(72) := g_package||'pre_insert';
End pre_insert;
Procedure post_insert
(p_rec in pqh_tah_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_insert';
End post_insert;
pqh_tah_bus.insert_validate
(p_rec
);
pqh_tah_ins.pre_insert(p_rec);
pqh_tah_ins.insert_dml(p_rec);
pqh_tah_ins.post_insert
(p_rec
);