The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_dml(p_rec in out nocopy ben_wyp_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into ben_wthn_yr_perd
( wthn_yr_perd_id,
strt_day,
end_day,
strt_mo,
end_mo,
tm_uom,
yr_perd_id,
business_group_id,
wyp_attribute_category,
wyp_attribute1,
wyp_attribute2,
wyp_attribute3,
wyp_attribute4,
wyp_attribute5,
wyp_attribute6,
wyp_attribute7,
wyp_attribute8,
wyp_attribute9,
wyp_attribute10,
wyp_attribute11,
wyp_attribute12,
wyp_attribute13,
wyp_attribute14,
wyp_attribute15,
wyp_attribute16,
wyp_attribute17,
wyp_attribute18,
wyp_attribute19,
wyp_attribute20,
wyp_attribute21,
wyp_attribute22,
wyp_attribute23,
wyp_attribute24,
wyp_attribute25,
wyp_attribute26,
wyp_attribute27,
wyp_attribute28,
wyp_attribute29,
wyp_attribute30,
object_version_number
)
Values
( p_rec.wthn_yr_perd_id,
p_rec.strt_day,
p_rec.end_day,
p_rec.strt_mo,
p_rec.end_mo,
p_rec.tm_uom,
p_rec.yr_perd_id,
p_rec.business_group_id,
p_rec.wyp_attribute_category,
p_rec.wyp_attribute1,
p_rec.wyp_attribute2,
p_rec.wyp_attribute3,
p_rec.wyp_attribute4,
p_rec.wyp_attribute5,
p_rec.wyp_attribute6,
p_rec.wyp_attribute7,
p_rec.wyp_attribute8,
p_rec.wyp_attribute9,
p_rec.wyp_attribute10,
p_rec.wyp_attribute11,
p_rec.wyp_attribute12,
p_rec.wyp_attribute13,
p_rec.wyp_attribute14,
p_rec.wyp_attribute15,
p_rec.wyp_attribute16,
p_rec.wyp_attribute17,
p_rec.wyp_attribute18,
p_rec.wyp_attribute19,
p_rec.wyp_attribute20,
p_rec.wyp_attribute21,
p_rec.wyp_attribute22,
p_rec.wyp_attribute23,
p_rec.wyp_attribute24,
p_rec.wyp_attribute25,
p_rec.wyp_attribute26,
p_rec.wyp_attribute27,
p_rec.wyp_attribute28,
p_rec.wyp_attribute29,
p_rec.wyp_attribute30,
p_rec.object_version_number
);
End insert_dml;
Procedure pre_insert(p_rec in out nocopy ben_wyp_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_insert';
Cursor C_Sel1 is select ben_wthn_yr_perd_s.nextval from sys.dual;
End pre_insert;
Procedure post_insert(p_effective_date in date,
p_rec in ben_wyp_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_insert';
ben_wyp_rki.after_insert
(
p_wthn_yr_perd_id =>p_rec.wthn_yr_perd_id
,p_strt_day =>p_rec.strt_day
,p_end_day =>p_rec.end_day
,p_strt_mo =>p_rec.strt_mo
,p_end_mo =>p_rec.end_mo
,p_tm_uom =>p_rec.tm_uom
,p_yr_perd_id =>p_rec.yr_perd_id
,p_business_group_id =>p_rec.business_group_id
,p_wyp_attribute_category =>p_rec.wyp_attribute_category
,p_wyp_attribute1 =>p_rec.wyp_attribute1
,p_wyp_attribute2 =>p_rec.wyp_attribute2
,p_wyp_attribute3 =>p_rec.wyp_attribute3
,p_wyp_attribute4 =>p_rec.wyp_attribute4
,p_wyp_attribute5 =>p_rec.wyp_attribute5
,p_wyp_attribute6 =>p_rec.wyp_attribute6
,p_wyp_attribute7 =>p_rec.wyp_attribute7
,p_wyp_attribute8 =>p_rec.wyp_attribute8
,p_wyp_attribute9 =>p_rec.wyp_attribute9
,p_wyp_attribute10 =>p_rec.wyp_attribute10
,p_wyp_attribute11 =>p_rec.wyp_attribute11
,p_wyp_attribute12 =>p_rec.wyp_attribute12
,p_wyp_attribute13 =>p_rec.wyp_attribute13
,p_wyp_attribute14 =>p_rec.wyp_attribute14
,p_wyp_attribute15 =>p_rec.wyp_attribute15
,p_wyp_attribute16 =>p_rec.wyp_attribute16
,p_wyp_attribute17 =>p_rec.wyp_attribute17
,p_wyp_attribute18 =>p_rec.wyp_attribute18
,p_wyp_attribute19 =>p_rec.wyp_attribute19
,p_wyp_attribute20 =>p_rec.wyp_attribute20
,p_wyp_attribute21 =>p_rec.wyp_attribute21
,p_wyp_attribute22 =>p_rec.wyp_attribute22
,p_wyp_attribute23 =>p_rec.wyp_attribute23
,p_wyp_attribute24 =>p_rec.wyp_attribute24
,p_wyp_attribute25 =>p_rec.wyp_attribute25
,p_wyp_attribute26 =>p_rec.wyp_attribute26
,p_wyp_attribute27 =>p_rec.wyp_attribute27
,p_wyp_attribute28 =>p_rec.wyp_attribute28
,p_wyp_attribute29 =>p_rec.wyp_attribute29
,p_wyp_attribute30 =>p_rec.wyp_attribute30
,p_object_version_number =>p_rec.object_version_number
,p_effective_date =>p_effective_date
);
End post_insert;
ben_wyp_bus.insert_validate(p_rec
,p_effective_date);
pre_insert(p_rec);
insert_dml(p_rec);
post_insert(p_effective_date,
p_rec);