The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure dt_update_dml
(p_rec in out nocopy pay_opm_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_org_payment_methods_f
set
org_payment_method_id = p_rec.org_payment_method_id
,business_group_id = p_rec.business_group_id
,external_account_id = p_rec.external_account_id
,currency_code = p_rec.currency_code
,payment_type_id = p_rec.payment_type_id
,defined_balance_id = p_rec.defined_balance_id
,org_payment_method_name = p_rec.org_payment_method_name
,comment_id = p_rec.comment_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
,pmeth_information_category = p_rec.pmeth_information_category
,pmeth_information1 = p_rec.pmeth_information1
,pmeth_information2 = p_rec.pmeth_information2
,pmeth_information3 = p_rec.pmeth_information3
,pmeth_information4 = p_rec.pmeth_information4
,pmeth_information5 = p_rec.pmeth_information5
,pmeth_information6 = p_rec.pmeth_information6
,pmeth_information7 = p_rec.pmeth_information7
,pmeth_information8 = p_rec.pmeth_information8
,pmeth_information9 = p_rec.pmeth_information9
,pmeth_information10 = p_rec.pmeth_information10
,pmeth_information11 = p_rec.pmeth_information11
,pmeth_information12 = p_rec.pmeth_information12
,pmeth_information13 = p_rec.pmeth_information13
,pmeth_information14 = p_rec.pmeth_information14
,pmeth_information15 = p_rec.pmeth_information15
,pmeth_information16 = p_rec.pmeth_information16
,pmeth_information17 = p_rec.pmeth_information17
,pmeth_information18 = p_rec.pmeth_information18
,pmeth_information19 = p_rec.pmeth_information19
,pmeth_information20 = p_rec.pmeth_information20
,object_version_number = p_rec.object_version_number
,transfer_to_gl_flag = p_rec.transfer_to_gl_flag
,cost_payment = p_rec.cost_payment
,cost_cleared_payment = p_rec.cost_cleared_payment
,cost_cleared_void_payment = p_rec.cost_cleared_void_payment
,exclude_manual_payment = p_rec.exclude_manual_payment
where org_payment_method_id = p_rec.org_payment_method_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_opm_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_opm_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_opm_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_opm_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_opm_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_opm_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_opm_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_opm_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_org_payment_method_id
=> p_rec.org_payment_method_id
,p_effective_start_date
=> p_rec.effective_start_date
,p_effective_end_date
=> p_rec.effective_end_date
,p_external_account_id
=> p_rec.external_account_id
,p_currency_code
=> p_rec.currency_code
,p_comment_id
=> p_rec.comment_id
,p_comments
=> p_rec.comments
,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_pmeth_information_category
=> p_rec.pmeth_information_category
,p_pmeth_information1
=> p_rec.pmeth_information1
,p_pmeth_information2
=> p_rec.pmeth_information2
,p_pmeth_information3
=> p_rec.pmeth_information3
,p_pmeth_information4
=> p_rec.pmeth_information4
,p_pmeth_information5
=> p_rec.pmeth_information5
,p_pmeth_information6
=> p_rec.pmeth_information6
,p_pmeth_information7
=> p_rec.pmeth_information7
,p_pmeth_information8
=> p_rec.pmeth_information8
,p_pmeth_information9
=> p_rec.pmeth_information9
,p_pmeth_information10
=> p_rec.pmeth_information10
,p_pmeth_information11
=> p_rec.pmeth_information11
,p_pmeth_information12
=> p_rec.pmeth_information12
,p_pmeth_information13
=> p_rec.pmeth_information13
,p_pmeth_information14
=> p_rec.pmeth_information14
,p_pmeth_information15
=> p_rec.pmeth_information15
,p_pmeth_information16
=> p_rec.pmeth_information16
,p_pmeth_information17
=> p_rec.pmeth_information17
,p_pmeth_information18
=> p_rec.pmeth_information18
,p_pmeth_information19
=> p_rec.pmeth_information19
,p_pmeth_information20
=> p_rec.pmeth_information20
,p_object_version_number
=> p_rec.object_version_number
,p_transfer_to_gl_flag
=> p_rec.transfer_to_gl_flag
,p_cost_payment
=> p_rec.cost_payment
,p_cost_cleared_payment
=> p_rec.cost_cleared_payment
,p_cost_cleared_void_payment
=> p_rec.cost_cleared_void_payment
,p_exclude_manual_payment
=> p_rec.exclude_manual_payment
,p_effective_start_date_o
=> pay_opm_shd.g_old_rec.effective_start_date
,p_effective_end_date_o
=> pay_opm_shd.g_old_rec.effective_end_date
,p_business_group_id_o
=> pay_opm_shd.g_old_rec.business_group_id
,p_external_account_id_o
=> pay_opm_shd.g_old_rec.external_account_id
,p_currency_code_o
=> pay_opm_shd.g_old_rec.currency_code
,p_payment_type_id_o
=> pay_opm_shd.g_old_rec.payment_type_id
,p_defined_balance_id_o
=> pay_opm_shd.g_old_rec.defined_balance_id
,p_org_payment_method_name_o
=> pay_opm_shd.g_old_rec.org_payment_method_name
,p_comment_id_o
=> pay_opm_shd.g_old_rec.comment_id
,p_comments_o
=> pay_opm_shd.g_old_rec.comments
,p_attribute_category_o
=> pay_opm_shd.g_old_rec.attribute_category
,p_attribute1_o
=> pay_opm_shd.g_old_rec.attribute1
,p_attribute2_o
=> pay_opm_shd.g_old_rec.attribute2
,p_attribute3_o
=> pay_opm_shd.g_old_rec.attribute3
,p_attribute4_o
=> pay_opm_shd.g_old_rec.attribute4
,p_attribute5_o
=> pay_opm_shd.g_old_rec.attribute5
,p_attribute6_o
=> pay_opm_shd.g_old_rec.attribute6
,p_attribute7_o
=> pay_opm_shd.g_old_rec.attribute7
,p_attribute8_o
=> pay_opm_shd.g_old_rec.attribute8
,p_attribute9_o
=> pay_opm_shd.g_old_rec.attribute9
,p_attribute10_o
=> pay_opm_shd.g_old_rec.attribute10
,p_attribute11_o
=> pay_opm_shd.g_old_rec.attribute11
,p_attribute12_o
=> pay_opm_shd.g_old_rec.attribute12
,p_attribute13_o
=> pay_opm_shd.g_old_rec.attribute13
,p_attribute14_o
=> pay_opm_shd.g_old_rec.attribute14
,p_attribute15_o
=> pay_opm_shd.g_old_rec.attribute15
,p_attribute16_o
=> pay_opm_shd.g_old_rec.attribute16
,p_attribute17_o
=> pay_opm_shd.g_old_rec.attribute17
,p_attribute18_o
=> pay_opm_shd.g_old_rec.attribute18
,p_attribute19_o
=> pay_opm_shd.g_old_rec.attribute19
,p_attribute20_o
=> pay_opm_shd.g_old_rec.attribute20
,p_pmeth_information_category_o
=> pay_opm_shd.g_old_rec.pmeth_information_category
,p_pmeth_information1_o
=> pay_opm_shd.g_old_rec.pmeth_information1
,p_pmeth_information2_o
=> pay_opm_shd.g_old_rec.pmeth_information2
,p_pmeth_information3_o
=> pay_opm_shd.g_old_rec.pmeth_information3
,p_pmeth_information4_o
=> pay_opm_shd.g_old_rec.pmeth_information4
,p_pmeth_information5_o
=> pay_opm_shd.g_old_rec.pmeth_information5
,p_pmeth_information6_o
=> pay_opm_shd.g_old_rec.pmeth_information6
,p_pmeth_information7_o
=> pay_opm_shd.g_old_rec.pmeth_information7
,p_pmeth_information8_o
=> pay_opm_shd.g_old_rec.pmeth_information8
,p_pmeth_information9_o
=> pay_opm_shd.g_old_rec.pmeth_information9
,p_pmeth_information10_o
=> pay_opm_shd.g_old_rec.pmeth_information10
,p_pmeth_information11_o
=> pay_opm_shd.g_old_rec.pmeth_information11
,p_pmeth_information12_o
=> pay_opm_shd.g_old_rec.pmeth_information12
,p_pmeth_information13_o
=> pay_opm_shd.g_old_rec.pmeth_information13
,p_pmeth_information14_o
=> pay_opm_shd.g_old_rec.pmeth_information14
,p_pmeth_information15_o
=> pay_opm_shd.g_old_rec.pmeth_information15
,p_pmeth_information16_o
=> pay_opm_shd.g_old_rec.pmeth_information16
,p_pmeth_information17_o
=> pay_opm_shd.g_old_rec.pmeth_information17
,p_pmeth_information18_o
=> pay_opm_shd.g_old_rec.pmeth_information18
,p_pmeth_information19_o
=> pay_opm_shd.g_old_rec.pmeth_information19
,p_pmeth_information20_o
=> pay_opm_shd.g_old_rec.pmeth_information20
,p_object_version_number_o
=> pay_opm_shd.g_old_rec.object_version_number
,p_transfer_to_gl_flag_o
=> pay_opm_shd.g_old_rec.transfer_to_gl_flag
,p_cost_payment_o
=> pay_opm_shd.g_old_rec.cost_payment
,p_cost_cleared_payment_o
=> pay_opm_shd.g_old_rec.cost_cleared_payment
,p_cost_cleared_void_payment_o
=> pay_opm_shd.g_old_rec.cost_cleared_void_payment
,p_exclude_manual_payment_o
=> pay_opm_shd.g_old_rec.exclude_manual_payment
);
End post_update;
pay_opm_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
);