The following lines contain the word 'select', 'insert', 'update' or 'delete':
select
emp_fed_tax_rule_id,
effective_start_date,
effective_end_date,
assignment_id,
sui_state_code,
sui_jurisdiction_code,
business_group_id,
additional_wa_amount,
filing_status_code,
fit_override_amount,
fit_override_rate,
withholding_allowances,
cumulative_taxation,
eic_filing_status_code,
fit_additional_tax,
nvl(fit_exempt, 'N') fit_exempt,
nvl(futa_tax_exempt, 'N') futa_tax_exempt,
nvl(medicare_tax_exempt, 'N') medicare_tax_exempt,
nvl(ss_tax_exempt, 'N') ss_tax_exempt,
nvl(wage_exempt, 'N') wage_exempt,
nvl(statutory_employee, 'N') statutory_employee,
w2_filed_year,
supp_tax_override_rate,
excessive_wa_reject_date,
object_version_number,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
attribute21,
attribute22,
attribute23,
attribute24,
attribute25,
attribute26,
attribute27,
attribute28,
attribute29,
attribute30,
fed_information_category,
fed_information1,
fed_information2,
fed_information3,
fed_information4,
fed_information5,
fed_information6,
fed_information7,
fed_information8,
fed_information9,
fed_information10,
fed_information11,
fed_information12,
fed_information13,
fed_information14,
fed_information15,
fed_information16,
fed_information17,
fed_information18,
fed_information19,
fed_information20,
fed_information21,
fed_information22,
fed_information23,
fed_information24,
fed_information25,
fed_information26,
fed_information27,
fed_information28,
fed_information29,
fed_information30
from pay_us_emp_fed_tax_rules_f
where emp_fed_tax_rule_id = p_emp_fed_tax_rule_id
and p_effective_date
between effective_start_date and effective_end_date;
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);
p_delete := false;
p_delete_next_change := false;
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);
update pay_us_emp_fed_tax_rules_f t
set t.effective_end_date = p_new_effective_end_date,
t.object_version_number = l_object_version_number
where t.emp_fed_tax_rule_id = p_base_key_value
and p_effective_date
between t.effective_start_date and t.effective_end_date;
select
emp_fed_tax_rule_id,
effective_start_date,
effective_end_date,
assignment_id,
sui_state_code,
sui_jurisdiction_code,
business_group_id,
additional_wa_amount,
filing_status_code,
fit_override_amount,
fit_override_rate,
withholding_allowances,
cumulative_taxation,
eic_filing_status_code,
fit_additional_tax,
nvl(fit_exempt , 'N') fit_exempt, -- Added by vaprakas Bug 6276555
nvl(futa_tax_exempt , 'N') futa_tax_exempt,
nvl(medicare_tax_exempt , 'N') medicare_tax_exempt,
nvl(ss_tax_exempt , 'N') ss_tax_exempt,
nvl(wage_exempt , 'N') wage_exempt,
nvl(statutory_employee , 'N') statutory_employee,
w2_filed_year,
supp_tax_override_rate,
excessive_wa_reject_date,
object_version_number,
attribute_category,
attribute1,
attribute2,
attribute3,
attribute4,
attribute5,
attribute6,
attribute7,
attribute8,
attribute9,
attribute10,
attribute11,
attribute12,
attribute13,
attribute14,
attribute15,
attribute16,
attribute17,
attribute18,
attribute19,
attribute20,
attribute21,
attribute22,
attribute23,
attribute24,
attribute25,
attribute26,
attribute27,
attribute28,
attribute29,
attribute30,
fed_information_category,
fed_information1,
fed_information2,
fed_information3,
fed_information4,
fed_information5,
fed_information6,
fed_information7,
fed_information8,
fed_information9,
fed_information10,
fed_information11,
fed_information12,
fed_information13,
fed_information14,
fed_information15,
fed_information16,
fed_information17,
fed_information18,
fed_information19,
fed_information20,
fed_information21,
fed_information22,
fed_information23,
fed_information24,
fed_information25,
fed_information26,
fed_information27,
fed_information28,
fed_information29,
fed_information30
from pay_us_emp_fed_tax_rules_f
where emp_fed_tax_rule_id = p_emp_fed_tax_rule_id
and p_effective_date
between effective_start_date and effective_end_date
for update nowait;
If (p_datetrack_mode <> 'INSERT') then
--
-- We must select and lock the current row.
--
Open C_Sel1;