The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy ota_trb_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update ota_resource_bookings
set
resource_booking_id = p_rec.resource_booking_id
,supplied_resource_id = p_rec.supplied_resource_id
,event_id = p_rec.event_id
,date_booking_placed = p_rec.date_booking_placed
,object_version_number = p_rec.object_version_number
,status = p_rec.status
,absolute_price = p_rec.absolute_price
,booking_person_id = p_rec.booking_person_id
,comments = p_rec.comments
,contact_name = p_rec.contact_name
,contact_phone_number = p_rec.contact_phone_number
,delegates_per_unit = p_rec.delegates_per_unit
,quantity = p_rec.quantity
,required_date_from = p_rec.required_date_from
,required_date_to = p_rec.required_date_to
,required_end_time = p_rec.required_end_time
,required_start_time = p_rec.required_start_time
,deliver_to = p_rec.deliver_to
,primary_venue_flag = p_rec.primary_venue_flag
,role_to_play = p_rec.role_to_play
,trb_information_category = p_rec.trb_information_category
,trb_information1 = p_rec.trb_information1
,trb_information2 = p_rec.trb_information2
,trb_information3 = p_rec.trb_information3
,trb_information4 = p_rec.trb_information4
,trb_information5 = p_rec.trb_information5
,trb_information6 = p_rec.trb_information6
,trb_information7 = p_rec.trb_information7
,trb_information8 = p_rec.trb_information8
,trb_information9 = p_rec.trb_information9
,trb_information10 = p_rec.trb_information10
,trb_information11 = p_rec.trb_information11
,trb_information12 = p_rec.trb_information12
,trb_information13 = p_rec.trb_information13
,trb_information14 = p_rec.trb_information14
,trb_information15 = p_rec.trb_information15
,trb_information16 = p_rec.trb_information16
,trb_information17 = p_rec.trb_information17
,trb_information18 = p_rec.trb_information18
,trb_information19 = p_rec.trb_information19
,trb_information20 = p_rec.trb_information20
,display_to_learner_flag = p_rec.display_to_learner_flag
,book_entire_period_flag = p_rec.book_entire_period_flag
-- ,unbook_request_flag in = p_rec.unbook_request_flag
,chat_id = p_rec.chat_id
,forum_id = p_rec.forum_id
,timezone_code = p_rec.timezone_code
where resource_booking_id = p_rec.resource_booking_id;
End update_dml;
Procedure pre_update
(p_rec in ota_trb_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 ota_trb_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
ota_trb_rku.after_update
(p_effective_date => p_effective_date
,p_resource_booking_id
=> p_rec.resource_booking_id
,p_supplied_resource_id
=> p_rec.supplied_resource_id
,p_event_id
=> p_rec.event_id
,p_date_booking_placed
=> p_rec.date_booking_placed
,p_object_version_number
=> p_rec.object_version_number
,p_status
=> p_rec.status
,p_absolute_price
=> p_rec.absolute_price
,p_booking_person_id
=> p_rec.booking_person_id
,p_comments
=> p_rec.comments
,p_contact_name
=> p_rec.contact_name
,p_contact_phone_number
=> p_rec.contact_phone_number
,p_delegates_per_unit
=> p_rec.delegates_per_unit
,p_quantity
=> p_rec.quantity
,p_required_date_from
=> p_rec.required_date_from
,p_required_date_to
=> p_rec.required_date_to
,p_required_end_time
=> p_rec.required_end_time
,p_required_start_time
=> p_rec.required_start_time
,p_deliver_to
=> p_rec.deliver_to
,p_primary_venue_flag
=> p_rec.primary_venue_flag
,p_role_to_play
=> p_rec.role_to_play
,p_trb_information_category
=> p_rec.trb_information_category
,p_trb_information1
=> p_rec.trb_information1
,p_trb_information2
=> p_rec.trb_information2
,p_trb_information3
=> p_rec.trb_information3
,p_trb_information4
=> p_rec.trb_information4
,p_trb_information5
=> p_rec.trb_information5
,p_trb_information6
=> p_rec.trb_information6
,p_trb_information7
=> p_rec.trb_information7
,p_trb_information8
=> p_rec.trb_information8
,p_trb_information9
=> p_rec.trb_information9
,p_trb_information10
=> p_rec.trb_information10
,p_trb_information11
=> p_rec.trb_information11
,p_trb_information12
=> p_rec.trb_information12
,p_trb_information13
=> p_rec.trb_information13
,p_trb_information14
=> p_rec.trb_information14
,p_trb_information15
=> p_rec.trb_information15
,p_trb_information16
=> p_rec.trb_information16
,p_trb_information17
=> p_rec.trb_information17
,p_trb_information18
=> p_rec.trb_information18
,p_trb_information19
=> p_rec.trb_information19
,p_trb_information20
=> p_rec.trb_information20
,p_display_to_learner_flag
=> p_rec.display_to_learner_flag
,p_book_entire_period_flag
=> p_rec.book_entire_period_flag
/* ,p_unbook_request_flag
=> p_rec.unbook_request_flag */
,p_chat_id
=> p_rec.chat_id
,p_forum_id
=> p_rec.forum_id
,p_timezone_code
=> p_rec.timezone_code
,p_supplied_resource_id_o
=> ota_trb_shd.g_old_rec.supplied_resource_id
,p_event_id_o
=> ota_trb_shd.g_old_rec.event_id
,p_date_booking_placed_o
=> ota_trb_shd.g_old_rec.date_booking_placed
,p_object_version_number_o
=> ota_trb_shd.g_old_rec.object_version_number
,p_status_o
=> ota_trb_shd.g_old_rec.status
,p_absolute_price_o
=> ota_trb_shd.g_old_rec.absolute_price
,p_booking_person_id_o
=> ota_trb_shd.g_old_rec.booking_person_id
,p_comments_o
=> ota_trb_shd.g_old_rec.comments
,p_contact_name_o
=> ota_trb_shd.g_old_rec.contact_name
,p_contact_phone_number_o
=> ota_trb_shd.g_old_rec.contact_phone_number
,p_delegates_per_unit_o
=> ota_trb_shd.g_old_rec.delegates_per_unit
,p_quantity_o
=> ota_trb_shd.g_old_rec.quantity
,p_required_date_from_o
=> ota_trb_shd.g_old_rec.required_date_from
,p_required_date_to_o
=> ota_trb_shd.g_old_rec.required_date_to
,p_required_end_time_o
=> ota_trb_shd.g_old_rec.required_end_time
,p_required_start_time_o
=> ota_trb_shd.g_old_rec.required_start_time
,p_deliver_to_o
=> ota_trb_shd.g_old_rec.deliver_to
,p_primary_venue_flag_o
=> ota_trb_shd.g_old_rec.primary_venue_flag
,p_role_to_play_o
=> ota_trb_shd.g_old_rec.role_to_play
,p_trb_information_category_o
=> ota_trb_shd.g_old_rec.trb_information_category
,p_trb_information1_o
=> ota_trb_shd.g_old_rec.trb_information1
,p_trb_information2_o
=> ota_trb_shd.g_old_rec.trb_information2
,p_trb_information3_o
=> ota_trb_shd.g_old_rec.trb_information3
,p_trb_information4_o
=> ota_trb_shd.g_old_rec.trb_information4
,p_trb_information5_o
=> ota_trb_shd.g_old_rec.trb_information5
,p_trb_information6_o
=> ota_trb_shd.g_old_rec.trb_information6
,p_trb_information7_o
=> ota_trb_shd.g_old_rec.trb_information7
,p_trb_information8_o
=> ota_trb_shd.g_old_rec.trb_information8
,p_trb_information9_o
=> ota_trb_shd.g_old_rec.trb_information9
,p_trb_information10_o
=> ota_trb_shd.g_old_rec.trb_information10
,p_trb_information11_o
=> ota_trb_shd.g_old_rec.trb_information11
,p_trb_information12_o
=> ota_trb_shd.g_old_rec.trb_information12
,p_trb_information13_o
=> ota_trb_shd.g_old_rec.trb_information13
,p_trb_information14_o
=> ota_trb_shd.g_old_rec.trb_information14
,p_trb_information15_o
=> ota_trb_shd.g_old_rec.trb_information15
,p_trb_information16_o
=> ota_trb_shd.g_old_rec.trb_information16
,p_trb_information17_o
=> ota_trb_shd.g_old_rec.trb_information17
,p_trb_information18_o
=> ota_trb_shd.g_old_rec.trb_information18
,p_trb_information19_o
=> ota_trb_shd.g_old_rec.trb_information19
,p_trb_information20_o
=> ota_trb_shd.g_old_rec.trb_information20
,p_display_to_learner_flag_o
=> ota_trb_shd.g_old_rec.display_to_learner_flag
,p_book_entire_period_flag_o
=> ota_trb_shd.g_old_rec.book_entire_period_flag
/* ,p_unbook_request_flag_o
=> ota_trb_shd.g_old_rec.unbook_request_flag */
,p_chat_id_o
=> ota_trb_shd.g_old_rec.chat_id
,p_forum_id_o
=> ota_trb_shd.g_old_rec.forum_id
,p_timezone_code_o
=> ota_trb_shd.g_old_rec.timezone_code
);
End post_update;
ota_trb_bus.update_validate
(p_effective_date
,p_rec
);
ota_trb_upd.pre_update(p_rec);
ota_trb_upd.update_dml(p_rec);
ota_trb_upd.post_update
(p_effective_date
,p_rec
);