The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy pay_ele_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_element_entries_f
set
element_entry_id = p_rec.element_entry_id
,cost_allocation_keyflex_id = p_rec.cost_allocation_keyflex_id
,assignment_id = p_rec.assignment_id
,updating_action_id = p_rec.updating_action_id
,updating_action_type = p_rec.updating_action_type
,element_link_id = p_rec.element_link_id
,original_entry_id = p_rec.original_entry_id
,creator_type = p_rec.creator_type
,entry_type = p_rec.entry_type
,comment_id = p_rec.comment_id
,creator_id = p_rec.creator_id
,reason = p_rec.reason
,target_entry_id = p_rec.target_entry_id
,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
,subpriority = p_rec.subpriority
,personal_payment_method_id = p_rec.personal_payment_method_id
,date_earned = p_rec.date_earned
,object_version_number = p_rec.object_version_number
,source_id = p_rec.source_id
,balance_adj_cost_flag = p_rec.balance_adj_cost_flag
,element_type_id = p_rec.element_type_id
,all_entry_values_null = p_rec.all_entry_values_null
where element_entry_id = p_rec.element_entry_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_ele_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';
pay_ele_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 pay_ele_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
--
pay_ele_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_ele_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_ele_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_ele_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_ele_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_element_entry_id
=> p_rec.element_entry_id
,p_effective_start_date
=> p_rec.effective_start_date
,p_effective_end_date
=> p_rec.effective_end_date
,p_cost_allocation_keyflex_id
=> p_rec.cost_allocation_keyflex_id
,p_updating_action_id
=> p_rec.updating_action_id
,p_updating_action_type
=> p_rec.updating_action_type
,p_original_entry_id
=> p_rec.original_entry_id
,p_creator_type
=> p_rec.creator_type
,p_entry_type
=> p_rec.entry_type
,p_comment_id
=> p_rec.comment_id
,p_comments
=> p_rec.comments
,p_creator_id
=> p_rec.creator_id
,p_reason
=> p_rec.reason
,p_target_entry_id
=> p_rec.target_entry_id
,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_entry_information_category => p_rec.entry_information_category,
p_entry_information1 => p_rec.entry_information1,
p_entry_information2 => p_rec.entry_information2,
p_entry_information3 => p_rec.entry_information3,
p_entry_information4 => p_rec.entry_information4,
p_entry_information5 => p_rec.entry_information5,
p_entry_information6 => p_rec.entry_information6,
p_entry_information7 => p_rec.entry_information7,
p_entry_information8 => p_rec.entry_information8,
p_entry_information9 => p_rec.entry_information9,
p_entry_information10 => p_rec.entry_information10,
p_entry_information11 => p_rec.entry_information11,
p_entry_information12 => p_rec.entry_information12,
p_entry_information13 => p_rec.entry_information13,
p_entry_information14 => p_rec.entry_information14,
p_entry_information15 => p_rec.entry_information15,
p_entry_information16 => p_rec.entry_information16,
p_entry_information17 => p_rec.entry_information17,
p_entry_information18 => p_rec.entry_information18,
p_entry_information19 => p_rec.entry_information19,
p_entry_information20 => p_rec.entry_information20,
p_entry_information21 => p_rec.entry_information21,
p_entry_information22 => p_rec.entry_information22,
p_entry_information23 => p_rec.entry_information23,
p_entry_information24 => p_rec.entry_information24,
p_entry_information25 => p_rec.entry_information25,
p_entry_information26 => p_rec.entry_information26,
p_entry_information27 => p_rec.entry_information27,
p_entry_information28 => p_rec.entry_information28,
p_entry_information29 => p_rec.entry_information29,
p_entry_information30 => p_rec.entry_information30
,p_subpriority
=> p_rec.subpriority
,p_personal_payment_method_id
=> p_rec.personal_payment_method_id
,p_date_earned
=> p_rec.date_earned
,p_object_version_number
=> p_rec.object_version_number
,p_source_id
=> p_rec.source_id
,p_balance_adj_cost_flag
=> p_rec.balance_adj_cost_flag
,p_all_entry_values_null
=> p_rec.all_entry_values_null
,p_effective_start_date_o
=> pay_ele_shd.g_old_rec.effective_start_date
,p_effective_end_date_o
=> pay_ele_shd.g_old_rec.effective_end_date
,p_cost_allocation_keyflex_id_o
=> pay_ele_shd.g_old_rec.cost_allocation_keyflex_id
,p_assignment_id_o
=> pay_ele_shd.g_old_rec.assignment_id
,p_updating_action_id_o
=> pay_ele_shd.g_old_rec.updating_action_id
,p_updating_action_type_o
=> pay_ele_shd.g_old_rec.updating_action_type
,p_element_link_id_o
=> pay_ele_shd.g_old_rec.element_link_id
,p_original_entry_id_o
=> pay_ele_shd.g_old_rec.original_entry_id
,p_creator_type_o
=> pay_ele_shd.g_old_rec.creator_type
,p_entry_type_o
=> pay_ele_shd.g_old_rec.entry_type
,p_comment_id_o
=> pay_ele_shd.g_old_rec.comment_id
,p_comments_o
=> pay_ele_shd.g_old_rec.comments
,p_creator_id_o
=> pay_ele_shd.g_old_rec.creator_id
,p_reason_o
=> pay_ele_shd.g_old_rec.reason
,p_target_entry_id_o
=> pay_ele_shd.g_old_rec.target_entry_id
,p_attribute_category_o
=> pay_ele_shd.g_old_rec.attribute_category
,p_attribute1_o
=> pay_ele_shd.g_old_rec.attribute1
,p_attribute2_o
=> pay_ele_shd.g_old_rec.attribute2
,p_attribute3_o
=> pay_ele_shd.g_old_rec.attribute3
,p_attribute4_o
=> pay_ele_shd.g_old_rec.attribute4
,p_attribute5_o
=> pay_ele_shd.g_old_rec.attribute5
,p_attribute6_o
=> pay_ele_shd.g_old_rec.attribute6
,p_attribute7_o
=> pay_ele_shd.g_old_rec.attribute7
,p_attribute8_o
=> pay_ele_shd.g_old_rec.attribute8
,p_attribute9_o
=> pay_ele_shd.g_old_rec.attribute9
,p_attribute10_o
=> pay_ele_shd.g_old_rec.attribute10
,p_attribute11_o
=> pay_ele_shd.g_old_rec.attribute11
,p_attribute12_o
=> pay_ele_shd.g_old_rec.attribute12
,p_attribute13_o
=> pay_ele_shd.g_old_rec.attribute13
,p_attribute14_o
=> pay_ele_shd.g_old_rec.attribute14
,p_attribute15_o
=> pay_ele_shd.g_old_rec.attribute15
,p_attribute16_o
=> pay_ele_shd.g_old_rec.attribute16
,p_attribute17_o
=> pay_ele_shd.g_old_rec.attribute17
,p_attribute18_o
=> pay_ele_shd.g_old_rec.attribute18
,p_attribute19_o
=> pay_ele_shd.g_old_rec.attribute19
,p_attribute20_o
=> pay_ele_shd.g_old_rec.attribute20
-- --
,--Altered next 30 lines, 20-FEB-03 changed p_rec -> pay_ele_shd.g_old_rec
--as looked like a cut-n-paste accident
p_entry_information_category_o => pay_ele_shd.g_old_rec.entry_information_category,
p_entry_information1_o => pay_ele_shd.g_old_rec.entry_information1,
p_entry_information2_o => pay_ele_shd.g_old_rec.entry_information2,
p_entry_information3_o => pay_ele_shd.g_old_rec.entry_information3,
p_entry_information4_o => pay_ele_shd.g_old_rec.entry_information4,
p_entry_information5_o => pay_ele_shd.g_old_rec.entry_information5,
p_entry_information6_o => pay_ele_shd.g_old_rec.entry_information6,
p_entry_information7_o => pay_ele_shd.g_old_rec.entry_information7,
p_entry_information8_o => pay_ele_shd.g_old_rec.entry_information8,
p_entry_information9_o => pay_ele_shd.g_old_rec.entry_information9,
p_entry_information10_o => pay_ele_shd.g_old_rec.entry_information10,
p_entry_information11_o => pay_ele_shd.g_old_rec.entry_information11,
p_entry_information12_o => pay_ele_shd.g_old_rec.entry_information12,
p_entry_information13_o => pay_ele_shd.g_old_rec.entry_information13,
p_entry_information14_o => pay_ele_shd.g_old_rec.entry_information14,
p_entry_information15_o => pay_ele_shd.g_old_rec.entry_information15,
p_entry_information16_o => pay_ele_shd.g_old_rec.entry_information16,
p_entry_information17_o => pay_ele_shd.g_old_rec.entry_information17,
p_entry_information18_o => pay_ele_shd.g_old_rec.entry_information18,
p_entry_information19_o => pay_ele_shd.g_old_rec.entry_information19,
p_entry_information20_o => pay_ele_shd.g_old_rec.entry_information20,
p_entry_information21_o => pay_ele_shd.g_old_rec.entry_information21,
p_entry_information22_o => pay_ele_shd.g_old_rec.entry_information22,
p_entry_information23_o => pay_ele_shd.g_old_rec.entry_information23,
p_entry_information24_o => pay_ele_shd.g_old_rec.entry_information24,
p_entry_information25_o => pay_ele_shd.g_old_rec.entry_information25,
p_entry_information26_o => pay_ele_shd.g_old_rec.entry_information26,
p_entry_information27_o => pay_ele_shd.g_old_rec.entry_information27,
p_entry_information28_o => pay_ele_shd.g_old_rec.entry_information28,
p_entry_information29_o => pay_ele_shd.g_old_rec.entry_information29,
p_entry_information30_o => pay_ele_shd.g_old_rec.entry_information30
,p_subpriority_o
=> pay_ele_shd.g_old_rec.subpriority
,p_personal_payment_method_id_o
=> pay_ele_shd.g_old_rec.personal_payment_method_id
,p_date_earned_o
=> pay_ele_shd.g_old_rec.date_earned
,p_object_version_number_o
=> pay_ele_shd.g_old_rec.object_version_number
,p_source_id_o
=> pay_ele_shd.g_old_rec.source_id
,p_balance_adj_cost_flag_o
=> pay_ele_shd.g_old_rec.balance_adj_cost_flag
,p_element_type_id_o => pay_ele_shd.g_old_rec.element_type_id
,p_all_entry_values_null_o
=> pay_ele_shd.g_old_rec.all_entry_values_null
);
End post_update;
pay_ele_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
);