The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
pension_type_id
,effective_start_date
,effective_end_date
,pension_type_name
,pension_category
,pension_provider_type
,salary_calculation_method
,threshold_conversion_rule
,contribution_conversion_rule
,er_annual_limit
,ee_annual_limit
,er_annual_salary_threshold
,ee_annual_salary_threshold
,object_version_number
,business_group_id
,legislation_code
,description
,minimum_age
,ee_contribution_percent
,maximum_age
,er_contribution_percent
,ee_annual_contribution
,er_annual_contribution
,annual_premium_amount
,ee_contribution_bal_type_id
,er_contribution_bal_type_id
,balance_init_element_type_id
,ee_contribution_fixed_rate -- added for UK
,er_contribution_fixed_rate -- added for UK
,pty_attribute_category
,pty_attribute1
,pty_attribute2
,pty_attribute3
,pty_attribute4
,pty_attribute5
,pty_attribute6
,pty_attribute7
,pty_attribute8
,pty_attribute9
,pty_attribute10
,pty_attribute11
,pty_attribute12
,pty_attribute13
,pty_attribute14
,pty_attribute15
,pty_attribute16
,pty_attribute17
,pty_attribute18
,pty_attribute19
,pty_attribute20
,pty_information_category
,pty_information1
,pty_information2
,pty_information3
,pty_information4
,pty_information5
,pty_information6
,pty_information7
,pty_information8
,pty_information9
,pty_information10
,pty_information11
,pty_information12
,pty_information13
,pty_information14
,pty_information15
,pty_information16
,pty_information17
,pty_information18
,pty_information19
,pty_information20
,special_pension_type_code -- added for NL Phase 2B
,pension_sub_category -- added for NL Phase 2B
,pension_basis_calc_method -- added for NL Phase 2B
,pension_salary_balance -- added for NL Phase 2B
,recurring_bonus_percent -- added for NL Phase 2B
,non_recurring_bonus_percent -- added for NL Phase 2B
,recurring_bonus_balance -- added for NL Phase 2B
,non_recurring_bonus_balance -- added for NL Phase 2B
,std_tax_reduction -- added for NL Phase 2B
,spl_tax_reduction -- added for NL Phase 2B
,sig_sal_spl_tax_reduction -- added for NL Phase 2B
,sig_sal_non_tax_reduction -- added for NL Phase 2B
,sig_sal_std_tax_reduction -- added for NL Phase 2B
,sii_std_tax_reduction -- added for NL Phase 2B
,sii_spl_tax_reduction -- added for NL Phase 2B
,sii_non_tax_reduction -- added for NL Phase 2B
,previous_year_bonus_included -- added for NL Phase 2B
,recurring_bonus_period -- added for NL Phase 2B
,non_recurring_bonus_period -- added for NL Phase 2B
,ee_age_threshold -- added for ABP TAR fixes
,er_age_threshold -- added for ABP TAR fixes
,ee_age_contribution -- added for ABP TAR fixes
,er_age_contribution -- added for ABP TAR fixes
from pqp_pension_types_f
where pension_type_id = p_pension_type_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_pension_types_f t
set t.effective_end_date = p_new_effective_end_date
, t.object_version_number = l_object_version_number
where t.pension_type_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
pension_type_id
,effective_start_date
,effective_end_date
,pension_type_name
,pension_category
,pension_provider_type
,salary_calculation_method
,threshold_conversion_rule
,contribution_conversion_rule
,er_annual_limit
,ee_annual_limit
,er_annual_salary_threshold
,ee_annual_salary_threshold
,object_version_number
,business_group_id
,legislation_code
,description
,minimum_age
,ee_contribution_percent
,maximum_age
,er_contribution_percent
,ee_annual_contribution
,er_annual_contribution
,annual_premium_amount
,ee_contribution_bal_type_id
,er_contribution_bal_type_id
,balance_init_element_type_id
,ee_contribution_fixed_rate -- added for UK
,er_contribution_fixed_rate -- added for UK
,pty_attribute_category
,pty_attribute1
,pty_attribute2
,pty_attribute3
,pty_attribute4
,pty_attribute5
,pty_attribute6
,pty_attribute7
,pty_attribute8
,pty_attribute9
,pty_attribute10
,pty_attribute11
,pty_attribute12
,pty_attribute13
,pty_attribute14
,pty_attribute15
,pty_attribute16
,pty_attribute17
,pty_attribute18
,pty_attribute19
,pty_attribute20
,pty_information_category
,pty_information1
,pty_information2
,pty_information3
,pty_information4
,pty_information5
,pty_information6
,pty_information7
,pty_information8
,pty_information9
,pty_information10
,pty_information11
,pty_information12
,pty_information13
,pty_information14
,pty_information15
,pty_information16
,pty_information17
,pty_information18
,pty_information19
,pty_information20
,special_pension_type_code -- added for NL Phase 2B
,pension_sub_category -- added for NL Phase 2B
,pension_basis_calc_method -- added for NL Phase 2B
,pension_salary_balance -- added for NL Phase 2B
,recurring_bonus_percent -- added for NL Phase 2B
,non_recurring_bonus_percent -- added for NL Phase 2B
,recurring_bonus_balance -- added for NL Phase 2B
,non_recurring_bonus_balance -- added for NL Phase 2B
,std_tax_reduction -- added for NL Phase 2B
,spl_tax_reduction -- added for NL Phase 2B
,sig_sal_spl_tax_reduction -- added for NL Phase 2B
,sig_sal_non_tax_reduction -- added for NL Phase 2B
,sig_sal_std_tax_reduction -- added for NL Phase 2B
,sii_std_tax_reduction -- added for NL Phase 2B
,sii_spl_tax_reduction -- added for NL Phase 2B
,sii_non_tax_reduction -- added for NL Phase 2B
,previous_year_bonus_included -- added for NL Phase 2B
,recurring_bonus_period -- added for NL Phase 2B
,non_recurring_bonus_period -- added for NL Phase 2B
,ee_age_threshold -- added for ABP TAR fixes
,er_age_threshold -- added for ABP TAR fixes
,ee_age_contribution -- added for ABP TAR fixes
,er_age_contribution -- added for ABP TAR fixes
from pqp_pension_types_f
where pension_type_id = p_pension_type_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;