The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure insert_dml(p_rec in out nocopy per_grs_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'insert_dml';
insert into per_cagr_grade_structures
( cagr_grade_structure_id,
collective_agreement_id,
object_version_number,
id_flex_num,
dynamic_insert_allowed,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20
)
Values
( p_rec.cagr_grade_structure_id,
p_rec.collective_agreement_id,
p_rec.object_version_number,
p_rec.id_flex_num,
p_rec.dynamic_insert_allowed,
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
);
End insert_dml;
Procedure pre_insert(p_rec in out nocopy per_grs_shd.g_rec_type,
p_effective_date in date
) is
--
l_proc varchar2(72) := g_package||'pre_insert';
Cursor C_Sel1 is select per_cagr_grade_structures_s.nextval from sys.dual;
End pre_insert;
Procedure post_insert(p_rec in per_grs_shd.g_rec_type,
p_effective_date in date) is
--
l_proc varchar2(72) := g_package||'post_insert';
per_grs_rki.after_insert
(
p_cagr_grade_structure_id =>p_rec.cagr_grade_structure_id
,p_collective_agreement_id =>p_rec.collective_agreement_id
,p_object_version_number =>p_rec.object_version_number
,p_id_flex_num =>p_rec.id_flex_num
,p_dynamic_insert_allowed =>p_rec.dynamic_insert_allowed
,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_effective_date =>p_effective_date
);
End post_insert;
per_grs_bus.insert_validate(p_effective_date => p_effective_date,
p_rec => p_rec);
pre_insert(p_effective_date => p_effective_date,
p_rec => p_rec);
insert_dml(p_rec);
post_insert(p_effective_date => p_effective_date,
p_rec => p_rec);
p_dynamic_insert_allowed in varchar2 default null,
p_attribute_category in varchar2 default null,
p_attribute1 in varchar2 default null,
p_attribute2 in varchar2 default null,
p_attribute3 in varchar2 default null,
p_attribute4 in varchar2 default null,
p_attribute5 in varchar2 default null,
p_attribute6 in varchar2 default null,
p_attribute7 in varchar2 default null,
p_attribute8 in varchar2 default null,
p_attribute9 in varchar2 default null,
p_attribute10 in varchar2 default null,
p_attribute11 in varchar2 default null,
p_attribute12 in varchar2 default null,
p_attribute13 in varchar2 default null,
p_attribute14 in varchar2 default null,
p_attribute15 in varchar2 default null,
p_attribute16 in varchar2 default null,
p_attribute17 in varchar2 default null,
p_attribute18 in varchar2 default null,
p_attribute19 in varchar2 default null,
p_attribute20 in varchar2 default null,
p_effective_date in date
) is
--
l_rec per_grs_shd.g_rec_type;
p_dynamic_insert_allowed,
p_attribute_category,
p_attribute1,
p_attribute2,
p_attribute3,
p_attribute4,
p_attribute5,
p_attribute6,
p_attribute7,
p_attribute8,
p_attribute9,
p_attribute10,
p_attribute11,
p_attribute12,
p_attribute13,
p_attribute14,
p_attribute15,
p_attribute16,
p_attribute17,
p_attribute18,
p_attribute19,
p_attribute20
);