90: hr_utility.set_location(' Leaving:'||l_proc, 10);
91: end if;
92: --
93: Exception
94: When hr_api.check_integrity_violated Then
95: -- A check constraint has been violated
96: --
97: hxc_hrt_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
94: When hr_api.check_integrity_violated Then
95: -- A check constraint has been violated
96: --
97: hxc_hrt_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated
101: --
102: hxc_hrt_shd.constraint_error
95: -- A check constraint has been violated
96: --
97: hxc_hrt_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated
101: --
102: hxc_hrt_shd.constraint_error
103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When hr_api.parent_integrity_violated Then
100: -- Parent integrity has been violated
101: --
102: hxc_hrt_shd.constraint_error
103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated
106: --
107: hxc_hrt_shd.constraint_error
100: -- Parent integrity has been violated
101: --
102: hxc_hrt_shd.constraint_error
103: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated
106: --
107: hxc_hrt_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
104: When hr_api.unique_integrity_violated Then
105: -- Unique integrity has been violated
106: --
107: hxc_hrt_shd.constraint_error
108: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
109: When Others Then
110: --
111: Raise;
112: End update_dml;
227: );
228: --
229: exception
230: --
231: when hr_api.cannot_find_prog_unit then
232: --
233: hr_api.cannot_find_prog_unit_error
234: (p_module_name => 'HXC_RETRIEVAL_PROCESSES'
235: ,p_hook_type => 'AU');
229: exception
230: --
231: when hr_api.cannot_find_prog_unit then
232: --
233: hr_api.cannot_find_prog_unit_error
234: (p_module_name => 'HXC_RETRIEVAL_PROCESSES'
235: ,p_hook_type => 'AU');
236: --
237: end;
294: -- p_rec plsql record structure
295: -- to see if a system default is being used. If a system default
296: -- is being used then we must set to the 'current' argument value.
297: --
298: If (p_rec.time_recipient_id = hr_api.g_number) then
299: p_rec.time_recipient_id :=
300: hxc_hrt_shd.g_old_rec.time_recipient_id;
301: End If;
302: If (p_rec.name = hr_api.g_varchar2) then
298: If (p_rec.time_recipient_id = hr_api.g_number) then
299: p_rec.time_recipient_id :=
300: hxc_hrt_shd.g_old_rec.time_recipient_id;
301: End If;
302: If (p_rec.name = hr_api.g_varchar2) then
303: p_rec.name :=
304: hxc_hrt_shd.g_old_rec.name;
305: End If;
306: If (p_rec.mapping_id = hr_api.g_number) then
302: If (p_rec.name = hr_api.g_varchar2) then
303: p_rec.name :=
304: hxc_hrt_shd.g_old_rec.name;
305: End If;
306: If (p_rec.mapping_id = hr_api.g_number) then
307: p_rec.mapping_id :=
308: hxc_hrt_shd.g_old_rec.mapping_id;
309: End If;
310: --
368: Procedure upd
369: (p_effective_date in date
370: ,p_retrieval_process_id in number
371: ,p_object_version_number in out nocopy number
372: ,p_time_recipient_id in number default hr_api.g_number
373: ,p_name in varchar2 default hr_api.g_varchar2
374: ,p_mapping_id in number default hr_api.g_number
375: ) is
376: --
369: (p_effective_date in date
370: ,p_retrieval_process_id in number
371: ,p_object_version_number in out nocopy number
372: ,p_time_recipient_id in number default hr_api.g_number
373: ,p_name in varchar2 default hr_api.g_varchar2
374: ,p_mapping_id in number default hr_api.g_number
375: ) is
376: --
377: l_rec hxc_hrt_shd.g_rec_type;
370: ,p_retrieval_process_id in number
371: ,p_object_version_number in out nocopy number
372: ,p_time_recipient_id in number default hr_api.g_number
373: ,p_name in varchar2 default hr_api.g_varchar2
374: ,p_mapping_id in number default hr_api.g_number
375: ) is
376: --
377: l_rec hxc_hrt_shd.g_rec_type;
378: l_proc varchar2(72);