The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml(p_rec in out nocopy pqh_wdt_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'update_dml';
update pqh_worksheet_details
set
worksheet_detail_id = p_rec.worksheet_detail_id,
worksheet_id = p_rec.worksheet_id,
organization_id = p_rec.organization_id,
job_id = p_rec.job_id,
position_id = p_rec.position_id,
grade_id = p_rec.grade_id,
position_transaction_id = p_rec.position_transaction_id,
budget_detail_id = p_rec.budget_detail_id,
parent_worksheet_detail_id = p_rec.parent_worksheet_detail_id,
user_id = p_rec.user_id,
action_cd = p_rec.action_cd,
budget_unit1_percent = p_rec.budget_unit1_percent,
budget_unit1_value = p_rec.budget_unit1_value,
budget_unit2_percent = p_rec.budget_unit2_percent,
budget_unit2_value = p_rec.budget_unit2_value,
budget_unit3_percent = p_rec.budget_unit3_percent,
budget_unit3_value = p_rec.budget_unit3_value,
object_version_number = p_rec.object_version_number,
budget_unit1_value_type_cd = p_rec.budget_unit1_value_type_cd,
budget_unit2_value_type_cd = p_rec.budget_unit2_value_type_cd,
budget_unit3_value_type_cd = p_rec.budget_unit3_value_type_cd,
status = p_rec.status,
budget_unit1_available = p_rec.budget_unit1_available,
budget_unit2_available = p_rec.budget_unit2_available,
budget_unit3_available = p_rec.budget_unit3_available,
old_unit1_value = p_rec.old_unit1_value,
old_unit2_value = p_rec.old_unit2_value,
old_unit3_value = p_rec.old_unit3_value,
defer_flag = p_rec.defer_flag,
propagation_method = p_rec.propagation_method
where worksheet_detail_id = p_rec.worksheet_detail_id;
End update_dml;
Procedure pre_update(p_rec in pqh_wdt_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update(
p_effective_date in date,p_rec in pqh_wdt_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_update';
pqh_wdt_rku.after_update
(
p_worksheet_detail_id =>p_rec.worksheet_detail_id
,p_worksheet_id =>p_rec.worksheet_id
,p_organization_id =>p_rec.organization_id
,p_job_id =>p_rec.job_id
,p_position_id =>p_rec.position_id
,p_grade_id =>p_rec.grade_id
,p_position_transaction_id =>p_rec.position_transaction_id
,p_budget_detail_id =>p_rec.budget_detail_id
,p_parent_worksheet_detail_id =>p_rec.parent_worksheet_detail_id
,p_user_id =>p_rec.user_id
,p_action_cd =>p_rec.action_cd
,p_budget_unit1_percent =>p_rec.budget_unit1_percent
,p_budget_unit1_value =>p_rec.budget_unit1_value
,p_budget_unit2_percent =>p_rec.budget_unit2_percent
,p_budget_unit2_value =>p_rec.budget_unit2_value
,p_budget_unit3_percent =>p_rec.budget_unit3_percent
,p_budget_unit3_value =>p_rec.budget_unit3_value
,p_object_version_number =>p_rec.object_version_number
,p_budget_unit1_value_type_cd =>p_rec.budget_unit1_value_type_cd
,p_budget_unit2_value_type_cd =>p_rec.budget_unit2_value_type_cd
,p_budget_unit3_value_type_cd =>p_rec.budget_unit3_value_type_cd
,p_status =>p_rec.status
,p_budget_unit1_available =>p_rec.budget_unit1_available
,p_budget_unit2_available =>p_rec.budget_unit2_available
,p_budget_unit3_available =>p_rec.budget_unit3_available
,p_old_unit1_value =>p_rec.old_unit1_value
,p_old_unit2_value =>p_rec.old_unit2_value
,p_old_unit3_value =>p_rec.old_unit3_value
,p_defer_flag =>p_rec.defer_flag
,p_propagation_method =>p_rec.propagation_method
,p_effective_date =>p_effective_date
,p_worksheet_id_o =>pqh_wdt_shd.g_old_rec.worksheet_id
,p_organization_id_o =>pqh_wdt_shd.g_old_rec.organization_id
,p_job_id_o =>pqh_wdt_shd.g_old_rec.job_id
,p_position_id_o =>pqh_wdt_shd.g_old_rec.position_id
,p_grade_id_o =>pqh_wdt_shd.g_old_rec.grade_id
,p_position_transaction_id_o =>pqh_wdt_shd.g_old_rec.position_transaction_id
,p_budget_detail_id_o =>pqh_wdt_shd.g_old_rec.budget_detail_id
,p_parent_worksheet_detail_id_o =>pqh_wdt_shd.g_old_rec.parent_worksheet_detail_id
,p_user_id_o =>pqh_wdt_shd.g_old_rec.user_id
,p_action_cd_o =>pqh_wdt_shd.g_old_rec.action_cd
,p_budget_unit1_percent_o =>pqh_wdt_shd.g_old_rec.budget_unit1_percent
,p_budget_unit1_value_o =>pqh_wdt_shd.g_old_rec.budget_unit1_value
,p_budget_unit2_percent_o =>pqh_wdt_shd.g_old_rec.budget_unit2_percent
,p_budget_unit2_value_o =>pqh_wdt_shd.g_old_rec.budget_unit2_value
,p_budget_unit3_percent_o =>pqh_wdt_shd.g_old_rec.budget_unit3_percent
,p_budget_unit3_value_o =>pqh_wdt_shd.g_old_rec.budget_unit3_value
,p_object_version_number_o =>pqh_wdt_shd.g_old_rec.object_version_number
,p_budget_unit1_value_type_cd_o =>pqh_wdt_shd.g_old_rec.budget_unit1_value_type_cd
,p_budget_unit2_value_type_cd_o =>pqh_wdt_shd.g_old_rec.budget_unit2_value_type_cd
,p_budget_unit3_value_type_cd_o =>pqh_wdt_shd.g_old_rec.budget_unit3_value_type_cd
,p_status_o =>pqh_wdt_shd.g_old_rec.status
,p_budget_unit1_available_o =>pqh_wdt_shd.g_old_rec.budget_unit1_available
,p_budget_unit2_available_o =>pqh_wdt_shd.g_old_rec.budget_unit2_available
,p_budget_unit3_available_o =>pqh_wdt_shd.g_old_rec.budget_unit3_available
,p_old_unit1_value_o =>pqh_wdt_shd.g_old_rec.old_unit1_value
,p_old_unit2_value_o =>pqh_wdt_shd.g_old_rec.old_unit2_value
,p_old_unit3_value_o =>pqh_wdt_shd.g_old_rec.old_unit3_value
,p_defer_flag_o =>pqh_wdt_shd.g_old_rec.defer_flag
,p_propagation_method_o =>pqh_wdt_shd.g_old_rec.propagation_method
);
End post_update;
pqh_wdt_bus.update_validate(p_rec
,p_effective_date);
pre_update(p_rec);
update_dml(p_rec);
post_update(
p_effective_date,p_rec);