The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_dml
(p_rec in out nocopy ghr_cst_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into ghr_compl_agency_costs
(compl_agency_cost_id
,complaint_id
,phase
,stage
,category
,amount
,cost_date
,description
,object_version_number
)
Values
(p_rec.compl_agency_cost_id
,p_rec.complaint_id
,p_rec.phase
,p_rec.stage
,p_rec.category
,p_rec.amount
,p_rec.cost_date
,p_rec.description
,p_rec.object_version_number
);
End insert_dml;
Procedure pre_insert
(p_rec in out nocopy ghr_cst_shd.g_rec_type
) is
--
Cursor C_Sel1 is select ghr_compl_agency_costs_s.nextval from sys.dual;
Select null
from ghr_compl_agency_costs
where compl_agency_cost_id =
ghr_cst_ins.g_compl_agency_cost_id_i;
l_proc varchar2(72) := g_package||'pre_insert';
End pre_insert;
Procedure post_insert
(p_effective_date in date
,p_rec in ghr_cst_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_insert';
ghr_cst_rki.after_insert
(p_effective_date => p_effective_date
,p_compl_agency_cost_id => p_rec.compl_agency_cost_id
,p_complaint_id => p_rec.complaint_id
,p_phase => p_rec.phase
,p_stage => p_rec.stage
,p_category => p_rec.category
,p_amount => p_rec.amount
,p_cost_date => p_rec.cost_date
,p_description => p_rec.description
,p_object_version_number => p_rec.object_version_number
);
End post_insert;
ghr_cst_bus.insert_validate
(p_effective_date
,p_rec
);
ghr_cst_ins.pre_insert(p_rec);
ghr_cst_ins.insert_dml(p_rec);
ghr_cst_ins.post_insert
(p_effective_date
,p_rec
);