The following lines contain the word 'select', 'insert', 'update' or 'delete':
SELECT ee.object_version_number
FROM pay_element_entries_f ee
WHERE l_element_entry_id = ee.element_entry_id
-- bug 675794, added date condition to select correct row
and l_effective_date between ee.effective_start_date
and ee.effective_end_date;
SELECT ptp.status
FROM per_time_periods ptp,
per_assignments_f pas
WHERE pas.assignment_id = p_assignment_id
AND pas.payroll_id = ptp.payroll_id
AND l_effective_date BETWEEN ptp.start_date
AND ptp.end_date
AND l_effective_date BETWEEN pas.effective_start_date
AND pas.effective_end_date;
SELECT business_group_id
FROM per_assignments_f pas
WHERE pas.assignment_id = p_assignment_id;
SELECT /*+ LEADING(ee)
INDEX(ee pay_element_entries_f_n51) */
'X'
FROM pay_element_entries_f ee,
pay_element_types_f et,
pay_element_links_f el
WHERE el.element_link_id = ee.element_link_id
AND el.element_link_id = p_element_link_id
AND el.element_type_id = et.element_type_id
AND ee.assignment_id = p_assignment_id
AND l_effective_date BETWEEN ee.effective_start_date
AND ee.effective_end_date
AND l_effective_date BETWEEN el.effective_start_date
AND el.effective_end_date
AND l_effective_date BETWEEN et.effective_start_date
AND et.effective_end_date
AND et.multiple_entries_allowed_flag = 'N'
AND ee.entry_type = 'E';
SELECT et.closed_for_entry_flag,
et.adjustment_only_flag, -- Bug 5872519
et.process_in_run_flag,
et.element_name,
et.legislation_code,
--
-- Bugfix 2646060
-- Retrieve the element_link costable_type
--
el.costable_type,
--
-- Bugfix 3079267
-- Retreive the indirect_only_flag
--
et.indirect_only_flag
FROM pay_element_types_f et,
pay_element_links_f el
WHERE el.element_link_id = p_element_link_id
/* Bug # 8628917. Validating element and link against BG ID*/
AND el.business_group_id = l_business_group_id
AND el.business_group_id = nvl(et.business_group_id, el.business_group_id)
AND el.element_type_id = et.element_type_id
AND l_effective_date BETWEEN el.effective_start_date
AND el.effective_end_date
AND l_effective_date BETWEEN et.effective_start_date
AND et.effective_end_date;
hr_entry_api.insert_element_entry
(
p_effective_start_date => l_effective_start_date,
p_effective_end_date => l_effective_end_date,
p_element_entry_id => l_element_entry_id,
p_original_entry_id => p_original_entry_id,
p_assignment_id => p_assignment_id,
p_element_link_id => p_element_link_id,
p_creator_type => l_creator_type,
p_entry_type => p_entry_type,
p_cost_allocation_keyflex_id => p_cost_allocation_keyflex_id,
p_updating_action_id => p_updating_action_id,
p_updating_action_type => p_updating_action_type,
p_comment_id => p_comment_id,
p_creator_id => l_creator_id,
p_reason => p_reason,
p_target_entry_id => p_target_entry_id,
p_subpriority => p_subpriority,
p_date_earned => l_date_earned,
p_personal_payment_method_id => p_personal_payment_method_id,
p_attribute_category => p_attribute_category,
p_attribute1 => p_attribute1,
p_attribute2 => p_attribute2,
p_attribute3 => p_attribute3,
p_attribute4 => p_attribute4,
p_attribute5 => p_attribute5,
p_attribute6 => p_attribute6,
p_attribute7 => p_attribute7,
p_attribute8 => p_attribute8,
p_attribute9 => p_attribute9,
p_attribute10 => p_attribute10,
p_attribute11 => p_attribute11,
p_attribute12 => p_attribute12,
p_attribute13 => p_attribute13,
p_attribute14 => p_attribute14,
p_attribute15 => p_attribute15,
p_attribute16 => p_attribute16,
p_attribute17 => p_attribute17,
p_attribute18 => p_attribute18,
p_attribute19 => p_attribute19,
p_attribute20 => p_attribute20,
p_input_value_id1 => p_input_value_id1,
p_input_value_id2 => p_input_value_id2,
p_input_value_id3 => p_input_value_id3,
p_input_value_id4 => p_input_value_id4,
p_input_value_id5 => p_input_value_id5,
p_input_value_id6 => p_input_value_id6,
p_input_value_id7 => p_input_value_id7,
p_input_value_id8 => p_input_value_id8,
p_input_value_id9 => p_input_value_id9,
p_input_value_id10 => p_input_value_id10,
p_input_value_id11 => p_input_value_id11,
p_input_value_id12 => p_input_value_id12,
p_input_value_id13 => p_input_value_id13,
p_input_value_id14 => p_input_value_id14,
p_input_value_id15 => p_input_value_id15,
p_entry_value1 => l_entry_value1,
p_entry_value2 => l_entry_value2,
p_entry_value3 => l_entry_value3,
p_entry_value4 => l_entry_value4,
p_entry_value5 => l_entry_value5,
p_entry_value6 => l_entry_value6,
p_entry_value7 => l_entry_value7,
p_entry_value8 => l_entry_value8,
p_entry_value9 => l_entry_value9,
p_entry_value10 => l_entry_value10,
p_entry_value11 => l_entry_value11,
p_entry_value12 => l_entry_value12,
p_entry_value13 => l_entry_value13,
p_entry_value14 => l_entry_value14,
p_entry_value15 => l_entry_value15,
p_entry_information_category => p_entry_information_category,
p_entry_information1 => p_entry_information1,
p_entry_information2 => p_entry_information2,
p_entry_information3 => p_entry_information3,
p_entry_information4 => p_entry_information4,
p_entry_information5 => p_entry_information5,
p_entry_information6 => p_entry_information6,
p_entry_information7 => p_entry_information7,
p_entry_information8 => p_entry_information8,
p_entry_information9 => p_entry_information9,
p_entry_information10 => p_entry_information10,
p_entry_information11 => p_entry_information11,
p_entry_information12 => p_entry_information12,
p_entry_information13 => p_entry_information13,
p_entry_information14 => p_entry_information14,
p_entry_information15 => p_entry_information15,
p_entry_information16 => p_entry_information16,
p_entry_information17 => p_entry_information17,
p_entry_information18 => p_entry_information18,
p_entry_information19 => p_entry_information19,
p_entry_information20 => p_entry_information20,
p_entry_information21 => p_entry_information21,
p_entry_information22 => p_entry_information22,
p_entry_information23 => p_entry_information23,
p_entry_information24 => p_entry_information24,
p_entry_information25 => p_entry_information25,
p_entry_information26 => p_entry_information26,
p_entry_information27 => p_entry_information27,
p_entry_information28 => p_entry_information28,
p_entry_information29 => p_entry_information29,
p_entry_information30 => p_entry_information30,
p_override_user_ent_chk => p_override_user_ent_chk
);
PROCEDURE delete_element_entry
(p_validate in boolean default false
,p_datetrack_delete_mode in varchar2
,p_effective_date in date
,p_element_entry_id in number
,p_object_version_number in out nocopy number
,p_effective_start_date out nocopy date
,p_effective_end_date out nocopy date
,p_delete_warning out nocopy boolean
) IS
--
-- Declare cursors and local variables
--
l_proc varchar2(72) := g_package||'delete_element_entry';
SELECT effective_start_date,
effective_end_date,
object_version_number
FROM pay_element_entries_f
WHERE p_element_entry_id = element_entry_id
-- bug 675794, added date condition to select correct row
and l_effective_date between effective_start_date
and effective_end_date;
SAVEPOINT delete_element_entry;
pay_element_entry_bk3.delete_element_entry_b
(p_datetrack_delete_mode => p_datetrack_delete_mode
,p_effective_date => l_effective_date
,p_element_entry_id => p_element_entry_id
,p_object_version_number => p_object_version_number
);
(p_module_name => 'DELETE_ELEMENT_ENTRY'
,p_hook_type => 'BP'
);
dt_api.validate_dt_del_mode(p_datetrack_mode => p_datetrack_delete_mode);
,p_datetrack_mode => p_datetrack_delete_mode
,p_validation_start_date => l_validation_start_date
,p_validation_end_date => l_validation_end_date);
hr_entry_api.delete_element_entry
(
p_datetrack_delete_mode,
l_effective_date,
p_element_entry_id
);
pay_element_entry_bk3.delete_element_entry_a
(p_datetrack_delete_mode => p_datetrack_delete_mode
,p_effective_date => l_effective_date
,p_element_entry_id => p_element_entry_id
,p_object_version_number => l_object_version_number
,p_effective_start_date => l_effective_start_date
,p_effective_end_date => l_effective_end_date
,p_delete_warning => p_delete_warning
);
(p_module_name => 'DELETE_ELEMENT_ENTRY'
,p_hook_type => 'AP'
);
ROLLBACK TO delete_element_entry;
END delete_element_entry;
procedure update_validate(
p_element_entry_id in number
,p_effective_date in date
,p_creator_type in varchar2 default hr_api.g_varchar2
,p_creator_id in number default hr_api.g_number
,p_personal_payment_method_id in number default hr_api.g_number
,p_input_value_id1 in number default null
,p_input_value_id2 in number default null
,p_input_value_id3 in number default null
,p_input_value_id4 in number default null
,p_input_value_id5 in number default null
,p_input_value_id6 in number default null
,p_input_value_id7 in number default null
,p_input_value_id8 in number default null
,p_input_value_id9 in number default null
,p_input_value_id10 in number default null
,p_input_value_id11 in number default null
,p_input_value_id12 in number default null
,p_input_value_id13 in number default null
,p_input_value_id14 in number default null
,p_input_value_id15 in number default null
,p_entry_value1 in varchar2 default null
,p_entry_value2 in varchar2 default null
,p_entry_value3 in varchar2 default null
,p_entry_value4 in varchar2 default null
,p_entry_value5 in varchar2 default null
,p_entry_value6 in varchar2 default null
,p_entry_value7 in varchar2 default null
,p_entry_value8 in varchar2 default null
,p_entry_value9 in varchar2 default null
,p_entry_value10 in varchar2 default null
,p_entry_value11 in varchar2 default null
,p_entry_value12 in varchar2 default null
,p_entry_value13 in varchar2 default null
,p_entry_value14 in varchar2 default null
,p_entry_value15 in varchar2 default null
)
is
cursor csr_creator_type (c_element_entry_id in number,
c_effective_date in date) is
select creator_type, count(element_entry_id) total_records
from pay_element_entries_f
where element_entry_id = c_element_entry_id
and c_effective_date between effective_start_date and effective_end_date
group by creator_type;
select count(creator_type)
from pay_element_entries_f
where element_entry_id = c_element_entry_id
and c_effective_date between effective_start_date and effective_end_date
and ( (c_creator_type <> hr_api.g_varchar2
and creator_type <> c_creator_type)
or (c_creator_id <> hr_api.g_number
and ( nvl(creator_id, -1) <> nvl(c_creator_id, -1)
)
)
or (c_personal_payment_method_id <> hr_api.g_number
and (nvl(personal_payment_method_id, -1) <> nvl(c_personal_payment_method_id, -1)
)
)
);
select input_value_id,
screen_entry_value
from pay_element_entry_values_f
where element_entry_id = c_element_entry_id
and c_effective_date between effective_start_date and effective_end_date;
l_proc := 'update_validate';
end update_validate;
PROCEDURE update_element_entry
(p_validate in boolean default false
,p_datetrack_update_mode in varchar2
,p_effective_date in date
,p_business_group_id in number
,p_element_entry_id in number
,p_object_version_number in out nocopy number
,p_cost_allocation_keyflex_id in number default hr_api.g_number
,p_updating_action_id in number default hr_api.g_number
,p_updating_action_type in varchar2 default hr_api.g_varchar2
,p_original_entry_id in number default hr_api.g_number
,p_creator_type in varchar2 default hr_api.g_varchar2
,p_comment_id in number default hr_api.g_number
,p_creator_id in number default hr_api.g_number
,p_reason in varchar2 default hr_api.g_varchar2
,p_subpriority in number default hr_api.g_number
,p_date_earned in date default hr_api.g_date
,p_personal_payment_method_id in number default hr_api.g_number
,p_attribute_category in varchar2 default hr_api.g_varchar2
,p_attribute1 in varchar2 default hr_api.g_varchar2
,p_attribute2 in varchar2 default hr_api.g_varchar2
,p_attribute3 in varchar2 default hr_api.g_varchar2
,p_attribute4 in varchar2 default hr_api.g_varchar2
,p_attribute5 in varchar2 default hr_api.g_varchar2
,p_attribute6 in varchar2 default hr_api.g_varchar2
,p_attribute7 in varchar2 default hr_api.g_varchar2
,p_attribute8 in varchar2 default hr_api.g_varchar2
,p_attribute9 in varchar2 default hr_api.g_varchar2
,p_attribute10 in varchar2 default hr_api.g_varchar2
,p_attribute11 in varchar2 default hr_api.g_varchar2
,p_attribute12 in varchar2 default hr_api.g_varchar2
,p_attribute13 in varchar2 default hr_api.g_varchar2
,p_attribute14 in varchar2 default hr_api.g_varchar2
,p_attribute15 in varchar2 default hr_api.g_varchar2
,p_attribute16 in varchar2 default hr_api.g_varchar2
,p_attribute17 in varchar2 default hr_api.g_varchar2
,p_attribute18 in varchar2 default hr_api.g_varchar2
,p_attribute19 in varchar2 default hr_api.g_varchar2
,p_attribute20 in varchar2 default hr_api.g_varchar2
,p_input_value_id1 in number default null
,p_input_value_id2 in number default null
,p_input_value_id3 in number default null
,p_input_value_id4 in number default null
,p_input_value_id5 in number default null
,p_input_value_id6 in number default null
,p_input_value_id7 in number default null
,p_input_value_id8 in number default null
,p_input_value_id9 in number default null
,p_input_value_id10 in number default null
,p_input_value_id11 in number default null
,p_input_value_id12 in number default null
,p_input_value_id13 in number default null
,p_input_value_id14 in number default null
,p_input_value_id15 in number default null
,p_entry_value1 in varchar2 default null
,p_entry_value2 in varchar2 default null
,p_entry_value3 in varchar2 default null
,p_entry_value4 in varchar2 default null
,p_entry_value5 in varchar2 default null
,p_entry_value6 in varchar2 default null
,p_entry_value7 in varchar2 default null
,p_entry_value8 in varchar2 default null
,p_entry_value9 in varchar2 default null
,p_entry_value10 in varchar2 default null
,p_entry_value11 in varchar2 default null
,p_entry_value12 in varchar2 default null
,p_entry_value13 in varchar2 default null
,p_entry_value14 in varchar2 default null
,p_entry_value15 in varchar2 default null
,p_entry_information_category in varchar2 default hr_api.g_varchar2
,p_entry_information1 in varchar2 default hr_api.g_varchar2
,p_entry_information2 in varchar2 default hr_api.g_varchar2
,p_entry_information3 in varchar2 default hr_api.g_varchar2
,p_entry_information4 in varchar2 default hr_api.g_varchar2
,p_entry_information5 in varchar2 default hr_api.g_varchar2
,p_entry_information6 in varchar2 default hr_api.g_varchar2
,p_entry_information7 in varchar2 default hr_api.g_varchar2
,p_entry_information8 in varchar2 default hr_api.g_varchar2
,p_entry_information9 in varchar2 default hr_api.g_varchar2
,p_entry_information10 in varchar2 default hr_api.g_varchar2
,p_entry_information11 in varchar2 default hr_api.g_varchar2
,p_entry_information12 in varchar2 default hr_api.g_varchar2
,p_entry_information13 in varchar2 default hr_api.g_varchar2
,p_entry_information14 in varchar2 default hr_api.g_varchar2
,p_entry_information15 in varchar2 default hr_api.g_varchar2
,p_entry_information16 in varchar2 default hr_api.g_varchar2
,p_entry_information17 in varchar2 default hr_api.g_varchar2
,p_entry_information18 in varchar2 default hr_api.g_varchar2
,p_entry_information19 in varchar2 default hr_api.g_varchar2
,p_entry_information20 in varchar2 default hr_api.g_varchar2
,p_entry_information21 in varchar2 default hr_api.g_varchar2
,p_entry_information22 in varchar2 default hr_api.g_varchar2
,p_entry_information23 in varchar2 default hr_api.g_varchar2
,p_entry_information24 in varchar2 default hr_api.g_varchar2
,p_entry_information25 in varchar2 default hr_api.g_varchar2
,p_entry_information26 in varchar2 default hr_api.g_varchar2
,p_entry_information27 in varchar2 default hr_api.g_varchar2
,p_entry_information28 in varchar2 default hr_api.g_varchar2
,p_entry_information29 in varchar2 default hr_api.g_varchar2
,p_entry_information30 in varchar2 default hr_api.g_varchar2
,p_override_user_ent_chk in varchar2 default 'N'
,p_effective_start_date out nocopy date
,p_effective_end_date out nocopy date
,p_update_warning out nocopy boolean
) IS
--
-- Declare cursors and local variables
--
l_proc varchar2(72) := g_package||'update_element_entry';
l_check_for_update varchar2(1);
SELECT ee.effective_start_date,
ee.effective_end_date,
ee.object_version_number
FROM pay_element_entries_f ee
WHERE p_element_entry_id = ee.element_entry_id
-- bug 675794, added date condition to select correct row
and l_effective_date between ee.effective_start_date
and ee.effective_end_date;
SELECT ee.creator_type
FROM pay_element_entries_f ee
WHERE p_element_entry_id = ee.element_entry_id;
SELECT el.costable_type
FROM pay_element_entries_f ee
, pay_element_links_f el
WHERE ee.element_entry_id = p_element_entry_id
AND ee.element_link_id = el.element_link_id
AND p_effective_date BETWEEN ee.effective_start_date
AND ee.effective_end_date
AND p_effective_date BETWEEN el.effective_start_date
AND el.effective_end_date;
SAVEPOINT update_element_entry;
pay_element_entry_bk2.update_element_entry_b
(p_datetrack_update_mode => p_datetrack_update_mode
,p_effective_date => l_effective_date
,p_business_group_id => p_business_group_id
,p_element_entry_id => p_element_entry_id
,p_object_version_number => p_object_version_number
,p_cost_allocation_keyflex_id => p_cost_allocation_keyflex_id
,p_updating_action_id => p_updating_action_id
,p_updating_action_type => p_updating_action_type
,p_original_entry_id => p_original_entry_id
,p_creator_type => p_creator_type
,p_comment_id => p_comment_id
,p_creator_id => p_creator_id
,p_reason => p_reason
,p_subpriority => p_subpriority
,p_date_earned => l_date_earned
,p_personal_payment_method_id => p_personal_payment_method_id
,p_attribute_category => p_attribute_category
,p_attribute1 => p_attribute1
,p_attribute2 => p_attribute2
,p_attribute3 => p_attribute3
,p_attribute4 => p_attribute4
,p_attribute5 => p_attribute5
,p_attribute6 => p_attribute6
,p_attribute7 => p_attribute7
,p_attribute8 => p_attribute8
,p_attribute9 => p_attribute9
,p_attribute10 => p_attribute10
,p_attribute11 => p_attribute11
,p_attribute12 => p_attribute12
,p_attribute13 => p_attribute13
,p_attribute14 => p_attribute14
,p_attribute15 => p_attribute15
,p_attribute16 => p_attribute16
,p_attribute17 => p_attribute17
,p_attribute18 => p_attribute18
,p_attribute19 => p_attribute19
,p_attribute20 => p_attribute20
,p_input_value_id1 => p_input_value_id1
,p_input_value_id2 => p_input_value_id2
,p_input_value_id3 => p_input_value_id3
,p_input_value_id4 => p_input_value_id4
,p_input_value_id5 => p_input_value_id5
,p_input_value_id6 => p_input_value_id6
,p_input_value_id7 => p_input_value_id7
,p_input_value_id8 => p_input_value_id8
,p_input_value_id9 => p_input_value_id9
,p_input_value_id10 => p_input_value_id10
,p_input_value_id11 => p_input_value_id11
,p_input_value_id12 => p_input_value_id12
,p_input_value_id13 => p_input_value_id13
,p_input_value_id14 => p_input_value_id14
,p_input_value_id15 => p_input_value_id15
,p_entry_value1 => p_entry_value1
,p_entry_value2 => p_entry_value2
,p_entry_value3 => p_entry_value3
,p_entry_value4 => p_entry_value4
,p_entry_value5 => p_entry_value5
,p_entry_value6 => p_entry_value6
,p_entry_value7 => p_entry_value7
,p_entry_value8 => p_entry_value8
,p_entry_value9 => p_entry_value9
,p_entry_value10 => p_entry_value10
,p_entry_value11 => p_entry_value11
,p_entry_value12 => p_entry_value12
,p_entry_value13 => p_entry_value13
,p_entry_value14 => p_entry_value14
,p_entry_value15 => p_entry_value15
,p_entry_information_category => p_entry_information_category
,p_entry_information1 => p_entry_information1
,p_entry_information2 => p_entry_information2
,p_entry_information3 => p_entry_information3
,p_entry_information4 => p_entry_information4
,p_entry_information5 => p_entry_information5
,p_entry_information6 => p_entry_information6
,p_entry_information7 => p_entry_information7
,p_entry_information8 => p_entry_information8
,p_entry_information9 => p_entry_information9
,p_entry_information10 => p_entry_information10
,p_entry_information11 => p_entry_information11
,p_entry_information12 => p_entry_information12
,p_entry_information13 => p_entry_information13
,p_entry_information14 => p_entry_information14
,p_entry_information15 => p_entry_information15
,p_entry_information16 => p_entry_information16
,p_entry_information17 => p_entry_information17
,p_entry_information18 => p_entry_information18
,p_entry_information19 => p_entry_information19
,p_entry_information20 => p_entry_information20
,p_entry_information21 => p_entry_information21
,p_entry_information22 => p_entry_information22
,p_entry_information23 => p_entry_information23
,p_entry_information24 => p_entry_information24
,p_entry_information25 => p_entry_information25
,p_entry_information26 => p_entry_information26
,p_entry_information27 => p_entry_information27
,p_entry_information28 => p_entry_information28
,p_entry_information29 => p_entry_information29
,p_entry_information30 => p_entry_information30
,p_override_user_ent_chk => p_override_user_ent_chk
);
(p_module_name => 'UPDATE_ELEMENT_ENTRY'
,p_hook_type => 'BP'
);
dt_api.validate_dt_upd_mode(p_datetrack_mode => p_datetrack_update_mode);
update_validate(p_element_entry_id => p_element_entry_id
,p_effective_date => l_effective_date
,p_creator_type => p_creator_type
,p_creator_id => p_creator_id
,p_personal_payment_method_id => p_personal_payment_method_id
,p_input_value_id1 => p_input_value_id1
,p_input_value_id2 => p_input_value_id2
,p_input_value_id3 => p_input_value_id3
,p_input_value_id4 => p_input_value_id4
,p_input_value_id5 => p_input_value_id5
,p_input_value_id6 => p_input_value_id6
,p_input_value_id7 => p_input_value_id7
,p_input_value_id8 => p_input_value_id8
,p_input_value_id9 => p_input_value_id9
,p_input_value_id10 => p_input_value_id10
,p_input_value_id11 => p_input_value_id11
,p_input_value_id12 => p_input_value_id12
,p_input_value_id13 => p_input_value_id13
,p_input_value_id14 => p_input_value_id14
,p_input_value_id15 => p_input_value_id15
,p_entry_value1 => p_entry_value1
,p_entry_value2 => p_entry_value2
,p_entry_value3 => p_entry_value3
,p_entry_value4 => p_entry_value4
,p_entry_value5 => p_entry_value5
,p_entry_value6 => p_entry_value6
,p_entry_value7 => p_entry_value7
,p_entry_value8 => p_entry_value8
,p_entry_value9 => p_entry_value9
,p_entry_value10 => p_entry_value10
,p_entry_value11 => p_entry_value11
,p_entry_value12 => p_entry_value12
,p_entry_value13 => p_entry_value13
,p_entry_value14 => p_entry_value14
,p_entry_value15 => p_entry_value15
);
,p_datetrack_mode => p_datetrack_update_mode
,p_validation_start_date => l_validation_start_date
,p_validation_end_date => l_validation_end_date);
l_check_for_update := fnd_profile.value('PAY_CHECK_UPD_ELE_ENTRY_API');
if l_check_for_update is null then
l_check_for_update := 'Y';
hr_entry_api.update_element_entry
(
p_dt_update_mode => p_datetrack_update_mode,
p_session_date => l_effective_date,
p_check_for_update => l_check_for_update, -- Bug 9456999
p_element_entry_id => l_element_entry_id,
p_cost_allocation_keyflex_id => p_cost_allocation_keyflex_id,
p_updating_action_id => p_updating_action_id,
p_updating_action_type => p_updating_action_type,
p_original_entry_id => p_original_entry_id,
p_creator_type => p_creator_type,
p_comment_id => p_comment_id,
p_creator_id => p_creator_id,
p_reason => p_reason,
p_subpriority => p_subpriority,
p_date_earned => l_date_earned,
p_personal_payment_method_id => p_personal_payment_method_id,
p_attribute_category => p_attribute_category,
p_attribute1 => p_attribute1,
p_attribute2 => p_attribute2,
p_attribute3 => p_attribute3,
p_attribute4 => p_attribute4,
p_attribute5 => p_attribute5,
p_attribute6 => p_attribute6,
p_attribute7 => p_attribute7,
p_attribute8 => p_attribute8,
p_attribute9 => p_attribute9,
p_attribute10 => p_attribute10,
p_attribute11 => p_attribute11,
p_attribute12 => p_attribute12,
p_attribute13 => p_attribute13,
p_attribute14 => p_attribute14,
p_attribute15 => p_attribute15,
p_attribute16 => p_attribute16,
p_attribute17 => p_attribute17,
p_attribute18 => p_attribute18,
p_attribute19 => p_attribute19,
p_attribute20 => p_attribute20,
p_input_value_id1 => p_input_value_id1,
p_input_value_id2 => p_input_value_id2,
p_input_value_id3 => p_input_value_id3,
p_input_value_id4 => p_input_value_id4,
p_input_value_id5 => p_input_value_id5,
p_input_value_id6 => p_input_value_id6,
p_input_value_id7 => p_input_value_id7,
p_input_value_id8 => p_input_value_id8,
p_input_value_id9 => p_input_value_id9,
p_input_value_id10 => p_input_value_id10,
p_input_value_id11 => p_input_value_id11,
p_input_value_id12 => p_input_value_id12,
p_input_value_id13 => p_input_value_id13,
p_input_value_id14 => p_input_value_id14,
p_input_value_id15 => p_input_value_id15,
p_entry_value1 => l_entry_value1,
p_entry_value2 => l_entry_value2,
p_entry_value3 => l_entry_value3,
p_entry_value4 => l_entry_value4,
p_entry_value5 => l_entry_value5,
p_entry_value6 => l_entry_value6,
p_entry_value7 => l_entry_value7,
p_entry_value8 => l_entry_value8,
p_entry_value9 => l_entry_value9,
p_entry_value10 => l_entry_value10,
p_entry_value11 => l_entry_value11,
p_entry_value12 => l_entry_value12,
p_entry_value13 => l_entry_value13,
p_entry_value14 => l_entry_value14,
p_entry_value15 => l_entry_value15,
p_entry_information_category => p_entry_information_category,
p_entry_information1 => p_entry_information1,
p_entry_information2 => p_entry_information2,
p_entry_information3 => p_entry_information3,
p_entry_information4 => p_entry_information4,
p_entry_information5 => p_entry_information5,
p_entry_information6 => p_entry_information6,
p_entry_information7 => p_entry_information7,
p_entry_information8 => p_entry_information8,
p_entry_information9 => p_entry_information9,
p_entry_information10 => p_entry_information10,
p_entry_information11 => p_entry_information11,
p_entry_information12 => p_entry_information12,
p_entry_information13 => p_entry_information13,
p_entry_information14 => p_entry_information14,
p_entry_information15 => p_entry_information15,
p_entry_information16 => p_entry_information16,
p_entry_information17 => p_entry_information17,
p_entry_information18 => p_entry_information18,
p_entry_information19 => p_entry_information19,
p_entry_information20 => p_entry_information20,
p_entry_information21 => p_entry_information21,
p_entry_information22 => p_entry_information22,
p_entry_information23 => p_entry_information23,
p_entry_information24 => p_entry_information24,
p_entry_information25 => p_entry_information25,
p_entry_information26 => p_entry_information26,
p_entry_information27 => p_entry_information27,
p_entry_information28 => p_entry_information28,
p_entry_information29 => p_entry_information29,
p_entry_information30 => p_entry_information30,
p_override_user_ent_chk => p_override_user_ent_chk
);
pay_element_entry_bk2.update_element_entry_a
(p_datetrack_update_mode => p_datetrack_update_mode
,p_effective_date => l_effective_date
,p_business_group_id => p_business_group_id
,p_element_entry_id => p_element_entry_id
,p_object_version_number => l_object_version_number
,p_cost_allocation_keyflex_id => p_cost_allocation_keyflex_id
,p_updating_action_id => p_updating_action_id
,p_updating_action_type => p_updating_action_type
,p_original_entry_id => p_original_entry_id
,p_creator_type => p_creator_type
,p_comment_id => p_comment_id
,p_creator_id => p_creator_id
,p_reason => p_reason
,p_subpriority => p_subpriority
,p_date_earned => l_date_earned
,p_personal_payment_method_id => p_personal_payment_method_id
,p_attribute_category => p_attribute_category
,p_attribute1 => p_attribute1
,p_attribute2 => p_attribute2
,p_attribute3 => p_attribute3
,p_attribute4 => p_attribute4
,p_attribute5 => p_attribute5
,p_attribute6 => p_attribute6
,p_attribute7 => p_attribute7
,p_attribute8 => p_attribute8
,p_attribute9 => p_attribute9
,p_attribute10 => p_attribute10
,p_attribute11 => p_attribute11
,p_attribute12 => p_attribute12
,p_attribute13 => p_attribute13
,p_attribute14 => p_attribute14
,p_attribute15 => p_attribute15
,p_attribute16 => p_attribute16
,p_attribute17 => p_attribute17
,p_attribute18 => p_attribute18
,p_attribute19 => p_attribute19
,p_attribute20 => p_attribute20
,p_input_value_id1 => p_input_value_id1
,p_input_value_id2 => p_input_value_id2
,p_input_value_id3 => p_input_value_id3
,p_input_value_id4 => p_input_value_id4
,p_input_value_id5 => p_input_value_id5
,p_input_value_id6 => p_input_value_id6
,p_input_value_id7 => p_input_value_id7
,p_input_value_id8 => p_input_value_id8
,p_input_value_id9 => p_input_value_id9
,p_input_value_id10 => p_input_value_id10
,p_input_value_id11 => p_input_value_id11
,p_input_value_id12 => p_input_value_id12
,p_input_value_id13 => p_input_value_id13
,p_input_value_id14 => p_input_value_id14
,p_input_value_id15 => p_input_value_id15
,p_entry_value1 => p_entry_value1
,p_entry_value2 => p_entry_value2
,p_entry_value3 => p_entry_value3
,p_entry_value4 => p_entry_value4
,p_entry_value5 => p_entry_value5
,p_entry_value6 => p_entry_value6
,p_entry_value7 => p_entry_value7
,p_entry_value8 => p_entry_value8
,p_entry_value9 => p_entry_value9
,p_entry_value10 => p_entry_value10
,p_entry_value11 => p_entry_value11
,p_entry_value12 => p_entry_value12
,p_entry_value13 => p_entry_value13
,p_entry_value14 => p_entry_value14
,p_entry_value15 => p_entry_value15
,p_entry_information_category => p_entry_information_category
,p_entry_information1 => p_entry_information1
,p_entry_information2 => p_entry_information2
,p_entry_information3 => p_entry_information3
,p_entry_information4 => p_entry_information4
,p_entry_information5 => p_entry_information5
,p_entry_information6 => p_entry_information6
,p_entry_information7 => p_entry_information7
,p_entry_information8 => p_entry_information8
,p_entry_information9 => p_entry_information9
,p_entry_information10 => p_entry_information10
,p_entry_information11 => p_entry_information11
,p_entry_information12 => p_entry_information12
,p_entry_information13 => p_entry_information13
,p_entry_information14 => p_entry_information14
,p_entry_information15 => p_entry_information15
,p_entry_information16 => p_entry_information16
,p_entry_information17 => p_entry_information17
,p_entry_information18 => p_entry_information18
,p_entry_information19 => p_entry_information19
,p_entry_information20 => p_entry_information20
,p_entry_information21 => p_entry_information21
,p_entry_information22 => p_entry_information22
,p_entry_information23 => p_entry_information23
,p_entry_information24 => p_entry_information24
,p_entry_information25 => p_entry_information25
,p_entry_information26 => p_entry_information26
,p_entry_information27 => p_entry_information27
,p_entry_information28 => p_entry_information28
,p_entry_information29 => p_entry_information29
,p_entry_information30 => p_entry_information30
,p_override_user_ent_chk => p_override_user_ent_chk
,p_effective_start_date => l_effective_start_date
,p_effective_end_date => l_effective_end_date
,p_update_warning => p_update_warning
);
(p_module_name => 'UPDATE_ELEMENT_ENTRY'
,p_hook_type => 'AP'
);
ROLLBACK TO update_element_entry;
ROLLBACK TO update_element_entry;
p_update_warning := null;
END update_element_entry;