The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_dml(p_rec in out nocopy pqh_wfs_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into pqh_worksheet_fund_srcs
( worksheet_fund_src_id,
worksheet_bdgt_elmnt_id,
distribution_percentage,
cost_allocation_keyflex_id,
project_id,
award_id,
task_id,
expenditure_type,
organization_id,
object_version_number
)
Values
( p_rec.worksheet_fund_src_id,
p_rec.worksheet_bdgt_elmnt_id,
p_rec.distribution_percentage,
p_rec.cost_allocation_keyflex_id,
p_rec.project_id,
p_rec.award_id,
p_rec.task_id,
p_rec.expenditure_type,
p_rec.organization_id,
p_rec.object_version_number
);
End insert_dml;
Procedure pre_insert(p_rec in out nocopy pqh_wfs_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_insert';
Cursor C_Sel1 is select pqh_worksheet_fund_srcs_s.nextval from sys.dual;
End pre_insert;
Procedure post_insert(p_rec in pqh_wfs_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_insert';
pqh_wfs_rki.after_insert
(
p_worksheet_fund_src_id =>p_rec.worksheet_fund_src_id
,p_worksheet_bdgt_elmnt_id =>p_rec.worksheet_bdgt_elmnt_id
,p_distribution_percentage =>p_rec.distribution_percentage
,p_cost_allocation_keyflex_id =>p_rec.cost_allocation_keyflex_id
,p_project_id =>p_rec.project_id
,p_award_id =>p_rec.award_id
,p_task_id =>p_rec.task_id
,p_expenditure_type =>p_rec.expenditure_type
,p_organization_id =>p_rec.organization_id
,p_object_version_number =>p_rec.object_version_number
);
End post_insert;
pqh_wfs_bus.insert_validate(p_rec);
pre_insert(p_rec);
insert_dml(p_rec);
post_insert(p_rec);