The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy per_pat_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
select full_name
from per_all_people_f
where person_id in (
select person_id
from PER_ALLOCATED_CHECKLISTS
where ALLOCATED_CHECKLIST_ID =p_rec.allocated_checklist_id )
and sysdate between effective_start_date and effective_end_date;
select user_name
from fnd_user
where employee_id= p_rec.performer_orig_sys_id;
update per_allocated_tasks
set
allocated_task_id = p_rec.allocated_task_id
,allocated_checklist_id = p_rec.allocated_checklist_id
,task_name = p_rec.task_name
,description = p_rec.description
,performer_orig_system = p_rec.performer_orig_system
,performer_orig_sys_id = p_rec.performer_orig_sys_id
,task_owner_person_id = p_rec.task_owner_person_id
,task_sequence = p_rec.task_sequence
,target_start_date = p_rec.target_start_date
,target_end_date = p_rec.target_end_date
,actual_start_date = p_rec.actual_start_date
,actual_end_date = p_rec.actual_end_date
,action_url = p_rec.action_url
,mandatory_flag = p_rec.mandatory_flag
,status = p_rec.status
,object_version_number = p_rec.object_version_number
,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
,information_category = p_rec.information_category
,information1 = p_rec.information1
,information2 = p_rec.information2
,information3 = p_rec.information3
,information4 = p_rec.information4
,information5 = p_rec.information5
,information6 = p_rec.information6
,information7 = p_rec.information7
,information8 = p_rec.information8
,information9 = p_rec.information9
,information10 = p_rec.information10
,information11 = p_rec.information11
,information12 = p_rec.information12
,information13 = p_rec.information13
,information14 = p_rec.information14
,information15 = p_rec.information15
,information16 = p_rec.information16
,information17 = p_rec.information17
,information18 = p_rec.information18
,information19 = p_rec.information19
,information20 = p_rec.information20
where allocated_task_id = p_rec.allocated_task_id;
End update_dml;
Procedure pre_update
(p_rec in per_pat_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 per_pat_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
per_pat_rku.after_update
(p_effective_date => p_effective_date
,p_allocated_task_id
=> p_rec.allocated_task_id
,p_allocated_checklist_id
=> p_rec.allocated_checklist_id
,p_task_name
=> p_rec.task_name
,p_description
=> p_rec.description
,p_performer_orig_system
=> p_rec.performer_orig_system
,p_performer_orig_sys_id
=> p_rec.performer_orig_sys_id
,p_task_owner_person_id
=> p_rec.task_owner_person_id
,p_task_sequence
=> p_rec.task_sequence
,p_target_start_date
=> p_rec.target_start_date
,p_target_end_date
=> p_rec.target_end_date
,p_actual_start_date
=> p_rec.actual_start_date
,p_actual_end_date
=> p_rec.actual_end_date
,p_action_url
=> p_rec.action_url
,p_mandatory_flag
=> p_rec.mandatory_flag
,p_status
=> p_rec.status
,p_object_version_number
=> p_rec.object_version_number
,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_information_category
=> p_rec.information_category
,p_information1
=> p_rec.information1
,p_information2
=> p_rec.information2
,p_information3
=> p_rec.information3
,p_information4
=> p_rec.information4
,p_information5
=> p_rec.information5
,p_information6
=> p_rec.information6
,p_information7
=> p_rec.information7
,p_information8
=> p_rec.information8
,p_information9
=> p_rec.information9
,p_information10
=> p_rec.information10
,p_information11
=> p_rec.information11
,p_information12
=> p_rec.information12
,p_information13
=> p_rec.information13
,p_information14
=> p_rec.information14
,p_information15
=> p_rec.information15
,p_information16
=> p_rec.information16
,p_information17
=> p_rec.information17
,p_information18
=> p_rec.information18
,p_information19
=> p_rec.information19
,p_information20
=> p_rec.information20
,p_allocated_checklist_id_o
=> per_pat_shd.g_old_rec.allocated_checklist_id
,p_task_name_o
=> per_pat_shd.g_old_rec.task_name
,p_description_o
=> per_pat_shd.g_old_rec.description
,p_performer_orig_system_o
=> per_pat_shd.g_old_rec.performer_orig_system
,p_performer_orig_sys_id_o
=> per_pat_shd.g_old_rec.performer_orig_sys_id
,p_task_owner_person_id_o
=> per_pat_shd.g_old_rec.task_owner_person_id
,p_task_sequence_o
=> per_pat_shd.g_old_rec.task_sequence
,p_target_start_date_o
=> per_pat_shd.g_old_rec.target_start_date
,p_target_end_date_o
=> per_pat_shd.g_old_rec.target_end_date
,p_actual_start_date_o
=> per_pat_shd.g_old_rec.actual_start_date
,p_actual_end_date_o
=> per_pat_shd.g_old_rec.actual_end_date
,p_action_url_o
=> per_pat_shd.g_old_rec.action_url
,p_mandatory_flag_o
=> per_pat_shd.g_old_rec.mandatory_flag
,p_status_o
=> per_pat_shd.g_old_rec.status
,p_object_version_number_o
=> per_pat_shd.g_old_rec.object_version_number
,p_attribute_category_o
=> per_pat_shd.g_old_rec.attribute_category
,p_attribute1_o
=> per_pat_shd.g_old_rec.attribute1
,p_attribute2_o
=> per_pat_shd.g_old_rec.attribute2
,p_attribute3_o
=> per_pat_shd.g_old_rec.attribute3
,p_attribute4_o
=> per_pat_shd.g_old_rec.attribute4
,p_attribute5_o
=> per_pat_shd.g_old_rec.attribute5
,p_attribute6_o
=> per_pat_shd.g_old_rec.attribute6
,p_attribute7_o
=> per_pat_shd.g_old_rec.attribute7
,p_attribute8_o
=> per_pat_shd.g_old_rec.attribute8
,p_attribute9_o
=> per_pat_shd.g_old_rec.attribute9
,p_attribute10_o
=> per_pat_shd.g_old_rec.attribute10
,p_attribute11_o
=> per_pat_shd.g_old_rec.attribute11
,p_attribute12_o
=> per_pat_shd.g_old_rec.attribute12
,p_attribute13_o
=> per_pat_shd.g_old_rec.attribute13
,p_attribute14_o
=> per_pat_shd.g_old_rec.attribute14
,p_attribute15_o
=> per_pat_shd.g_old_rec.attribute15
,p_attribute16_o
=> per_pat_shd.g_old_rec.attribute16
,p_attribute17_o
=> per_pat_shd.g_old_rec.attribute17
,p_attribute18_o
=> per_pat_shd.g_old_rec.attribute18
,p_attribute19_o
=> per_pat_shd.g_old_rec.attribute19
,p_attribute20_o
=> per_pat_shd.g_old_rec.attribute20
,p_information_category_o
=> per_pat_shd.g_old_rec.information_category
,p_information1_o
=> per_pat_shd.g_old_rec.information1
,p_information2_o
=> per_pat_shd.g_old_rec.information2
,p_information3_o
=> per_pat_shd.g_old_rec.information3
,p_information4_o
=> per_pat_shd.g_old_rec.information4
,p_information5_o
=> per_pat_shd.g_old_rec.information5
,p_information6_o
=> per_pat_shd.g_old_rec.information6
,p_information7_o
=> per_pat_shd.g_old_rec.information7
,p_information8_o
=> per_pat_shd.g_old_rec.information8
,p_information9_o
=> per_pat_shd.g_old_rec.information9
,p_information10_o
=> per_pat_shd.g_old_rec.information10
,p_information11_o
=> per_pat_shd.g_old_rec.information11
,p_information12_o
=> per_pat_shd.g_old_rec.information12
,p_information13_o
=> per_pat_shd.g_old_rec.information13
,p_information14_o
=> per_pat_shd.g_old_rec.information14
,p_information15_o
=> per_pat_shd.g_old_rec.information15
,p_information16_o
=> per_pat_shd.g_old_rec.information16
,p_information17_o
=> per_pat_shd.g_old_rec.information17
,p_information18_o
=> per_pat_shd.g_old_rec.information18
,p_information19_o
=> per_pat_shd.g_old_rec.information19
,p_information20_o
=> per_pat_shd.g_old_rec.information20
);
End post_update;
per_pat_bus.update_validate
(p_effective_date
,p_rec
);
per_pat_upd.pre_update(p_rec);
per_pat_upd.update_dml(p_rec);
per_pat_upd.post_update
(p_effective_date
,p_rec
);