The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml(p_rec in out nocopy per_obj_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'update_dml';
update per_objectives
set
objective_id = p_rec.objective_id,
name = p_rec.name,
target_date = p_rec.target_date,
start_date = p_rec.start_date,
object_version_number = p_rec.object_version_number,
achievement_date = p_rec.achievement_date,
detail = p_rec.detail,
comments = p_rec.comments,
success_criteria = p_rec.success_criteria,
attribute_category = p_rec.attribute_category,
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,
scorecard_id = p_rec.scorecard_id,
copied_from_library_id = p_rec.copied_from_library_id,
copied_from_objective_id = p_rec.copied_from_objective_id,
aligned_with_objective_id = p_rec.aligned_with_objective_id,
next_review_date = p_rec.next_review_date,
group_code = p_rec.group_code,
priority_code = p_rec.priority_code,
appraise_flag = p_rec.appraise_flag,
verified_flag = p_rec.verified_flag,
target_value = p_rec.target_value,
actual_value = p_rec.actual_value,
weighting_percent = p_rec.weighting_percent,
complete_percent = p_rec.complete_percent,
uom_code = p_rec.uom_code,
measurement_style_code = p_rec.measurement_style_code,
measure_name = p_rec.measure_name,
measure_type_code = p_rec.measure_type_code,
measure_comments = p_rec.measure_comments,
sharing_access_code = p_rec.sharing_access_code,
appraisal_id = p_rec.appraisal_id
where objective_id = p_rec.objective_id;
End update_dml;
Procedure pre_update(p_rec in per_obj_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update
(p_rec in per_obj_shd.g_rec_type,
p_effective_date in date,
p_weighting_over_100_warning in boolean,
p_weighting_appraisal_warning in boolean
) is
--
l_proc varchar2(72) := g_package||'post_update';
per_obj_rku.after_update
(
p_objective_id => p_rec.objective_id,
p_name => p_rec.name,
p_target_date => p_rec.target_date,
p_start_date => p_rec.start_date,
p_object_version_number => p_rec.object_version_number,
p_achievement_date => p_rec.achievement_date,
p_detail => p_rec.detail,
p_comments => p_rec.comments,
p_success_criteria => p_rec.success_criteria,
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_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_effective_date => p_effective_date,
p_scorecard_id => p_rec.scorecard_id,
p_copied_from_library_id => p_rec.copied_from_library_id,
p_copied_from_objective_id => p_rec.copied_from_objective_id,
p_aligned_with_objective_id => p_rec.aligned_with_objective_id,
p_next_review_date => p_rec.next_review_date,
p_group_code => p_rec.group_code,
p_priority_code => p_rec.priority_code,
p_appraise_flag => p_rec.appraise_flag,
p_verified_flag => p_rec.verified_flag,
p_target_value => p_rec.target_value,
p_actual_value => p_rec.actual_value,
p_weighting_percent => p_rec.weighting_percent,
p_complete_percent => p_rec.complete_percent,
p_uom_code => p_rec.uom_code,
p_measurement_style_code => p_rec.measurement_style_code,
p_measure_name => p_rec.measure_name,
p_measure_type_code => p_rec.measure_type_code,
p_measure_comments => p_rec.measure_comments ,
p_sharing_access_code => p_rec.sharing_access_code,
p_weighting_over_100_warning => p_weighting_over_100_warning,
p_weighting_appraisal_warning => p_weighting_appraisal_warning,
p_name_o => per_obj_shd.g_old_rec.name,
p_target_date_o => per_obj_shd.g_old_rec.target_date,
p_start_date_o => per_obj_shd.g_old_rec.start_date,
p_business_group_id_o => per_obj_shd.g_old_rec.business_group_id,
p_object_version_number_o => per_obj_shd.g_old_rec.object_version_number,
p_owning_person_id_o => per_obj_shd.g_old_rec.owning_person_id,
p_achievement_date_o => per_obj_shd.g_old_rec.achievement_date,
p_detail_o => per_obj_shd.g_old_rec.detail,
p_comments_o => per_obj_shd.g_old_rec.comments,
p_success_criteria_o => per_obj_shd.g_old_rec.success_criteria,
p_appraisal_id_o => per_obj_shd.g_old_rec.appraisal_id,
p_attribute_category_o => per_obj_shd.g_old_rec.attribute_category,
p_attribute1_o => per_obj_shd.g_old_rec.attribute1,
p_attribute2_o => per_obj_shd.g_old_rec.attribute2,
p_attribute3_o => per_obj_shd.g_old_rec.attribute3,
p_attribute4_o => per_obj_shd.g_old_rec.attribute4,
p_attribute5_o => per_obj_shd.g_old_rec.attribute5,
p_attribute6_o => per_obj_shd.g_old_rec.attribute6,
p_attribute7_o => per_obj_shd.g_old_rec.attribute7,
p_attribute8_o => per_obj_shd.g_old_rec.attribute8,
p_attribute9_o => per_obj_shd.g_old_rec.attribute9,
p_attribute10_o => per_obj_shd.g_old_rec.attribute10,
p_attribute11_o => per_obj_shd.g_old_rec.attribute11,
p_attribute12_o => per_obj_shd.g_old_rec.attribute12,
p_attribute13_o => per_obj_shd.g_old_rec.attribute13,
p_attribute14_o => per_obj_shd.g_old_rec.attribute14,
p_attribute15_o => per_obj_shd.g_old_rec.attribute15,
p_attribute16_o => per_obj_shd.g_old_rec.attribute16,
p_attribute17_o => per_obj_shd.g_old_rec.attribute17,
p_attribute18_o => per_obj_shd.g_old_rec.attribute18,
p_attribute19_o => per_obj_shd.g_old_rec.attribute19,
p_attribute20_o => per_obj_shd.g_old_rec.attribute20,
p_attribute21_o => per_obj_shd.g_old_rec.attribute21,
p_attribute22_o => per_obj_shd.g_old_rec.attribute22,
p_attribute23_o => per_obj_shd.g_old_rec.attribute23,
p_attribute24_o => per_obj_shd.g_old_rec.attribute24,
p_attribute25_o => per_obj_shd.g_old_rec.attribute25,
p_attribute26_o => per_obj_shd.g_old_rec.attribute26,
p_attribute27_o => per_obj_shd.g_old_rec.attribute27,
p_attribute28_o => per_obj_shd.g_old_rec.attribute28,
p_attribute29_o => per_obj_shd.g_old_rec.attribute29,
p_attribute30_o => per_obj_shd.g_old_rec.attribute30,
p_scorecard_id_o => per_obj_shd.g_old_rec.scorecard_id,
p_copied_from_library_id_o => per_obj_shd.g_old_rec.copied_from_library_id,
p_copied_from_objective_id_o => per_obj_shd.g_old_rec.copied_from_objective_id,
p_aligned_with_objective_id_o => per_obj_shd.g_old_rec.aligned_with_objective_id,
p_next_review_date_o => per_obj_shd.g_old_rec.next_review_date,
p_group_code_o => per_obj_shd.g_old_rec.group_code,
p_priority_code_o => per_obj_shd.g_old_rec.priority_code,
p_appraise_flag_o => per_obj_shd.g_old_rec.appraise_flag,
p_verified_flag_o => per_obj_shd.g_old_rec.verified_flag,
p_target_value_o => per_obj_shd.g_old_rec.target_value,
p_actual_value_o => per_obj_shd.g_old_rec.actual_value,
p_weighting_percent_o => per_obj_shd.g_old_rec.weighting_percent,
p_complete_percent_o => per_obj_shd.g_old_rec.complete_percent,
p_uom_code_o => per_obj_shd.g_old_rec.uom_code,
p_measurement_style_code_o => per_obj_shd.g_old_rec.measurement_style_code,
p_measure_name_o => per_obj_shd.g_old_rec.measure_name,
p_measure_type_code_o => per_obj_shd.g_old_rec.measure_type_code,
p_measure_comments_o => per_obj_shd.g_old_rec.measure_comments ,
p_sharing_access_code_o => per_obj_shd.g_old_rec.sharing_access_code
);
End post_update;
per_obj_bus.update_validate
(p_rec
,p_effective_date
,p_weighting_over_100_warning
,p_weighting_appraisal_warning
);
pre_update(p_rec);
update_dml(p_rec);
post_update(p_rec
,p_effective_date
,p_weighting_over_100_warning
,p_weighting_appraisal_warning
);