The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy pqh_cpd_shd.g_rec_type
) is
--
l_proc varchar2(72);
l_proc := g_package||'update_dml';
update pqh_corps_definitions
set
corps_definition_id = p_rec.corps_definition_id
,business_group_id = p_rec.business_group_id
,name = p_rec.name
,status_cd = p_rec.status_cd
,retirement_age = p_rec.retirement_age
,category_cd = p_rec.category_cd
,recruitment_end_date = p_rec.recruitment_end_date
,corps_type_cd = p_rec.corps_type_cd
,starting_grade_step_id = p_rec.starting_grade_step_id
,task_desc = p_rec.task_desc
,secondment_threshold = p_rec.secondment_threshold
,normal_hours = p_rec.normal_hours
,normal_hours_frequency = p_rec.normal_hours_frequency
,minimum_hours = p_rec.minimum_hours
,minimum_hours_frequency = p_rec.minimum_hours_frequency
,attribute1 = p_rec.attribute1
,attribute2 = p_rec.attribute2
,attribute3 = p_rec.attribute3
,attribute4 = p_rec.attribute4
,attribute5 = p_rec.attribute5
,attribute6 = p_rec.attribute6
,attribute7 = p_rec.attribute7
,attribute8 = p_rec.attribute8
,attribute9 = p_rec.attribute9
,attribute10 = p_rec.attribute10
,attribute11 = p_rec.attribute11
,attribute12 = p_rec.attribute12
,attribute13 = p_rec.attribute13
,attribute14 = p_rec.attribute14
,attribute15 = p_rec.attribute15
,attribute16 = p_rec.attribute16
,attribute17 = p_rec.attribute17
,attribute18 = p_rec.attribute18
,attribute19 = p_rec.attribute19
,attribute20 = p_rec.attribute20
,attribute21 = p_rec.attribute21
,attribute22 = p_rec.attribute22
,attribute23 = p_rec.attribute23
,attribute24 = p_rec.attribute24
,attribute25 = p_rec.attribute25
,attribute26 = p_rec.attribute26
,attribute27 = p_rec.attribute27
,attribute28 = p_rec.attribute28
,attribute29 = p_rec.attribute29
,attribute30 = p_rec.attribute30
,attribute_category = p_rec.attribute_category
,object_version_number = p_rec.object_version_number
,type_of_ps = p_rec.type_of_ps
,date_from = p_rec.date_from
,date_to = p_rec.date_to
,primary_prof_field_id = p_rec.primary_prof_field_id
,starting_grade_id = p_rec.starting_grade_id
,ben_pgm_id = p_rec.ben_pgm_id
,probation_period = p_rec.probation_period
,probation_units = p_rec.probation_units
where corps_definition_id = p_rec.corps_definition_id;
End update_dml;
Procedure pre_update
(p_rec in pqh_cpd_shd.g_rec_type
) is
--
l_proc varchar2(72);
l_proc := g_package||'pre_update';
End pre_update;
Procedure post_update
(p_effective_date in date
,p_rec in pqh_cpd_shd.g_rec_type
) is
--
l_proc varchar2(72);
l_proc := g_package||'post_update';
pqh_cpd_rku.after_update
(p_effective_date => p_effective_date
,p_corps_definition_id
=> p_rec.corps_definition_id
,p_business_group_id
=> p_rec.business_group_id
,p_name
=> p_rec.name
,p_status_cd
=> p_rec.status_cd
,p_retirement_age
=> p_rec.retirement_age
,p_category_cd
=> p_rec.category_cd
,p_recruitment_end_date
=> p_rec.recruitment_end_date
,p_corps_type_cd
=> p_rec.corps_type_cd
,p_starting_grade_step_id
=> p_rec.starting_grade_step_id
,p_task_desc
=> p_rec.task_desc
,p_secondment_threshold
=> p_rec.secondment_threshold
,p_normal_hours
=> p_rec.normal_hours
,p_normal_hours_frequency
=> p_rec.normal_hours_frequency
,p_minimum_hours
=> p_rec.minimum_hours
,p_minimum_hours_frequency
=> p_rec.minimum_hours_frequency
,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_attribute21
=> p_rec.attribute21
,p_attribute22
=> p_rec.attribute22
,p_attribute23
=> p_rec.attribute23
,p_attribute24
=> p_rec.attribute24
,p_attribute25
=> p_rec.attribute25
,p_attribute26
=> p_rec.attribute26
,p_attribute27
=> p_rec.attribute27
,p_attribute28
=> p_rec.attribute28
,p_attribute29
=> p_rec.attribute29
,p_attribute30
=> p_rec.attribute30
,p_attribute_category
=> p_rec.attribute_category
,p_object_version_number
=> p_rec.object_version_number
,p_type_of_ps
=> p_rec.type_of_ps
,p_date_from
=> p_rec.date_from
,p_date_to
=> p_rec.date_to
,p_primary_prof_field_id
=> p_rec.primary_prof_field_id
,p_starting_grade_id
=> p_rec.starting_grade_id
,p_ben_pgm_id
=> p_rec.ben_pgm_id
,p_probation_period
=> p_rec.probation_period
,p_probation_units
=> p_rec.probation_units
,p_business_group_id_o
=> pqh_cpd_shd.g_old_rec.business_group_id
,p_name_o
=> pqh_cpd_shd.g_old_rec.name
,p_status_cd_o
=> pqh_cpd_shd.g_old_rec.status_cd
,p_retirement_age_o
=> pqh_cpd_shd.g_old_rec.retirement_age
,p_category_cd_o
=> pqh_cpd_shd.g_old_rec.category_cd
,p_recruitment_end_date_o
=> pqh_cpd_shd.g_old_rec.recruitment_end_date
,p_corps_type_cd_o
=> pqh_cpd_shd.g_old_rec.corps_type_cd
,p_starting_grade_step_id_o
=> pqh_cpd_shd.g_old_rec.starting_grade_step_id
,p_task_desc_o
=> pqh_cpd_shd.g_old_rec.task_desc
,p_secondment_threshold_o
=> pqh_cpd_shd.g_old_rec.secondment_threshold
,p_normal_hours_o
=> pqh_cpd_shd.g_old_rec.normal_hours
,p_normal_hours_frequency_o
=> pqh_cpd_shd.g_old_rec.normal_hours_frequency
,p_minimum_hours_o
=> pqh_cpd_shd.g_old_rec.minimum_hours
,p_minimum_hours_frequency_o
=> pqh_cpd_shd.g_old_rec.minimum_hours_frequency
,p_attribute1_o
=> pqh_cpd_shd.g_old_rec.attribute1
,p_attribute2_o
=> pqh_cpd_shd.g_old_rec.attribute2
,p_attribute3_o
=> pqh_cpd_shd.g_old_rec.attribute3
,p_attribute4_o
=> pqh_cpd_shd.g_old_rec.attribute4
,p_attribute5_o
=> pqh_cpd_shd.g_old_rec.attribute5
,p_attribute6_o
=> pqh_cpd_shd.g_old_rec.attribute6
,p_attribute7_o
=> pqh_cpd_shd.g_old_rec.attribute7
,p_attribute8_o
=> pqh_cpd_shd.g_old_rec.attribute8
,p_attribute9_o
=> pqh_cpd_shd.g_old_rec.attribute9
,p_attribute10_o
=> pqh_cpd_shd.g_old_rec.attribute10
,p_attribute11_o
=> pqh_cpd_shd.g_old_rec.attribute11
,p_attribute12_o
=> pqh_cpd_shd.g_old_rec.attribute12
,p_attribute13_o
=> pqh_cpd_shd.g_old_rec.attribute13
,p_attribute14_o
=> pqh_cpd_shd.g_old_rec.attribute14
,p_attribute15_o
=> pqh_cpd_shd.g_old_rec.attribute15
,p_attribute16_o
=> pqh_cpd_shd.g_old_rec.attribute16
,p_attribute17_o
=> pqh_cpd_shd.g_old_rec.attribute17
,p_attribute18_o
=> pqh_cpd_shd.g_old_rec.attribute18
,p_attribute19_o
=> pqh_cpd_shd.g_old_rec.attribute19
,p_attribute20_o
=> pqh_cpd_shd.g_old_rec.attribute20
,p_attribute21_o
=> pqh_cpd_shd.g_old_rec.attribute21
,p_attribute22_o
=> pqh_cpd_shd.g_old_rec.attribute22
,p_attribute23_o
=> pqh_cpd_shd.g_old_rec.attribute23
,p_attribute24_o
=> pqh_cpd_shd.g_old_rec.attribute24
,p_attribute25_o
=> pqh_cpd_shd.g_old_rec.attribute25
,p_attribute26_o
=> pqh_cpd_shd.g_old_rec.attribute26
,p_attribute27_o
=> pqh_cpd_shd.g_old_rec.attribute27
,p_attribute28_o
=> pqh_cpd_shd.g_old_rec.attribute28
,p_attribute29_o
=> pqh_cpd_shd.g_old_rec.attribute29
,p_attribute30_o
=> pqh_cpd_shd.g_old_rec.attribute30
,p_attribute_category_o
=> pqh_cpd_shd.g_old_rec.attribute_category
,p_object_version_number_o
=> pqh_cpd_shd.g_old_rec.object_version_number
,p_type_of_ps_o
=> pqh_cpd_shd.g_old_rec.type_of_ps
,p_date_from_o
=> pqh_cpd_shd.g_old_rec.date_from
,p_date_to_o
=> pqh_cpd_shd.g_old_rec.date_to
,p_primary_prof_field_id_o
=> pqh_cpd_shd.g_old_rec.primary_prof_field_id
,p_starting_grade_id_o
=> pqh_cpd_shd.g_old_rec.starting_grade_id
,p_ben_pgm_id_o
=> pqh_cpd_shd.g_old_rec.ben_pgm_id
,p_probation_period_o
=> pqh_cpd_shd.g_old_rec.probation_period
,p_probation_units_o
=> pqh_cpd_shd.g_old_rec.probation_units
);
End post_update;
pqh_cpd_bus.update_validate
(p_effective_date
,p_rec
);
pqh_cpd_upd.pre_update(p_rec);
pqh_cpd_upd.update_dml(p_rec);
pqh_cpd_upd.post_update
(p_effective_date
,p_rec
);