The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_dml
(p_rec in out nocopy pqh_bre_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into pqh_bdgt_pool_realloctions
(reallocation_id
,position_id
,pool_id
,reallocation_amt
,reserved_amt
,object_version_number
,txn_detail_id
,transaction_type
,budget_detail_id
,budget_period_id
,entity_id
,start_date
,end_date
)
Values
(p_rec.reallocation_id
,p_rec.position_id
,p_rec.pool_id
,p_rec.reallocation_amt
,p_rec.reserved_amt
,p_rec.object_version_number
,p_rec.txn_detail_id
,p_rec.transaction_type
,p_rec.budget_detail_id
,p_rec.budget_period_id
,p_rec.entity_id
,p_rec.start_date
,p_rec.end_date
);
End insert_dml;
Procedure pre_insert
(p_rec in out nocopy pqh_bre_shd.g_rec_type
) is
--
Cursor C_Sel1 is select pqh_bdgt_pool_realloctions_s.nextval from sys.dual;
Select null
from pqh_bdgt_pool_realloctions
where reallocation_id =
pqh_bre_ins.g_reallocation_id_i;
l_proc varchar2(72) := g_package||'pre_insert';
End pre_insert;
Procedure post_insert
(p_effective_date in date
,p_rec in pqh_bre_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_insert';
pqh_bre_rki.after_insert
(p_effective_date => p_effective_date
,p_reallocation_id
=> p_rec.reallocation_id
,p_position_id
=> p_rec.position_id
,p_pool_id
=> p_rec.pool_id
,p_reallocation_amt
=> p_rec.reallocation_amt
,p_reserved_amt
=> p_rec.reserved_amt
,p_object_version_number
=> p_rec.object_version_number
,p_txn_detail_id
=> p_rec.txn_detail_id
,p_transaction_type
=> p_rec.transaction_type
,p_budget_detail_id
=> p_rec.budget_detail_id
,p_budget_period_id
=> p_rec.budget_period_id
,p_entity_id
=> p_rec.entity_id
,p_start_date
=> p_rec.start_date
,p_end_date
=> p_rec.end_date
);
End post_insert;
pqh_bre_bus.insert_validate
(p_effective_date
,p_rec
);
pqh_bre_ins.pre_insert(p_rec);
pqh_bre_ins.insert_dml(p_rec);
pqh_bre_ins.post_insert
(p_effective_date
,p_rec
);