The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_dml(p_rec in out nocopy per_sub_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into per_subjects_taken
( subjects_taken_id,
start_date,
major,
subject_status,
subject,
grade_attained,
end_date,
qualification_id,
object_version_number,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
sub_information_category,
sub_information1,
sub_information2,
sub_information3,
sub_information4,
sub_information5,
sub_information6,
sub_information7,
sub_information8,
sub_information9,
sub_information10,
sub_information11,
sub_information12,
sub_information13,
sub_information14,
sub_information15,
sub_information16,
sub_information17,
sub_information18,
sub_information19,
sub_information20
)
Values
( p_rec.subjects_taken_id,
p_rec.start_date,
p_rec.major,
p_rec.subject_status,
p_rec.subject,
p_rec.grade_attained,
p_rec.end_date,
p_rec.qualification_id,
p_rec.object_version_number,
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.sub_information_category,
p_rec.sub_information1,
p_rec.sub_information2,
p_rec.sub_information3,
p_rec.sub_information4,
p_rec.sub_information5,
p_rec.sub_information6,
p_rec.sub_information7,
p_rec.sub_information8,
p_rec.sub_information9,
p_rec.sub_information10,
p_rec.sub_information11,
p_rec.sub_information12,
p_rec.sub_information13,
p_rec.sub_information14,
p_rec.sub_information15,
p_rec.sub_information16,
p_rec.sub_information17,
p_rec.sub_information18,
p_rec.sub_information19,
p_rec.sub_information20
);
End insert_dml;
Procedure pre_insert(p_rec in out nocopy per_sub_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_insert';
Cursor C_Sel1 is select per_subjects_taken_s.nextval from sys.dual;
End pre_insert;
Procedure post_insert(p_rec in per_sub_shd.g_rec_type,
p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'post_insert';
per_sub_rki.after_insert
(
p_subjects_taken_id => p_rec.subjects_taken_id,
p_start_date => p_rec.start_date,
p_major => p_rec.major,
p_subject_status => p_rec.subject_status,
p_subject => p_rec.subject,
p_grade_attained => p_rec.grade_attained,
p_end_date => p_rec.end_date,
p_qualification_id => p_rec.qualification_id,
p_object_version_number => p_rec.object_version_number,
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_sub_information_category => p_rec.sub_information_category,
p_sub_information1 => p_rec.sub_information1,
p_sub_information2 => p_rec.sub_information2,
p_sub_information3 => p_rec.sub_information3,
p_sub_information4 => p_rec.sub_information4,
p_sub_information5 => p_rec.sub_information5,
p_sub_information6 => p_rec.sub_information6,
p_sub_information7 => p_rec.sub_information7,
p_sub_information8 => p_rec.sub_information8,
p_sub_information9 => p_rec.sub_information9,
p_sub_information10 => p_rec.sub_information10,
p_sub_information11 => p_rec.sub_information11,
p_sub_information12 => p_rec.sub_information12,
p_sub_information13 => p_rec.sub_information13,
p_sub_information14 => p_rec.sub_information14,
p_sub_information15 => p_rec.sub_information15,
p_sub_information16 => p_rec.sub_information16,
p_sub_information17 => p_rec.sub_information17,
p_sub_information18 => p_rec.sub_information18,
p_sub_information19 => p_rec.sub_information19,
p_sub_information20 => p_rec.sub_information20,
p_effective_date => p_effective_date
);
End post_insert;
per_sub_bus.insert_validate(p_rec,p_effective_date);
pre_insert(p_rec);
insert_dml(p_rec);
post_insert(p_rec, p_effective_date);