The following lines contain the word 'select', 'insert', 'update' or 'delete':
Procedure update_dml
(p_rec in out nocopy pay_btl_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'update_dml';
update pay_batch_lines
set
batch_line_id = p_rec.batch_line_id
,cost_allocation_keyflex_id = p_rec.cost_allocation_keyflex_id
,element_type_id = p_rec.element_type_id
,assignment_id = p_rec.assignment_id
,batch_line_status = p_rec.batch_line_status
,assignment_number = p_rec.assignment_number
,batch_sequence = p_rec.batch_sequence
,concatenated_segments = p_rec.concatenated_segments
,effective_date = p_rec.effective_date
,element_name = p_rec.element_name
,entry_type = p_rec.entry_type
,reason = p_rec.reason
,segment1 = p_rec.segment1
,segment2 = p_rec.segment2
,segment3 = p_rec.segment3
,segment4 = p_rec.segment4
,segment5 = p_rec.segment5
,segment6 = p_rec.segment6
,segment7 = p_rec.segment7
,segment8 = p_rec.segment8
,segment9 = p_rec.segment9
,segment10 = p_rec.segment10
,segment11 = p_rec.segment11
,segment12 = p_rec.segment12
,segment13 = p_rec.segment13
,segment14 = p_rec.segment14
,segment15 = p_rec.segment15
,segment16 = p_rec.segment16
,segment17 = p_rec.segment17
,segment18 = p_rec.segment18
,segment19 = p_rec.segment19
,segment20 = p_rec.segment20
,segment21 = p_rec.segment21
,segment22 = p_rec.segment22
,segment23 = p_rec.segment23
,segment24 = p_rec.segment24
,segment25 = p_rec.segment25
,segment26 = p_rec.segment26
,segment27 = p_rec.segment27
,segment28 = p_rec.segment28
,segment29 = p_rec.segment29
,segment30 = p_rec.segment30
,value_1 = p_rec.value_1
,value_2 = p_rec.value_2
,value_3 = p_rec.value_3
,value_4 = p_rec.value_4
,value_5 = p_rec.value_5
,value_6 = p_rec.value_6
,value_7 = p_rec.value_7
,value_8 = p_rec.value_8
,value_9 = p_rec.value_9
,value_10 = p_rec.value_10
,value_11 = p_rec.value_11
,value_12 = p_rec.value_12
,value_13 = p_rec.value_13
,value_14 = p_rec.value_14
,value_15 = p_rec.value_15
,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
,entry_information_category = p_rec.entry_information_category
,entry_information1 = p_rec.entry_information1
,entry_information2 = p_rec.entry_information2
,entry_information3 = p_rec.entry_information3
,entry_information4 = p_rec.entry_information4
,entry_information5 = p_rec.entry_information5
,entry_information6 = p_rec.entry_information6
,entry_information7 = p_rec.entry_information7
,entry_information8 = p_rec.entry_information8
,entry_information9 = p_rec.entry_information9
,entry_information10 = p_rec.entry_information10
,entry_information11 = p_rec.entry_information11
,entry_information12 = p_rec.entry_information12
,entry_information13 = p_rec.entry_information13
,entry_information14 = p_rec.entry_information14
,entry_information15 = p_rec.entry_information15
,entry_information16 = p_rec.entry_information16
,entry_information17 = p_rec.entry_information17
,entry_information18 = p_rec.entry_information18
,entry_information19 = p_rec.entry_information19
,entry_information20 = p_rec.entry_information20
,entry_information21 = p_rec.entry_information21
,entry_information22 = p_rec.entry_information22
,entry_information23 = p_rec.entry_information23
,entry_information24 = p_rec.entry_information24
,entry_information25 = p_rec.entry_information25
,entry_information26 = p_rec.entry_information26
,entry_information27 = p_rec.entry_information27
,entry_information28 = p_rec.entry_information28
,entry_information29 = p_rec.entry_information29
,entry_information30 = p_rec.entry_information30
,date_earned = p_rec.date_earned
,personal_payment_method_id = p_rec.personal_payment_method_id
,subpriority = p_rec.subpriority
,effective_start_date = p_rec.effective_start_date
,effective_end_date = p_rec.effective_end_date
,object_version_number = p_rec.object_version_number
where batch_line_id = p_rec.batch_line_id;
End update_dml;
Procedure pre_update
(p_rec in pay_btl_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'pre_update';
End pre_update;
Procedure post_update
(p_session_date in date
,p_rec in pay_btl_shd.g_rec_type
) is
--
l_proc varchar2(72) := g_package||'post_update';
pay_btl_rku.after_update
(p_session_date
=> p_session_date
,p_batch_line_id
=> p_rec.batch_line_id
,p_cost_allocation_keyflex_id
=> p_rec.cost_allocation_keyflex_id
,p_element_type_id
=> p_rec.element_type_id
,p_assignment_id
=> p_rec.assignment_id
,p_batch_line_status
=> p_rec.batch_line_status
,p_assignment_number
=> p_rec.assignment_number
,p_batch_sequence
=> p_rec.batch_sequence
,p_concatenated_segments
=> p_rec.concatenated_segments
,p_effective_date
=> p_rec.effective_date
,p_element_name
=> p_rec.element_name
,p_entry_type
=> p_rec.entry_type
,p_reason
=> p_rec.reason
,p_segment1
=> p_rec.segment1
,p_segment2
=> p_rec.segment2
,p_segment3
=> p_rec.segment3
,p_segment4
=> p_rec.segment4
,p_segment5
=> p_rec.segment5
,p_segment6
=> p_rec.segment6
,p_segment7
=> p_rec.segment7
,p_segment8
=> p_rec.segment8
,p_segment9
=> p_rec.segment9
,p_segment10
=> p_rec.segment10
,p_segment11
=> p_rec.segment11
,p_segment12
=> p_rec.segment12
,p_segment13
=> p_rec.segment13
,p_segment14
=> p_rec.segment14
,p_segment15
=> p_rec.segment15
,p_segment16
=> p_rec.segment16
,p_segment17
=> p_rec.segment17
,p_segment18
=> p_rec.segment18
,p_segment19
=> p_rec.segment19
,p_segment20
=> p_rec.segment20
,p_segment21
=> p_rec.segment21
,p_segment22
=> p_rec.segment22
,p_segment23
=> p_rec.segment23
,p_segment24
=> p_rec.segment24
,p_segment25
=> p_rec.segment25
,p_segment26
=> p_rec.segment26
,p_segment27
=> p_rec.segment27
,p_segment28
=> p_rec.segment28
,p_segment29
=> p_rec.segment29
,p_segment30
=> p_rec.segment30
,p_value_1
=> p_rec.value_1
,p_value_2
=> p_rec.value_2
,p_value_3
=> p_rec.value_3
,p_value_4
=> p_rec.value_4
,p_value_5
=> p_rec.value_5
,p_value_6
=> p_rec.value_6
,p_value_7
=> p_rec.value_7
,p_value_8
=> p_rec.value_8
,p_value_9
=> p_rec.value_9
,p_value_10
=> p_rec.value_10
,p_value_11
=> p_rec.value_11
,p_value_12
=> p_rec.value_12
,p_value_13
=> p_rec.value_13
,p_value_14
=> p_rec.value_14
,p_value_15
=> p_rec.value_15
,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_date_earned
=> p_rec.date_earned
,p_personal_payment_method_id
=> p_rec.personal_payment_method_id
,p_subpriority
=> p_rec.subpriority
,p_effective_start_date
=> p_rec.effective_start_date
,p_effective_end_date
=> p_rec.effective_end_date
,p_object_version_number
=> p_rec.object_version_number
,p_cost_allocation_keyflex_id_o
=> pay_btl_shd.g_old_rec.cost_allocation_keyflex_id
,p_element_type_id_o
=> pay_btl_shd.g_old_rec.element_type_id
,p_assignment_id_o
=> pay_btl_shd.g_old_rec.assignment_id
,p_batch_id_o
=> pay_btl_shd.g_old_rec.batch_id
,p_batch_line_status_o
=> pay_btl_shd.g_old_rec.batch_line_status
,p_assignment_number_o
=> pay_btl_shd.g_old_rec.assignment_number
,p_batch_sequence_o
=> pay_btl_shd.g_old_rec.batch_sequence
,p_concatenated_segments_o
=> pay_btl_shd.g_old_rec.concatenated_segments
,p_effective_date_o
=> pay_btl_shd.g_old_rec.effective_date
,p_element_name_o
=> pay_btl_shd.g_old_rec.element_name
,p_entry_type_o
=> pay_btl_shd.g_old_rec.entry_type
,p_reason_o
=> pay_btl_shd.g_old_rec.reason
,p_segment1_o
=> pay_btl_shd.g_old_rec.segment1
,p_segment2_o
=> pay_btl_shd.g_old_rec.segment2
,p_segment3_o
=> pay_btl_shd.g_old_rec.segment3
,p_segment4_o
=> pay_btl_shd.g_old_rec.segment4
,p_segment5_o
=> pay_btl_shd.g_old_rec.segment5
,p_segment6_o
=> pay_btl_shd.g_old_rec.segment6
,p_segment7_o
=> pay_btl_shd.g_old_rec.segment7
,p_segment8_o
=> pay_btl_shd.g_old_rec.segment8
,p_segment9_o
=> pay_btl_shd.g_old_rec.segment9
,p_segment10_o
=> pay_btl_shd.g_old_rec.segment10
,p_segment11_o
=> pay_btl_shd.g_old_rec.segment11
,p_segment12_o
=> pay_btl_shd.g_old_rec.segment12
,p_segment13_o
=> pay_btl_shd.g_old_rec.segment13
,p_segment14_o
=> pay_btl_shd.g_old_rec.segment14
,p_segment15_o
=> pay_btl_shd.g_old_rec.segment15
,p_segment16_o
=> pay_btl_shd.g_old_rec.segment16
,p_segment17_o
=> pay_btl_shd.g_old_rec.segment17
,p_segment18_o
=> pay_btl_shd.g_old_rec.segment18
,p_segment19_o
=> pay_btl_shd.g_old_rec.segment19
,p_segment20_o
=> pay_btl_shd.g_old_rec.segment20
,p_segment21_o
=> pay_btl_shd.g_old_rec.segment21
,p_segment22_o
=> pay_btl_shd.g_old_rec.segment22
,p_segment23_o
=> pay_btl_shd.g_old_rec.segment23
,p_segment24_o
=> pay_btl_shd.g_old_rec.segment24
,p_segment25_o
=> pay_btl_shd.g_old_rec.segment25
,p_segment26_o
=> pay_btl_shd.g_old_rec.segment26
,p_segment27_o
=> pay_btl_shd.g_old_rec.segment27
,p_segment28_o
=> pay_btl_shd.g_old_rec.segment28
,p_segment29_o
=> pay_btl_shd.g_old_rec.segment29
,p_segment30_o
=> pay_btl_shd.g_old_rec.segment30
,p_value_1_o
=> pay_btl_shd.g_old_rec.value_1
,p_value_2_o
=> pay_btl_shd.g_old_rec.value_2
,p_value_3_o
=> pay_btl_shd.g_old_rec.value_3
,p_value_4_o
=> pay_btl_shd.g_old_rec.value_4
,p_value_5_o
=> pay_btl_shd.g_old_rec.value_5
,p_value_6_o
=> pay_btl_shd.g_old_rec.value_6
,p_value_7_o
=> pay_btl_shd.g_old_rec.value_7
,p_value_8_o
=> pay_btl_shd.g_old_rec.value_8
,p_value_9_o
=> pay_btl_shd.g_old_rec.value_9
,p_value_10_o
=> pay_btl_shd.g_old_rec.value_10
,p_value_11_o
=> pay_btl_shd.g_old_rec.value_11
,p_value_12_o
=> pay_btl_shd.g_old_rec.value_12
,p_value_13_o
=> pay_btl_shd.g_old_rec.value_13
,p_value_14_o
=> pay_btl_shd.g_old_rec.value_14
,p_value_15_o
=> pay_btl_shd.g_old_rec.value_15
,p_attribute_category_o
=> pay_btl_shd.g_old_rec.attribute_category
,p_attribute1_o
=> pay_btl_shd.g_old_rec.attribute1
,p_attribute2_o
=> pay_btl_shd.g_old_rec.attribute2
,p_attribute3_o
=> pay_btl_shd.g_old_rec.attribute3
,p_attribute4_o
=> pay_btl_shd.g_old_rec.attribute4
,p_attribute5_o
=> pay_btl_shd.g_old_rec.attribute5
,p_attribute6_o
=> pay_btl_shd.g_old_rec.attribute6
,p_attribute7_o
=> pay_btl_shd.g_old_rec.attribute7
,p_attribute8_o
=> pay_btl_shd.g_old_rec.attribute8
,p_attribute9_o
=> pay_btl_shd.g_old_rec.attribute9
,p_attribute10_o
=> pay_btl_shd.g_old_rec.attribute10
,p_attribute11_o
=> pay_btl_shd.g_old_rec.attribute11
,p_attribute12_o
=> pay_btl_shd.g_old_rec.attribute12
,p_attribute13_o
=> pay_btl_shd.g_old_rec.attribute13
,p_attribute14_o
=> pay_btl_shd.g_old_rec.attribute14
,p_attribute15_o
=> pay_btl_shd.g_old_rec.attribute15
,p_attribute16_o
=> pay_btl_shd.g_old_rec.attribute16
,p_attribute17_o
=> pay_btl_shd.g_old_rec.attribute17
,p_attribute18_o
=> pay_btl_shd.g_old_rec.attribute18
,p_attribute19_o
=> pay_btl_shd.g_old_rec.attribute19
,p_attribute20_o
=> pay_btl_shd.g_old_rec.attribute20
,p_entry_information_category_o
=> pay_btl_shd.g_old_rec.entry_information_category
,p_entry_information1_o
=> pay_btl_shd.g_old_rec.entry_information1
,p_entry_information2_o
=> pay_btl_shd.g_old_rec.entry_information2
,p_entry_information3_o
=> pay_btl_shd.g_old_rec.entry_information3
,p_entry_information4_o
=> pay_btl_shd.g_old_rec.entry_information4
,p_entry_information5_o
=> pay_btl_shd.g_old_rec.entry_information5
,p_entry_information6_o
=> pay_btl_shd.g_old_rec.entry_information6
,p_entry_information7_o
=> pay_btl_shd.g_old_rec.entry_information7
,p_entry_information8_o
=> pay_btl_shd.g_old_rec.entry_information8
,p_entry_information9_o
=> pay_btl_shd.g_old_rec.entry_information9
,p_entry_information10_o
=> pay_btl_shd.g_old_rec.entry_information10
,p_entry_information11_o
=> pay_btl_shd.g_old_rec.entry_information11
,p_entry_information12_o
=> pay_btl_shd.g_old_rec.entry_information12
,p_entry_information13_o
=> pay_btl_shd.g_old_rec.entry_information13
,p_entry_information14_o
=> pay_btl_shd.g_old_rec.entry_information14
,p_entry_information15_o
=> pay_btl_shd.g_old_rec.entry_information15
,p_entry_information16_o
=> pay_btl_shd.g_old_rec.entry_information16
,p_entry_information17_o
=> pay_btl_shd.g_old_rec.entry_information17
,p_entry_information18_o
=> pay_btl_shd.g_old_rec.entry_information18
,p_entry_information19_o
=> pay_btl_shd.g_old_rec.entry_information19
,p_entry_information20_o
=> pay_btl_shd.g_old_rec.entry_information20
,p_entry_information21_o
=> pay_btl_shd.g_old_rec.entry_information21
,p_entry_information22_o
=> pay_btl_shd.g_old_rec.entry_information22
,p_entry_information23_o
=> pay_btl_shd.g_old_rec.entry_information23
,p_entry_information24_o
=> pay_btl_shd.g_old_rec.entry_information24
,p_entry_information25_o
=> pay_btl_shd.g_old_rec.entry_information25
,p_entry_information26_o
=> pay_btl_shd.g_old_rec.entry_information26
,p_entry_information27_o
=> pay_btl_shd.g_old_rec.entry_information27
,p_entry_information28_o
=> pay_btl_shd.g_old_rec.entry_information28
,p_entry_information29_o
=> pay_btl_shd.g_old_rec.entry_information29
,p_entry_information30_o
=> pay_btl_shd.g_old_rec.entry_information30
,p_date_earned_o
=> pay_btl_shd.g_old_rec.date_earned
,p_personal_payment_method_id_o
=> pay_btl_shd.g_old_rec.personal_payment_method_id
,p_subpriority_o
=> pay_btl_shd.g_old_rec.subpriority
,p_effective_start_date_o
=> pay_btl_shd.g_old_rec.effective_start_date
,p_effective_end_date_o
=> pay_btl_shd.g_old_rec.effective_end_date
,p_object_version_number_o
=> pay_btl_shd.g_old_rec.object_version_number
);
End post_update;
pay_btl_bus.update_validate
(p_session_date,
p_rec
);
p_dml_mode => 'UPDATE',
p_appl_short_name => 'PAY',
p_flex_code => 'COST',
p_segment1 => p_rec.segment1,
p_segment2 => p_rec.segment2,
p_segment3 => p_rec.segment3,
p_segment4 => p_rec.segment4,
p_segment5 => p_rec.segment5,
p_segment6 => p_rec.segment6,
p_segment7 => p_rec.segment7,
p_segment8 => p_rec.segment8,
p_segment9 => p_rec.segment9,
p_segment10 => p_rec.segment10,
p_segment11 => p_rec.segment11,
p_segment12 => p_rec.segment12,
p_segment13 => p_rec.segment13,
p_segment14 => p_rec.segment14,
p_segment15 => p_rec.segment15,
p_segment16 => p_rec.segment16,
p_segment17 => p_rec.segment17,
p_segment18 => p_rec.segment18,
p_segment19 => p_rec.segment19,
p_segment20 => p_rec.segment20,
p_segment21 => p_rec.segment21,
p_segment22 => p_rec.segment22,
p_segment23 => p_rec.segment23,
p_segment24 => p_rec.segment24,
p_segment25 => p_rec.segment25,
p_segment26 => p_rec.segment26,
p_segment27 => p_rec.segment27,
p_segment28 => p_rec.segment28,
p_segment29 => p_rec.segment29,
p_segment30 => p_rec.segment30,
p_concat_segments_in => p_rec.concatenated_segments,
p_batch_line_id => p_rec.batch_line_id,
--
-- OUT parameter,
-- l_rec.cost_allocation_keyflex_id may have a new value
--
p_ccid => l_cost_allocation_keyflex_id,
p_concat_segments_out => l_concat_segments_out
);
pay_btl_upd.pre_update(p_rec);
pay_btl_upd.update_dml(p_rec);
pay_btl_upd.post_update
(p_session_date
,p_rec
);