The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_dml(p_rec in out nocopy per_est_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into per_establishments
( establishment_id,
name,
location,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
est_information_category,
est_information1,
est_information2,
est_information3,
est_information4,
est_information5,
est_information6,
est_information7,
est_information8,
est_information9,
est_information10,
est_information11,
est_information12,
est_information13,
est_information14,
est_information15,
est_information16,
est_information17,
est_information18,
est_information19,
est_information20 ,
object_version_number
)
Values
( p_rec.establishment_id,
p_rec.name,
p_rec.location,
p_rec.attribute_category,
p_rec.attribute1,
p_rec.attribute2,
p_rec.attribute3,
p_rec.attribute4,
p_rec.attribute5,
p_rec.attribute6,
p_rec.attribute7,
p_rec.attribute8,
p_rec.attribute9,
p_rec.attribute10,
p_rec.attribute11,
p_rec.attribute12,
p_rec.attribute13,
p_rec.attribute14,
p_rec.attribute15,
p_rec.attribute16,
p_rec.attribute17,
p_rec.attribute18,
p_rec.attribute19,
p_rec.attribute20,
p_rec.est_information_category,
p_rec.est_information1,
p_rec.est_information2,
p_rec.est_information3,
p_rec.est_information4,
p_rec.est_information5,
p_rec.est_information6,
p_rec.est_information7,
p_rec.est_information8,
p_rec.est_information9,
p_rec.est_information10,
p_rec.est_information11,
p_rec.est_information12,
p_rec.est_information13,
p_rec.est_information14,
p_rec.est_information15,
p_rec.est_information16,
p_rec.est_information17,
p_rec.est_information18,
p_rec.est_information19,
p_rec.est_information20 ,
p_rec.object_version_number
);
End insert_dml;
Procedure pre_insert(p_rec in out nocopy per_est_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_insert';
select per_establishments_s.nextval
from sys.dual;
End pre_insert;
Procedure post_insert(p_rec in per_est_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_insert';
per_est_rki.after_insert
(p_establishment_id =>p_rec.establishment_id
,p_name =>p_rec.name
,p_location =>p_rec.location
,p_attribute_category =>p_rec.attribute_category
,p_attribute1 =>p_rec.attribute1
,p_attribute2 =>p_rec.attribute2
,p_attribute3 =>p_rec.attribute3
,p_attribute4 =>p_rec.attribute4
,p_attribute5 =>p_rec.attribute5
,p_attribute6 =>p_rec.attribute6
,p_attribute7 =>p_rec.attribute7
,p_attribute8 =>p_rec.attribute8
,p_attribute9 =>p_rec.attribute9
,p_attribute10 =>p_rec.attribute10
,p_attribute11 =>p_rec.attribute11
,p_attribute12 =>p_rec.attribute12
,p_attribute13 =>p_rec.attribute13
,p_attribute14 =>p_rec.attribute14
,p_attribute15 =>p_rec.attribute15
,p_attribute16 =>p_rec.attribute16
,p_attribute17 =>p_rec.attribute17
,p_attribute18 =>p_rec.attribute18
,p_attribute19 =>p_rec.attribute19
,p_attribute20 =>p_rec.attribute20 ,
p_est_information_category => p_rec.est_information_category,
p_est_information1 => p_rec.est_information1,
p_est_information2 => p_rec.est_information2,
p_est_information3 => p_rec.est_information3,
p_est_information4 => p_rec.est_information4,
p_est_information5 => p_rec.est_information5,
p_est_information6 => p_rec.est_information6,
p_est_information7 => p_rec.est_information7,
p_est_information8 => p_rec.est_information8,
p_est_information9 => p_rec.est_information9,
p_est_information10 => p_rec.est_information10,
p_est_information11 => p_rec.est_information11,
p_est_information12 => p_rec.est_information12,
p_est_information13 => p_rec.est_information13,
p_est_information14 => p_rec.est_information14,
p_est_information15 => p_rec.est_information15,
p_est_information16 => p_rec.est_information16,
p_est_information17 => p_rec.est_information17,
p_est_information18 => p_rec.est_information18,
p_est_information19 => p_rec.est_information19,
p_est_information20 => p_rec.est_information20,
p_object_version_number =>p_rec.object_version_number
);
End post_insert;
per_est_bus.insert_validate(p_rec);
pre_insert(p_rec);
insert_dml(p_rec);
post_insert(p_rec);