The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_insert_dml
(p_rec in out nocopy pay_cty_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
--
-- Cursor to select 'old' created AOL who column values
--
Cursor C_Sel1 Is
select t.created_by,
t.creation_date
from pay_us_emp_city_tax_rules_f t
where t.emp_city_tax_rule_id = p_rec.emp_city_tax_rule_id
and t.effective_start_date =
pay_cty_shd.g_old_rec.effective_start_date
and t.effective_end_date = (p_validation_start_date - 1);
l_proc varchar2(72) := g_package||'dt_insert_dml';
l_last_update_date pay_us_emp_city_tax_rules_f.last_update_date%TYPE;
l_last_updated_by pay_us_emp_city_tax_rules_f.last_updated_by%TYPE;
l_last_update_login pay_us_emp_city_tax_rules_f.last_update_login%TYPE;
If (p_datetrack_mode <> 'INSERT') then
hr_utility.set_location(l_proc, 10);
l_last_update_date := sysdate;
l_last_updated_by := fnd_global.user_id;
l_last_update_login := fnd_global.login_id;
insert into pay_us_emp_city_tax_rules_f
( emp_city_tax_rule_id,
effective_start_date,
effective_end_date,
assignment_id,
state_code,
county_code,
city_code,
business_group_id,
additional_wa_rate,
filing_status_code,
jurisdiction_code,
lit_additional_tax,
lit_override_amount,
lit_override_rate,
withholding_allowances,
lit_exempt,
sd_exempt,
ht_exempt,
wage_exempt,
school_district_code,
object_version_number,
created_by,
creation_date,
last_update_date,
last_updated_by,
last_update_login,
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,
cty_information_category,
cty_information1,
cty_information2,
cty_information3,
cty_information4,
cty_information5,
cty_information6,
cty_information7,
cty_information8,
cty_information9,
cty_information10,
cty_information11,
cty_information12,
cty_information13,
cty_information14,
cty_information15,
cty_information16,
cty_information17,
cty_information18,
cty_information19,
cty_information20,
cty_information21,
cty_information22,
cty_information23,
cty_information24,
cty_information25,
cty_information26,
cty_information27,
cty_information28,
cty_information29,
cty_information30
)
Values
( p_rec.emp_city_tax_rule_id,
p_rec.effective_start_date,
p_rec.effective_end_date,
p_rec.assignment_id,
p_rec.state_code,
p_rec.county_code,
p_rec.city_code,
p_rec.business_group_id,
p_rec.additional_wa_rate,
p_rec.filing_status_code,
p_rec.jurisdiction_code,
p_rec.lit_additional_tax,
p_rec.lit_override_amount,
p_rec.lit_override_rate,
p_rec.withholding_allowances,
p_rec.lit_exempt,
p_rec.sd_exempt,
p_rec.ht_exempt,
p_rec.wage_exempt,
p_rec.school_district_code,
p_rec.object_version_number
, l_created_by,
l_creation_date,
l_last_update_date,
l_last_updated_by,
l_last_update_login,
p_rec.attribute_category,
p_rec.attribute1,
p_rec.attribute2,
p_rec.attribute3,
p_rec.attribute4,
p_rec.attribute5,
p_rec.attribute6,
p_rec.attribute7,
p_rec.attribute8,
p_rec.attribute9,
p_rec.attribute10,
p_rec.attribute11,
p_rec.attribute12,
p_rec.attribute13,
p_rec.attribute14,
p_rec.attribute15,
p_rec.attribute16,
p_rec.attribute17,
p_rec.attribute18,
p_rec.attribute19,
p_rec.attribute20,
p_rec.attribute21,
p_rec.attribute22,
p_rec.attribute23,
p_rec.attribute24,
p_rec.attribute25,
p_rec.attribute26,
p_rec.attribute27,
p_rec.attribute28,
p_rec.attribute29,
p_rec.attribute30,
p_rec.cty_information_category,
p_rec.cty_information1,
p_rec.cty_information2,
p_rec.cty_information3,
p_rec.cty_information4,
p_rec.cty_information5,
p_rec.cty_information6,
p_rec.cty_information7,
p_rec.cty_information8,
p_rec.cty_information9,
p_rec.cty_information10,
p_rec.cty_information11,
p_rec.cty_information12,
p_rec.cty_information13,
p_rec.cty_information14,
p_rec.cty_information15,
p_rec.cty_information16,
p_rec.cty_information17,
p_rec.cty_information18,
p_rec.cty_information19,
p_rec.cty_information20,
p_rec.cty_information21,
p_rec.cty_information22,
p_rec.cty_information23,
p_rec.cty_information24,
p_rec.cty_information25,
p_rec.cty_information26,
p_rec.cty_information27,
p_rec.cty_information28,
p_rec.cty_information29,
p_rec.cty_information30
);
End dt_insert_dml;
Procedure insert_dml
(p_rec in out nocopy pay_cty_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||'insert_dml';
dt_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 insert_dml;
Procedure pre_insert
(p_rec in out nocopy pay_cty_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_insert';
Cursor C_Sel1 is select pay_us_emp_city_tax_rules_s.nextval from sys.dual;
End pre_insert;
Procedure post_insert
(p_rec in pay_cty_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_insert';
pay_cty_rki.after_insert
(
p_emp_city_tax_rule_id =>p_rec.emp_city_tax_rule_id
,p_effective_start_date =>p_rec.effective_start_date
,p_effective_end_date =>p_rec.effective_end_date
,p_assignment_id =>p_rec.assignment_id
,p_state_code =>p_rec.state_code
,p_county_code =>p_rec.county_code
,p_city_code =>p_rec.city_code
,p_business_group_id =>p_rec.business_group_id
,p_additional_wa_rate =>p_rec.additional_wa_rate
,p_filing_status_code =>p_rec.filing_status_code
,p_jurisdiction_code =>p_rec.jurisdiction_code
,p_lit_additional_tax =>p_rec.lit_additional_tax
,p_lit_override_amount =>p_rec.lit_override_amount
,p_lit_override_rate =>p_rec.lit_override_rate
,p_withholding_allowances =>p_rec.withholding_allowances
,p_lit_exempt =>p_rec.lit_exempt
,p_sd_exempt =>p_rec.sd_exempt
,p_ht_exempt =>p_rec.ht_exempt
,p_wage_exempt =>p_rec.ht_exempt
,p_school_district_code =>p_rec.school_district_code
,p_object_version_number =>p_rec.object_version_number
,p_effective_date =>p_effective_date
,p_validation_start_date =>p_validation_start_date
,p_validation_end_date =>p_validation_end_date
);
End post_insert;
l_datetrack_mode varchar2(30) := 'INSERT';
pay_cty_bus.insert_validate
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => l_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);
pre_insert
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => l_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);
insert_dml
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => l_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);
post_insert
(p_rec => p_rec,
p_effective_date => p_effective_date,
p_datetrack_mode => l_datetrack_mode,
p_validation_start_date => l_validation_start_date,
p_validation_end_date => l_validation_end_date);