The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy hr_cle_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 hr_de_soc_ins_contr_lvls_f
set
soc_ins_contr_lvls_id = p_rec.soc_ins_contr_lvls_id
,organization_id = p_rec.organization_id
,normal_percentage = p_rec.normal_percentage
,normal_amount = p_rec.normal_amount
,increased_percentage = p_rec.increased_percentage
,increased_amount = p_rec.increased_amount
,reduced_percentage = p_rec.reduced_percentage
,reduced_amount = p_rec.reduced_amount
,attribute_category = p_rec.attribute_category
,attribute1 = p_rec.attribute1
,attribute2 = p_rec.attribute2
,attribute3 = p_rec.attribute3
,attribute4 = p_rec.attribute4
,attribute5 = p_rec.attribute5
,attribute6 = p_rec.attribute6
,attribute7 = p_rec.attribute7
,attribute8 = p_rec.attribute8
,attribute9 = p_rec.attribute9
,attribute10 = p_rec.attribute10
,attribute11 = p_rec.attribute11
,attribute12 = p_rec.attribute12
,attribute13 = p_rec.attribute13
,attribute14 = p_rec.attribute14
,attribute15 = p_rec.attribute15
,attribute16 = p_rec.attribute16
,attribute17 = p_rec.attribute17
,attribute18 = p_rec.attribute18
,attribute19 = p_rec.attribute19
,attribute20 = p_rec.attribute20
,object_version_number = p_rec.object_version_number
,attribute21 = p_rec.attribute21
,attribute22 = p_rec.attribute22
,attribute23 = p_rec.attribute23
,attribute24 = p_rec.attribute24
,attribute25 = p_rec.attribute25
,attribute26 = p_rec.attribute26
,attribute27 = p_rec.attribute27
,attribute28 = p_rec.attribute28
,attribute29 = p_rec.attribute29
,attribute30 = p_rec.attribute30
,flat_tax_limit_per_month = p_rec.flat_tax_limit_per_month
,flat_tax_limit_per_year = p_rec.flat_tax_limit_per_year
,min_increased_contribution = p_rec.min_increased_contribution
,max_increased_contribution = p_rec.max_increased_contribution
,month1 = p_rec.month1
,month1_min_contribution = p_rec.month1_min_contribution
,month1_max_contribution = p_rec.month1_max_contribution
,month2 = p_rec.month2
,month2_min_contribution = p_rec.month2_min_contribution
,month2_max_contribution = p_rec.month2_max_contribution
,employee_contribution = p_rec.employee_contribution
,contribution_level_type = p_rec.contribution_level_type
where soc_ins_contr_lvls_id = p_rec.soc_ins_contr_lvls_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 hr_cle_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';
hr_cle_upd.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 hr_cle_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 = hr_api.g_update_override) then
--
-- As the datetrack mode is 'UPDATE_OVERRIDE' then we must
-- delete any future rows
--
hr_cle_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
);
hr_cle_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 hr_cle_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 hr_cle_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';
hr_cle_rku.after_update
(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_soc_ins_contr_lvls_id
=> p_rec.soc_ins_contr_lvls_id
,p_organization_id
=> p_rec.organization_id
,p_normal_percentage
=> p_rec.normal_percentage
,p_normal_amount
=> p_rec.normal_amount
,p_increased_percentage
=> p_rec.increased_percentage
,p_increased_amount
=> p_rec.increased_amount
,p_reduced_percentage
=> p_rec.reduced_percentage
,p_reduced_amount
=> p_rec.reduced_amount
,p_effective_start_date
=> p_rec.effective_start_date
,p_effective_end_date
=> p_rec.effective_end_date
,p_attribute_category
=> p_rec.attribute_category
,p_attribute1
=> p_rec.attribute1
,p_attribute2
=> p_rec.attribute2
,p_attribute3
=> p_rec.attribute3
,p_attribute4
=> p_rec.attribute4
,p_attribute5
=> p_rec.attribute5
,p_attribute6
=> p_rec.attribute6
,p_attribute7
=> p_rec.attribute7
,p_attribute8
=> p_rec.attribute8
,p_attribute9
=> p_rec.attribute9
,p_attribute10
=> p_rec.attribute10
,p_attribute11
=> p_rec.attribute11
,p_attribute12
=> p_rec.attribute12
,p_attribute13
=> p_rec.attribute13
,p_attribute14
=> p_rec.attribute14
,p_attribute15
=> p_rec.attribute15
,p_attribute16
=> p_rec.attribute16
,p_attribute17
=> p_rec.attribute17
,p_attribute18
=> p_rec.attribute18
,p_attribute19
=> p_rec.attribute19
,p_attribute20
=> p_rec.attribute20
,p_object_version_number
=> p_rec.object_version_number
,p_attribute21
=> p_rec.attribute21
,p_attribute22
=> p_rec.attribute22
,p_attribute23
=> p_rec.attribute23
,p_attribute24
=> p_rec.attribute24
,p_attribute25
=> p_rec.attribute25
,p_attribute26
=> p_rec.attribute26
,p_attribute27
=> p_rec.attribute27
,p_attribute28
=> p_rec.attribute28
,p_attribute29
=> p_rec.attribute29
,p_attribute30
=> p_rec.attribute30
,p_flat_tax_limit_per_month
=> p_rec.flat_tax_limit_per_month
,p_flat_tax_limit_per_year
=> p_rec.flat_tax_limit_per_year
,p_min_increased_contribution
=> p_rec.min_increased_contribution
,p_max_increased_contribution
=> p_rec.max_increased_contribution
,p_month1
=> p_rec.month1
,p_month1_min_contribution
=> p_rec.month1_min_contribution
,p_month1_max_contribution
=> p_rec.month1_max_contribution
,p_month2
=> p_rec.month2
,p_month2_min_contribution
=> p_rec.month2_min_contribution
,p_month2_max_contribution
=> p_rec.month2_max_contribution
,p_employee_contribution
=> p_rec.employee_contribution
,p_contribution_level_type
=> p_rec.contribution_level_type
,p_organization_id_o
=> hr_cle_shd.g_old_rec.organization_id
,p_normal_percentage_o
=> hr_cle_shd.g_old_rec.normal_percentage
,p_normal_amount_o
=> hr_cle_shd.g_old_rec.normal_amount
,p_increased_percentage_o
=> hr_cle_shd.g_old_rec.increased_percentage
,p_increased_amount_o
=> hr_cle_shd.g_old_rec.increased_amount
,p_reduced_percentage_o
=> hr_cle_shd.g_old_rec.reduced_percentage
,p_reduced_amount_o
=> hr_cle_shd.g_old_rec.reduced_amount
,p_effective_start_date_o
=> hr_cle_shd.g_old_rec.effective_start_date
,p_effective_end_date_o
=> hr_cle_shd.g_old_rec.effective_end_date
,p_attribute_category_o
=> hr_cle_shd.g_old_rec.attribute_category
,p_attribute1_o
=> hr_cle_shd.g_old_rec.attribute1
,p_attribute2_o
=> hr_cle_shd.g_old_rec.attribute2
,p_attribute3_o
=> hr_cle_shd.g_old_rec.attribute3
,p_attribute4_o
=> hr_cle_shd.g_old_rec.attribute4
,p_attribute5_o
=> hr_cle_shd.g_old_rec.attribute5
,p_attribute6_o
=> hr_cle_shd.g_old_rec.attribute6
,p_attribute7_o
=> hr_cle_shd.g_old_rec.attribute7
,p_attribute8_o
=> hr_cle_shd.g_old_rec.attribute8
,p_attribute9_o
=> hr_cle_shd.g_old_rec.attribute9
,p_attribute10_o
=> hr_cle_shd.g_old_rec.attribute10
,p_attribute11_o
=> hr_cle_shd.g_old_rec.attribute11
,p_attribute12_o
=> hr_cle_shd.g_old_rec.attribute12
,p_attribute13_o
=> hr_cle_shd.g_old_rec.attribute13
,p_attribute14_o
=> hr_cle_shd.g_old_rec.attribute14
,p_attribute15_o
=> hr_cle_shd.g_old_rec.attribute15
,p_attribute16_o
=> hr_cle_shd.g_old_rec.attribute16
,p_attribute17_o
=> hr_cle_shd.g_old_rec.attribute17
,p_attribute18_o
=> hr_cle_shd.g_old_rec.attribute18
,p_attribute19_o
=> hr_cle_shd.g_old_rec.attribute19
,p_attribute20_o
=> hr_cle_shd.g_old_rec.attribute20
,p_object_version_number_o
=> hr_cle_shd.g_old_rec.object_version_number
,p_attribute21_o
=> hr_cle_shd.g_old_rec.attribute21
,p_attribute22_o
=> hr_cle_shd.g_old_rec.attribute22
,p_attribute23_o
=> hr_cle_shd.g_old_rec.attribute23
,p_attribute24_o
=> hr_cle_shd.g_old_rec.attribute24
,p_attribute25_o
=> hr_cle_shd.g_old_rec.attribute25
,p_attribute26_o
=> hr_cle_shd.g_old_rec.attribute26
,p_attribute27_o
=> hr_cle_shd.g_old_rec.attribute27
,p_attribute28_o
=> hr_cle_shd.g_old_rec.attribute28
,p_attribute29_o
=> hr_cle_shd.g_old_rec.attribute29
,p_attribute30_o
=> hr_cle_shd.g_old_rec.attribute30
,p_flat_tax_limit_per_month_o
=> hr_cle_shd.g_old_rec.flat_tax_limit_per_month
,p_flat_tax_limit_per_year_o
=> hr_cle_shd.g_old_rec.flat_tax_limit_per_year
,p_min_increased_contribution_o
=> hr_cle_shd.g_old_rec.min_increased_contribution
,p_max_increased_contribution_o
=> hr_cle_shd.g_old_rec.max_increased_contribution
,p_month1_o
=> hr_cle_shd.g_old_rec.month1
,p_month1_min_contribution_o
=> hr_cle_shd.g_old_rec.month1_min_contribution
,p_month1_max_contribution_o
=> hr_cle_shd.g_old_rec.month1_max_contribution
,p_month2_o
=> hr_cle_shd.g_old_rec.month2
,p_month2_min_contribution_o
=> hr_cle_shd.g_old_rec.month2_min_contribution
,p_month2_max_contribution_o
=> hr_cle_shd.g_old_rec.month2_max_contribution
,p_employee_contribution_o
=> hr_cle_shd.g_old_rec.employee_contribution
,p_contribution_level_type_o
=> hr_cle_shd.g_old_rec.contribution_level_type
);
End post_update;
hr_cle_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
);