The following lines contain the word 'select', 'insert', 'update' or 'delete':
,p_competency_update_level in varchar2 default null
,p_language_code in varchar2 default null
,P_CRT_UPD in varchar2 default null
) is
-- =============================================================================
-- Variables for API Boolean parameters
-- =============================================================================
l_validate boolean;
e_crt_not_allowed exception; -- when mode is 'Update Only'
l_create_flag := 2; --Update Offering
raise e_crt_not_allowed; -- Update only flag is enabled but Trying to Create
,p_competency_update_level => p_competency_update_level
,p_language_code => p_language_code
);
update ota_events set title = l_title where event_id = l_event_id;
update ota_events_tl set title = l_title where event_id = l_event_id;
select object_version_number into l_object_version_number
from ota_offerings where
offering_id = l_offering_id;
ota_offering_api.update_offering
(p_validate => l_validate
,p_effective_date => p_effective_date
,p_business_group_id => p_business_group_id
,p_name => p_name
,p_start_date => p_start_date
,p_activity_version_id => p_activity_version_id
,p_end_date => p_end_date
,p_owner_id => p_owner_id
,p_delivery_mode_id => p_delivery_mode_id
,p_language_id => p_language_id
,p_duration => p_duration
,p_duration_units => p_duration_units
,p_learning_object_id => p_learning_object_id
,p_player_toolbar_flag => p_player_toolbar_flag
,p_player_toolbar_bitset => l_player_toolbar_bitset
,p_player_new_window_flag => p_player_new_window_flag
,p_maximum_attendees => p_maximum_attendees
,p_maximum_internal_attendees => p_maximum_internal_attendees
,p_minimum_attendees => p_minimum_attendees
,p_actual_cost => p_actual_cost
,p_budget_cost => p_budget_cost
,p_budget_currency_code => p_budget_currency_code
,p_price_basis => p_price_basis
,p_currency_code => p_currency_code
,p_standard_price => p_standard_price
,p_attribute_category => p_attribute_category
,p_attribute1 => p_attribute1
,p_attribute2 => p_attribute2
,p_attribute3 => p_attribute3
,p_attribute4 => p_attribute4
,p_attribute5 => p_attribute5
,p_attribute6 => p_attribute6
,p_attribute7 => p_attribute7
,p_attribute8 => p_attribute8
,p_attribute9 => p_attribute9
,p_attribute10 => p_attribute10
,p_attribute11 => p_attribute11
,p_attribute12 => p_attribute12
,p_attribute13 => p_attribute13
,p_attribute14 => p_attribute14
,p_attribute15 => p_attribute15
,p_attribute16 => p_attribute16
,p_attribute17 => p_attribute17
,p_attribute18 => p_attribute18
,p_attribute19 => p_attribute19
,p_attribute20 => p_attribute20
,p_offering_id => l_offering_id
,p_object_version_number => l_object_version_number
,p_data_source => p_data_source
,p_vendor_id => p_vendor_id
,p_description => p_description
,p_competency_update_level => p_competency_update_level
,p_language_code => p_language_code
);