The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy pay_cft_shd.g_rec_type,
p_effective_date in date,
p_datetrack_mode in varchar2,
p_validation_start_date in date,
p_validation_end_date in date) is
--
l_proc varchar2(72) := g_package||'dt_update_dml';
update pay_ca_emp_fed_tax_info_f
set
emp_fed_tax_inf_id = p_rec.emp_fed_tax_inf_id,
legislation_code = p_rec.legislation_code,
assignment_id = p_rec.assignment_id,
business_group_id = p_rec.business_group_id,
employment_province = p_rec.employment_province,
tax_credit_amount = p_rec.tax_credit_amount,
claim_code = p_rec.claim_code,
basic_exemption_flag = p_rec.basic_exemption_flag,
additional_tax = p_rec.additional_tax,
annual_dedn = p_rec.annual_dedn,
total_expense_by_commission = p_rec.total_expense_by_commission,
total_remnrtn_by_commission = p_rec.total_remnrtn_by_commission,
prescribed_zone_dedn_amt = p_rec.prescribed_zone_dedn_amt,
other_fedtax_credits = p_rec.other_fedtax_credits,
cpp_qpp_exempt_flag = p_rec.cpp_qpp_exempt_flag,
fed_exempt_flag = p_rec.fed_exempt_flag,
ei_exempt_flag = p_rec.ei_exempt_flag,
tax_calc_method = p_rec.tax_calc_method,
fed_override_amount = p_rec.fed_override_amount,
fed_override_rate = p_rec.fed_override_rate,
ca_tax_information_category = p_rec.ca_tax_information_category,
ca_tax_information1 = p_rec.ca_tax_information1,
ca_tax_information2 = p_rec.ca_tax_information2,
ca_tax_information3 = p_rec.ca_tax_information3,
ca_tax_information4 = p_rec.ca_tax_information4,
ca_tax_information5 = p_rec.ca_tax_information5,
ca_tax_information6 = p_rec.ca_tax_information6,
ca_tax_information7 = p_rec.ca_tax_information7,
ca_tax_information8 = p_rec.ca_tax_information8,
ca_tax_information9 = p_rec.ca_tax_information9,
ca_tax_information10 = p_rec.ca_tax_information10,
ca_tax_information11 = p_rec.ca_tax_information11,
ca_tax_information12 = p_rec.ca_tax_information12,
ca_tax_information13 = p_rec.ca_tax_information13,
ca_tax_information14 = p_rec.ca_tax_information14,
ca_tax_information15 = p_rec.ca_tax_information15,
ca_tax_information16 = p_rec.ca_tax_information16,
ca_tax_information17 = p_rec.ca_tax_information17,
ca_tax_information18 = p_rec.ca_tax_information18,
ca_tax_information19 = p_rec.ca_tax_information19,
ca_tax_information20 = p_rec.ca_tax_information20,
ca_tax_information21 = p_rec.ca_tax_information21,
ca_tax_information22 = p_rec.ca_tax_information22,
ca_tax_information23 = p_rec.ca_tax_information23,
ca_tax_information24 = p_rec.ca_tax_information24,
ca_tax_information25 = p_rec.ca_tax_information25,
ca_tax_information26 = p_rec.ca_tax_information26,
ca_tax_information27 = p_rec.ca_tax_information27,
ca_tax_information28 = p_rec.ca_tax_information28,
ca_tax_information29 = p_rec.ca_tax_information29,
ca_tax_information30 = p_rec.ca_tax_information30,
object_version_number = p_rec.object_version_number,
fed_lsf_amount = p_rec.fed_lsf_amount
where emp_fed_tax_inf_id = p_rec.emp_fed_tax_inf_id
and effective_start_date = p_validation_start_date
and effective_end_date = p_validation_end_date;
End dt_update_dml;
Procedure update_dml
(p_rec in out nocopy pay_cft_shd.g_rec_type,
p_effective_date in date,
p_datetrack_mode in varchar2,
p_validation_start_date in date,
p_validation_end_date in date) is
--
l_proc varchar2(72) := g_package||'update_dml';
dt_update_dml(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => p_validation_start_date,
p_validation_end_date => p_validation_end_date);
End update_dml;
Procedure dt_pre_update
(p_rec in out nocopy pay_cft_shd.g_rec_type,
p_effective_date in date,
p_datetrack_mode in varchar2,
p_validation_start_date in date,
p_validation_end_date in date) is
--
l_proc varchar2(72) := g_package||'dt_pre_update';
If (p_datetrack_mode = 'UPDATE_OVERRIDE') then
hr_utility.set_location(l_proc, 15);
pay_cft_del.delete_dml
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => p_validation_start_date,
p_validation_end_date => p_validation_end_date);
pay_cft_ins.insert_dml
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => p_validation_start_date,
p_validation_end_date => p_validation_end_date);
End dt_pre_update;
Procedure pre_update
(p_rec in out nocopy pay_cft_shd.g_rec_type,
p_effective_date in date,
p_datetrack_mode in varchar2,
p_validation_start_date in date,
p_validation_end_date in date) is
--
l_proc varchar2(72) := g_package||'pre_update';
dt_pre_update
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => p_validation_start_date,
p_validation_end_date => p_validation_end_date);
End pre_update;
Procedure post_update
(p_rec in pay_cft_shd.g_rec_type,
p_effective_date in date,
p_datetrack_mode in varchar2,
p_validation_start_date in date,
p_validation_end_date in date) is
--
l_proc varchar2(72) := g_package||'post_update';
pay_cft_rku.after_update
(
p_emp_fed_tax_inf_id =>p_rec.emp_fed_tax_inf_id
,p_effective_start_date =>p_rec.effective_start_date
,p_effective_end_date =>p_rec.effective_end_date
,p_legislation_code =>p_rec.legislation_code
,p_assignment_id =>p_rec.assignment_id
,p_business_group_id =>p_rec.business_group_id
,p_employment_province =>p_rec.employment_province
,p_tax_credit_amount =>p_rec.tax_credit_amount
,p_claim_code =>p_rec.claim_code
,p_basic_exemption_flag =>p_rec.basic_exemption_flag
,p_additional_tax =>p_rec.additional_tax
,p_annual_dedn =>p_rec.annual_dedn
,p_total_expense_by_commission =>p_rec.total_expense_by_commission
,p_total_remnrtn_by_commission =>p_rec.total_remnrtn_by_commission
,p_prescribed_zone_dedn_amt =>p_rec.prescribed_zone_dedn_amt
,p_other_fedtax_credits =>p_rec.other_fedtax_credits
,p_cpp_qpp_exempt_flag =>p_rec.cpp_qpp_exempt_flag
,p_fed_exempt_flag =>p_rec.fed_exempt_flag
,p_ei_exempt_flag =>p_rec.ei_exempt_flag
,p_tax_calc_method =>p_rec.tax_calc_method
,p_fed_override_amount =>p_rec.fed_override_amount
,p_fed_override_rate =>p_rec.fed_override_rate
,p_ca_tax_information_category =>p_rec.ca_tax_information_category
,p_ca_tax_information1 =>p_rec.ca_tax_information1
,p_ca_tax_information2 =>p_rec.ca_tax_information2
,p_ca_tax_information3 =>p_rec.ca_tax_information3
,p_ca_tax_information4 =>p_rec.ca_tax_information4
,p_ca_tax_information5 =>p_rec.ca_tax_information5
,p_ca_tax_information6 =>p_rec.ca_tax_information6
,p_ca_tax_information7 =>p_rec.ca_tax_information7
,p_ca_tax_information8 =>p_rec.ca_tax_information8
,p_ca_tax_information9 =>p_rec.ca_tax_information9
,p_ca_tax_information10 =>p_rec.ca_tax_information10
,p_ca_tax_information11 =>p_rec.ca_tax_information11
,p_ca_tax_information12 =>p_rec.ca_tax_information12
,p_ca_tax_information13 =>p_rec.ca_tax_information13
,p_ca_tax_information14 =>p_rec.ca_tax_information14
,p_ca_tax_information15 =>p_rec.ca_tax_information15
,p_ca_tax_information16 =>p_rec.ca_tax_information16
,p_ca_tax_information17 =>p_rec.ca_tax_information17
,p_ca_tax_information18 =>p_rec.ca_tax_information18
,p_ca_tax_information19 =>p_rec.ca_tax_information19
,p_ca_tax_information20 =>p_rec.ca_tax_information20
,p_ca_tax_information21 =>p_rec.ca_tax_information21
,p_ca_tax_information22 =>p_rec.ca_tax_information22
,p_ca_tax_information23 =>p_rec.ca_tax_information23
,p_ca_tax_information24 =>p_rec.ca_tax_information24
,p_ca_tax_information25 =>p_rec.ca_tax_information25
,p_ca_tax_information26 =>p_rec.ca_tax_information26
,p_ca_tax_information27 =>p_rec.ca_tax_information27
,p_ca_tax_information28 =>p_rec.ca_tax_information28
,p_ca_tax_information29 =>p_rec.ca_tax_information29
,p_ca_tax_information30 =>p_rec.ca_tax_information30
,p_object_version_number =>p_rec.object_version_number
,p_fed_lsf_amount =>p_rec.fed_lsf_amount
,p_effective_date =>p_effective_date
,p_datetrack_mode =>p_datetrack_mode
,p_validation_start_date =>p_validation_start_date
,p_validation_end_date =>p_validation_end_date
,p_effective_start_date_o =>pay_cft_shd.g_old_rec.effective_start_date
,p_effective_end_date_o =>pay_cft_shd.g_old_rec.effective_end_date
,p_legislation_code_o =>pay_cft_shd.g_old_rec.legislation_code
,p_assignment_id_o =>pay_cft_shd.g_old_rec.assignment_id
,p_business_group_id_o =>pay_cft_shd.g_old_rec.business_group_id
,p_employment_province_o =>pay_cft_shd.g_old_rec.employment_province
,p_tax_credit_amount_o =>pay_cft_shd.g_old_rec.tax_credit_amount
,p_claim_code_o =>pay_cft_shd.g_old_rec.claim_code
,p_basic_exemption_flag_o =>pay_cft_shd.g_old_rec.basic_exemption_flag
,p_additional_tax_o =>pay_cft_shd.g_old_rec.additional_tax
,p_annual_dedn_o =>pay_cft_shd.g_old_rec.annual_dedn
,p_total_expense_by_commissio_o =>pay_cft_shd.g_old_rec.total_expense_by_commission
,p_total_remnrtn_by_commissio_o =>pay_cft_shd.g_old_rec.total_remnrtn_by_commission
,p_prescribed_zone_dedn_amt_o =>pay_cft_shd.g_old_rec.prescribed_zone_dedn_amt
,p_other_fedtax_credits_o =>pay_cft_shd.g_old_rec.other_fedtax_credits
,p_cpp_qpp_exempt_flag_o =>pay_cft_shd.g_old_rec.cpp_qpp_exempt_flag
,p_fed_exempt_flag_o =>pay_cft_shd.g_old_rec.fed_exempt_flag
,p_ei_exempt_flag_o =>pay_cft_shd.g_old_rec.ei_exempt_flag
,p_tax_calc_method_o =>pay_cft_shd.g_old_rec.tax_calc_method
,p_fed_override_amount_o =>pay_cft_shd.g_old_rec.fed_override_amount
,p_fed_override_rate_o =>pay_cft_shd.g_old_rec.fed_override_rate
,p_ca_tax_information_categor_o =>pay_cft_shd.g_old_rec.ca_tax_information_category
,p_ca_tax_information1_o =>pay_cft_shd.g_old_rec.ca_tax_information1
,p_ca_tax_information2_o =>pay_cft_shd.g_old_rec.ca_tax_information2
,p_ca_tax_information3_o =>pay_cft_shd.g_old_rec.ca_tax_information3
,p_ca_tax_information4_o =>pay_cft_shd.g_old_rec.ca_tax_information4
,p_ca_tax_information5_o =>pay_cft_shd.g_old_rec.ca_tax_information5
,p_ca_tax_information6_o =>pay_cft_shd.g_old_rec.ca_tax_information6
,p_ca_tax_information7_o =>pay_cft_shd.g_old_rec.ca_tax_information7
,p_ca_tax_information8_o =>pay_cft_shd.g_old_rec.ca_tax_information8
,p_ca_tax_information9_o =>pay_cft_shd.g_old_rec.ca_tax_information9
,p_ca_tax_information10_o =>pay_cft_shd.g_old_rec.ca_tax_information10
,p_ca_tax_information11_o =>pay_cft_shd.g_old_rec.ca_tax_information11
,p_ca_tax_information12_o =>pay_cft_shd.g_old_rec.ca_tax_information12
,p_ca_tax_information13_o =>pay_cft_shd.g_old_rec.ca_tax_information13
,p_ca_tax_information14_o =>pay_cft_shd.g_old_rec.ca_tax_information14
,p_ca_tax_information15_o =>pay_cft_shd.g_old_rec.ca_tax_information15
,p_ca_tax_information16_o =>pay_cft_shd.g_old_rec.ca_tax_information16
,p_ca_tax_information17_o =>pay_cft_shd.g_old_rec.ca_tax_information17
,p_ca_tax_information18_o =>pay_cft_shd.g_old_rec.ca_tax_information18
,p_ca_tax_information19_o =>pay_cft_shd.g_old_rec.ca_tax_information19
,p_ca_tax_information20_o =>pay_cft_shd.g_old_rec.ca_tax_information20
,p_ca_tax_information21_o =>pay_cft_shd.g_old_rec.ca_tax_information21
,p_ca_tax_information22_o =>pay_cft_shd.g_old_rec.ca_tax_information22
,p_ca_tax_information23_o =>pay_cft_shd.g_old_rec.ca_tax_information23
,p_ca_tax_information24_o =>pay_cft_shd.g_old_rec.ca_tax_information24
,p_ca_tax_information25_o =>pay_cft_shd.g_old_rec.ca_tax_information25
,p_ca_tax_information26_o =>pay_cft_shd.g_old_rec.ca_tax_information26
,p_ca_tax_information27_o =>pay_cft_shd.g_old_rec.ca_tax_information27
,p_ca_tax_information28_o =>pay_cft_shd.g_old_rec.ca_tax_information28
,p_ca_tax_information29_o =>pay_cft_shd.g_old_rec.ca_tax_information29
,p_ca_tax_information30_o =>pay_cft_shd.g_old_rec.ca_tax_information30
,p_object_version_number_o =>pay_cft_shd.g_old_rec.object_version_number
,p_fed_lsf_amount_o =>pay_cft_shd.g_old_rec.fed_lsf_amount
);
End post_update;
pay_cft_bus.update_validate
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);
pre_update
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);
update_dml
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);
post_update
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => p_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);