The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_dml(p_rec in out nocopy ben_yrp_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into ben_yr_perd
( yr_perd_id,
perds_in_yr_num,
perd_tm_uom_cd,
perd_typ_cd,
end_date,
start_date,
lmtn_yr_strt_dt,
lmtn_yr_end_dt,
business_group_id,
yrp_attribute_category,
yrp_attribute1,
yrp_attribute2,
yrp_attribute3,
yrp_attribute4,
yrp_attribute5,
yrp_attribute6,
yrp_attribute7,
yrp_attribute8,
yrp_attribute9,
yrp_attribute10,
yrp_attribute11,
yrp_attribute12,
yrp_attribute13,
yrp_attribute14,
yrp_attribute15,
yrp_attribute16,
yrp_attribute17,
yrp_attribute18,
yrp_attribute19,
yrp_attribute20,
yrp_attribute21,
yrp_attribute22,
yrp_attribute23,
yrp_attribute24,
yrp_attribute25,
yrp_attribute26,
yrp_attribute27,
yrp_attribute28,
yrp_attribute29,
yrp_attribute30,
object_version_number
)
Values
( p_rec.yr_perd_id,
p_rec.perds_in_yr_num,
p_rec.perd_tm_uom_cd,
p_rec.perd_typ_cd,
p_rec.end_date,
p_rec.start_date,
p_rec.lmtn_yr_strt_dt,
p_rec.lmtn_yr_end_dt,
p_rec.business_group_id,
p_rec.yrp_attribute_category,
p_rec.yrp_attribute1,
p_rec.yrp_attribute2,
p_rec.yrp_attribute3,
p_rec.yrp_attribute4,
p_rec.yrp_attribute5,
p_rec.yrp_attribute6,
p_rec.yrp_attribute7,
p_rec.yrp_attribute8,
p_rec.yrp_attribute9,
p_rec.yrp_attribute10,
p_rec.yrp_attribute11,
p_rec.yrp_attribute12,
p_rec.yrp_attribute13,
p_rec.yrp_attribute14,
p_rec.yrp_attribute15,
p_rec.yrp_attribute16,
p_rec.yrp_attribute17,
p_rec.yrp_attribute18,
p_rec.yrp_attribute19,
p_rec.yrp_attribute20,
p_rec.yrp_attribute21,
p_rec.yrp_attribute22,
p_rec.yrp_attribute23,
p_rec.yrp_attribute24,
p_rec.yrp_attribute25,
p_rec.yrp_attribute26,
p_rec.yrp_attribute27,
p_rec.yrp_attribute28,
p_rec.yrp_attribute29,
p_rec.yrp_attribute30,
p_rec.object_version_number
);
End insert_dml;
Procedure pre_insert(p_rec in out nocopy ben_yrp_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_insert';
select ben_yr_perd_s.nextval from sys.dual;
End pre_insert;
Procedure post_insert(
p_effective_date in date,p_rec in ben_yrp_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_insert';
ben_yrp_rki.after_insert
(
p_yr_perd_id =>p_rec.yr_perd_id
,p_perds_in_yr_num =>p_rec.perds_in_yr_num
,p_perd_tm_uom_cd =>p_rec.perd_tm_uom_cd
,p_perd_typ_cd =>p_rec.perd_typ_cd
,p_end_date =>p_rec.end_date
,p_start_date =>p_rec.start_date
,p_lmtn_yr_strt_dt =>p_rec.lmtn_yr_strt_dt
,p_lmtn_yr_end_dt =>p_rec.lmtn_yr_end_dt
,p_business_group_id =>p_rec.business_group_id
,p_yrp_attribute_category =>p_rec.yrp_attribute_category
,p_yrp_attribute1 =>p_rec.yrp_attribute1
,p_yrp_attribute2 =>p_rec.yrp_attribute2
,p_yrp_attribute3 =>p_rec.yrp_attribute3
,p_yrp_attribute4 =>p_rec.yrp_attribute4
,p_yrp_attribute5 =>p_rec.yrp_attribute5
,p_yrp_attribute6 =>p_rec.yrp_attribute6
,p_yrp_attribute7 =>p_rec.yrp_attribute7
,p_yrp_attribute8 =>p_rec.yrp_attribute8
,p_yrp_attribute9 =>p_rec.yrp_attribute9
,p_yrp_attribute10 =>p_rec.yrp_attribute10
,p_yrp_attribute11 =>p_rec.yrp_attribute11
,p_yrp_attribute12 =>p_rec.yrp_attribute12
,p_yrp_attribute13 =>p_rec.yrp_attribute13
,p_yrp_attribute14 =>p_rec.yrp_attribute14
,p_yrp_attribute15 =>p_rec.yrp_attribute15
,p_yrp_attribute16 =>p_rec.yrp_attribute16
,p_yrp_attribute17 =>p_rec.yrp_attribute17
,p_yrp_attribute18 =>p_rec.yrp_attribute18
,p_yrp_attribute19 =>p_rec.yrp_attribute19
,p_yrp_attribute20 =>p_rec.yrp_attribute20
,p_yrp_attribute21 =>p_rec.yrp_attribute21
,p_yrp_attribute22 =>p_rec.yrp_attribute22
,p_yrp_attribute23 =>p_rec.yrp_attribute23
,p_yrp_attribute24 =>p_rec.yrp_attribute24
,p_yrp_attribute25 =>p_rec.yrp_attribute25
,p_yrp_attribute26 =>p_rec.yrp_attribute26
,p_yrp_attribute27 =>p_rec.yrp_attribute27
,p_yrp_attribute28 =>p_rec.yrp_attribute28
,p_yrp_attribute29 =>p_rec.yrp_attribute29
,p_yrp_attribute30 =>p_rec.yrp_attribute30
,p_object_version_number =>p_rec.object_version_number
,p_effective_date =>p_effective_date
);
End post_insert;
ben_yrp_bus.insert_validate(p_rec
,p_effective_date);
pre_insert(p_rec);
insert_dml(p_rec);
post_insert(
p_effective_date,p_rec);