The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
assignment_attribute_id
,effective_start_date
,effective_end_date
,business_group_id
,assignment_id
,contract_type
,work_pattern
,start_day
,object_version_number
,primary_company_car
,primary_car_fuel_benefit
,primary_class_1a
,primary_capital_contribution
,primary_private_contribution
,secondary_company_car
,secondary_car_fuel_benefit
,secondary_class_1a
,secondary_capital_contribution
,secondary_private_contribution
,company_car_calc_method
,company_car_rates_table_id
,company_car_secondary_table_id
,private_car
,private_car_calc_method
,private_car_rates_table_id
,private_car_essential_table_id
,tp_is_teacher
,tp_headteacher_grp_code --added for head Teacher seconded location for salary scale calculation
,tp_safeguarded_grade
,tp_safeguarded_grade_id
,tp_safeguarded_rate_type
,tp_safeguarded_rate_id
,tp_safeguarded_spinal_point_id
,tp_elected_pension
,tp_fast_track
,aat_attribute_category
,aat_attribute1
,aat_attribute2
,aat_attribute3
,aat_attribute4
,aat_attribute5
,aat_attribute6
,aat_attribute7
,aat_attribute8
,aat_attribute9
,aat_attribute10
,aat_attribute11
,aat_attribute12
,aat_attribute13
,aat_attribute14
,aat_attribute15
,aat_attribute16
,aat_attribute17
,aat_attribute18
,aat_attribute19
,aat_attribute20
,aat_information_category
,aat_information1
,aat_information2
,aat_information3
,aat_information4
,aat_information5
,aat_information6
,aat_information7
,aat_information8
,aat_information9
,aat_information10
,aat_information11
,aat_information12
,aat_information13
,aat_information14
,aat_information15
,aat_information16
,aat_information17
,aat_information18
,aat_information19
,aat_information20
,lgps_process_flag
,lgps_exclusion_type
,lgps_pensionable_pay
,lgps_trans_arrang_flag
,lgps_membership_number
from pqp_assignment_attributes_f
where assignment_attribute_id = p_assignment_attribute_id
and p_effective_date
between effective_start_date and effective_end_date;
,p_update out nocopy boolean
,p_update_override out nocopy boolean
,p_update_change_insert out nocopy boolean
) is
--
l_proc varchar2(72) := g_package||'find_dt_upd_modes';
,p_update => p_update
,p_update_override => p_update_override
,p_update_change_insert => p_update_change_insert
);
,p_delete out nocopy boolean
,p_future_change out nocopy boolean
,p_delete_next_change out nocopy boolean
) is
--
l_proc varchar2(72) := g_package||'find_dt_del_modes';
,p_delete => p_delete
,p_future_change => p_future_change
,p_delete_next_change => p_delete_next_change
);
update pqp_assignment_attributes_f t
set t.effective_end_date = p_new_effective_end_date
, t.object_version_number = l_object_version_number
where t.assignment_attribute_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
assignment_attribute_id
,effective_start_date
,effective_end_date
,business_group_id
,assignment_id
,contract_type
,work_pattern
,start_day
,object_version_number
,primary_company_car
,primary_car_fuel_benefit
,primary_class_1a
,primary_capital_contribution
,primary_private_contribution
,secondary_company_car
,secondary_car_fuel_benefit
,secondary_class_1a
,secondary_capital_contribution
,secondary_private_contribution
,company_car_calc_method
,company_car_rates_table_id
,company_car_secondary_table_id
,private_car
,private_car_calc_method
,private_car_rates_table_id
,private_car_essential_table_id
,tp_is_teacher
,tp_headteacher_grp_code --added for head Teacher seconded location for salary scale calculation
,tp_safeguarded_grade
,tp_safeguarded_grade_id
,tp_safeguarded_rate_type
,tp_safeguarded_rate_id
,tp_safeguarded_spinal_point_id
,tp_elected_pension
,tp_fast_track
,aat_attribute_category
,aat_attribute1
,aat_attribute2
,aat_attribute3
,aat_attribute4
,aat_attribute5
,aat_attribute6
,aat_attribute7
,aat_attribute8
,aat_attribute9
,aat_attribute10
,aat_attribute11
,aat_attribute12
,aat_attribute13
,aat_attribute14
,aat_attribute15
,aat_attribute16
,aat_attribute17
,aat_attribute18
,aat_attribute19
,aat_attribute20
,aat_information_category
,aat_information1
,aat_information2
,aat_information3
,aat_information4
,aat_information5
,aat_information6
,aat_information7
,aat_information8
,aat_information9
,aat_information10
,aat_information11
,aat_information12
,aat_information13
,aat_information14
,aat_information15
,aat_information16
,aat_information17
,aat_information18
,aat_information19
,aat_information20
,lgps_process_flag
,lgps_exclusion_type
,lgps_pensionable_pay
,lgps_trans_arrang_flag
,lgps_membership_number
from pqp_assignment_attributes_f
where assignment_attribute_id = p_assignment_attribute_id
and p_effective_date
between effective_start_date and effective_end_date
for update nowait;
If (p_datetrack_mode <> hr_api.g_insert) then
--
-- We must select and lock the current row.
--
Open C_Sel1;