The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure delete_dml
(p_rec in ota_tps_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'delete_dml';
delete from ota_training_plans
where training_plan_id = p_rec.training_plan_id;
End delete_dml;
Procedure pre_delete(p_rec in ota_tps_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'pre_delete';
End pre_delete;
Procedure post_delete(p_rec in ota_tps_shd.g_rec_type) is
--
l_proc varchar2(72) := g_package||'post_delete';
ota_tps_rkd.after_delete
(p_training_plan_id
=> p_rec.training_plan_id
,p_time_period_id_o
=> ota_tps_shd.g_old_rec.time_period_id
,p_plan_status_type_id_o
=> ota_tps_shd.g_old_rec.plan_status_type_id
,p_organization_id_o
=> ota_tps_shd.g_old_rec.organization_id
,p_person_id_o
=> ota_tps_shd.g_old_rec.person_id
,p_budget_currency_o
=> ota_tps_shd.g_old_rec.budget_currency
,p_name_o
=> ota_tps_shd.g_old_rec.name
,p_description_o
=> ota_tps_shd.g_old_rec.description
,p_business_group_id_o
=> ota_tps_shd.g_old_rec.business_group_id
,p_object_version_number_o
=> ota_tps_shd.g_old_rec.object_version_number
,p_attribute_category_o
=> ota_tps_shd.g_old_rec.attribute_category
,p_attribute1_o
=> ota_tps_shd.g_old_rec.attribute1
,p_attribute2_o
=> ota_tps_shd.g_old_rec.attribute2
,p_attribute3_o
=> ota_tps_shd.g_old_rec.attribute3
,p_attribute4_o
=> ota_tps_shd.g_old_rec.attribute4
,p_attribute5_o
=> ota_tps_shd.g_old_rec.attribute5
,p_attribute6_o
=> ota_tps_shd.g_old_rec.attribute6
,p_attribute7_o
=> ota_tps_shd.g_old_rec.attribute7
,p_attribute8_o
=> ota_tps_shd.g_old_rec.attribute8
,p_attribute9_o
=> ota_tps_shd.g_old_rec.attribute9
,p_attribute10_o
=> ota_tps_shd.g_old_rec.attribute10
,p_attribute11_o
=> ota_tps_shd.g_old_rec.attribute11
,p_attribute12_o
=> ota_tps_shd.g_old_rec.attribute12
,p_attribute13_o
=> ota_tps_shd.g_old_rec.attribute13
,p_attribute14_o
=> ota_tps_shd.g_old_rec.attribute14
,p_attribute15_o
=> ota_tps_shd.g_old_rec.attribute15
,p_attribute16_o
=> ota_tps_shd.g_old_rec.attribute16
,p_attribute17_o
=> ota_tps_shd.g_old_rec.attribute17
,p_attribute18_o
=> ota_tps_shd.g_old_rec.attribute18
,p_attribute19_o
=> ota_tps_shd.g_old_rec.attribute19
,p_attribute20_o
=> ota_tps_shd.g_old_rec.attribute20
,p_attribute21_o
=> ota_tps_shd.g_old_rec.attribute21
,p_attribute22_o
=> ota_tps_shd.g_old_rec.attribute22
,p_attribute23_o
=> ota_tps_shd.g_old_rec.attribute23
,p_attribute24_o
=> ota_tps_shd.g_old_rec.attribute24
,p_attribute25_o
=> ota_tps_shd.g_old_rec.attribute25
,p_attribute26_o
=> ota_tps_shd.g_old_rec.attribute26
,p_attribute27_o
=> ota_tps_shd.g_old_rec.attribute27
,p_attribute28_o
=> ota_tps_shd.g_old_rec.attribute28
,p_attribute29_o
=> ota_tps_shd.g_old_rec.attribute29
,p_attribute30_o
=> ota_tps_shd.g_old_rec.attribute30
,p_plan_source_o => ota_tps_shd.g_old_rec.plan_source --changed
,p_start_date_o => ota_tps_shd.g_old_rec.start_date
,p_end_date_o => ota_tps_shd.g_old_rec.end_date
,p_creator_person_id_o => ota_tps_shd.g_old_rec.creator_person_id
,p_additional_member_flag_o => ota_tps_shd.g_old_rec.additional_member_flag
,p_learning_path_id_o => ota_tps_shd.g_old_rec.learning_path_id
,p_contact_id_o => ota_tps_shd.g_old_rec.contact_id
);
End post_delete;
ota_tps_bus.delete_validate(p_rec);
ota_tps_del.pre_delete(p_rec);
ota_tps_del.delete_dml(p_rec);
ota_tps_del.post_delete(p_rec);