The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_dml
(p_rec in out nocopy irc_cmm_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into irc_comm_messages
(communication_message_id
,parent_id
,communication_topic_id
,message_subject
,message_body
,message_post_date
,sender_type
,sender_id
,document_type
,document_id
,deleted_flag
,object_version_number
)
Values
(p_rec.communication_message_id
,p_rec.parent_id
,p_rec.communication_topic_id
,p_rec.message_subject
,p_rec.message_body
,p_rec.message_post_date
,p_rec.sender_type
,p_rec.sender_id
,p_rec.document_type
,p_rec.document_id
,p_rec.deleted_flag
,p_rec.object_version_number
);
End insert_dml;
Procedure pre_insert
(p_rec in out nocopy irc_cmm_shd.g_rec_type
) is
--
Cursor C_Sel1 is select irc_comm_messages_s.nextval from sys.dual;
Select null
from irc_comm_messages
where communication_message_id =
irc_cmm_ins.g_communication_message_id_i;
l_proc varchar2(72) := g_package||'pre_insert';
End pre_insert;
Procedure post_insert
(p_effective_date in date
,p_rec in irc_cmm_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_insert';
irc_cmm_rki.after_insert
(p_effective_date => p_effective_date
,p_communication_message_id
=> p_rec.communication_message_id
,p_parent_id
=> p_rec.parent_id
,p_communication_topic_id
=> p_rec.communication_topic_id
,p_message_subject
=> p_rec.message_subject
,p_message_body
=> p_rec.message_body
,p_message_post_date
=> p_rec.message_post_date
,p_sender_type
=> p_rec.sender_type
,p_sender_id
=> p_rec.sender_id
,p_document_type
=> p_rec.document_type
,p_document_id
=> p_rec.document_id
,p_deleted_flag
=> p_rec.deleted_flag
,p_object_version_number
=> p_rec.object_version_number
);
End post_insert;
irc_cmm_bus.insert_validate
(p_effective_date
,p_rec
);
irc_cmm_ins.pre_insert(p_rec);
irc_cmm_ins.insert_dml(p_rec);
irc_cmm_ins.post_insert
(p_effective_date
,p_rec
);
,p_deleted_flag in varchar2 default null
,p_communication_message_id out nocopy number
,p_object_version_number out nocopy number
) is
--
l_rec irc_cmm_shd.g_rec_type;
,p_deleted_flag
,null
);