The following lines contain the word 'select', 'insert', 'update' or 'delete':
l_offering_rec.competency_update_level := hr_api.g_varchar2 ;
select lower(bic.interface_col_name) interface_col_name
from bne_interface_cols_b bic
where bic.interface_code = c_interface_code
and bic.display_flag ='Y';
select lower(bic.interface_col_name) interface_col_name
from bne_interface_cols_b bic
where bic.interface_code = c_interface_code
and bic.display_flag ='N';
when 'p_competency_update_level' then
l_offering_rec.competency_update_level := g_offering_rec.competency_update_level;
,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;
g_offering_rec.competency_update_level := p_competency_update_level ;
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 => l_offering_rec.business_group_id
,p_name => l_offering_rec.name
,p_start_date => l_offering_rec.start_date
,p_activity_version_id => l_offering_rec.activity_version_id
,p_end_date => l_offering_rec.end_date
,p_owner_id => l_offering_rec.owner_id
,p_delivery_mode_id => l_offering_rec.delivery_mode_id
,p_language_id => l_offering_rec.language_id
,p_duration => l_offering_rec.duration
,p_duration_units => l_offering_rec.duration_units
,p_learning_object_id => l_offering_rec.learning_object_id
,p_player_toolbar_flag => g_player_toolbar_flag
,p_player_toolbar_bitset => l_offering_rec.player_toolbar_bitset
,p_player_new_window_flag => g_player_new_window_flag
,p_maximum_attendees => l_offering_rec.maximum_attendees
,p_maximum_internal_attendees => l_offering_rec.maximum_internal_attendees
,p_minimum_attendees => l_offering_rec.minimum_attendees
,p_actual_cost => l_offering_rec.actual_cost
,p_budget_cost => l_offering_rec.budget_cost
,p_budget_currency_code => l_offering_rec.budget_currency_code
,p_price_basis => l_offering_rec.price_basis
,p_currency_code => l_offering_rec.currency_code
,p_standard_price => l_offering_rec.standard_price
,p_attribute_category => l_offering_rec.attribute_category
,p_attribute1 => l_offering_rec.attribute1
,p_attribute2 => l_offering_rec.attribute2
,p_attribute3 => l_offering_rec.attribute3
,p_attribute4 => l_offering_rec.attribute4
,p_attribute5 => l_offering_rec.attribute5
,p_attribute6 => l_offering_rec.attribute6
,p_attribute7 => l_offering_rec.attribute7
,p_attribute8 => l_offering_rec.attribute8
,p_attribute9 => l_offering_rec.attribute9
,p_attribute10 => l_offering_rec.attribute10
,p_attribute11 => l_offering_rec.attribute11
,p_attribute12 => l_offering_rec.attribute12
,p_attribute13 => l_offering_rec.attribute13
,p_attribute14 => l_offering_rec.attribute14
,p_attribute15 => l_offering_rec.attribute15
,p_attribute16 => l_offering_rec.attribute16
,p_attribute17 => l_offering_rec.attribute17
,p_attribute18 => l_offering_rec.attribute18
,p_attribute19 => l_offering_rec.attribute19
,p_attribute20 => l_offering_rec.attribute20
,p_offering_id => l_offering_id
,p_object_version_number => l_object_version_number
,p_data_source => l_offering_rec.data_source
,p_vendor_id => l_offering_rec.vendor_id
,p_description => l_offering_rec.description
,p_competency_update_level => l_offering_rec.competency_update_level
,p_language_code => l_offering_rec.language_code
);