DBA Data[Home] [Help]

APPS.HXC_APC_UPD dependencies on HR_API

Line 93: When hr_api.check_integrity_violated Then

89: hr_utility.set_location(' Leaving:'||l_proc, 10);
90: end if;
91: --
92: Exception
93: When hr_api.check_integrity_violated Then
94: -- A check constraint has been violated
95: hxc_apc_shd.g_api_dml := false; -- Unset the api dml status
96: hxc_apc_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

Line 97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

93: When hr_api.check_integrity_violated Then
94: -- A check constraint has been violated
95: hxc_apc_shd.g_api_dml := false; -- Unset the api dml status
96: hxc_apc_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When hr_api.parent_integrity_violated Then
99: -- Parent integrity has been violated
100: hxc_apc_shd.g_api_dml := false; -- Unset the api dml status
101: hxc_apc_shd.constraint_error

Line 98: When hr_api.parent_integrity_violated Then

94: -- A check constraint has been violated
95: hxc_apc_shd.g_api_dml := false; -- Unset the api dml status
96: hxc_apc_shd.constraint_error
97: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
98: When hr_api.parent_integrity_violated Then
99: -- Parent integrity has been violated
100: hxc_apc_shd.g_api_dml := false; -- Unset the api dml status
101: hxc_apc_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

Line 102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

98: When hr_api.parent_integrity_violated Then
99: -- Parent integrity has been violated
100: hxc_apc_shd.g_api_dml := false; -- Unset the api dml status
101: hxc_apc_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When hr_api.unique_integrity_violated Then
104: -- Unique integrity has been violated
105: hxc_apc_shd.g_api_dml := false; -- Unset the api dml status
106: hxc_apc_shd.constraint_error

Line 103: When hr_api.unique_integrity_violated Then

99: -- Parent integrity has been violated
100: hxc_apc_shd.g_api_dml := false; -- Unset the api dml status
101: hxc_apc_shd.constraint_error
102: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
103: When hr_api.unique_integrity_violated Then
104: -- Unique integrity has been violated
105: hxc_apc_shd.g_api_dml := false; -- Unset the api dml status
106: hxc_apc_shd.constraint_error
107: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

Line 107: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

103: When hr_api.unique_integrity_violated Then
104: -- Unique integrity has been violated
105: hxc_apc_shd.g_api_dml := false; -- Unset the api dml status
106: hxc_apc_shd.constraint_error
107: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
108: When Others Then
109: hxc_apc_shd.g_api_dml := false; -- Unset the api dml status
110: Raise;
111: End update_dml;

Line 230: when hr_api.cannot_find_prog_unit then

226: );
227: --
228: exception
229: --
230: when hr_api.cannot_find_prog_unit then
231: --
232: hr_api.cannot_find_prog_unit_error
233: (p_module_name => 'HXC_APPROVAL_PERIOD_COMPS'
234: ,p_hook_type => 'AU');

Line 232: hr_api.cannot_find_prog_unit_error

228: exception
229: --
230: when hr_api.cannot_find_prog_unit then
231: --
232: hr_api.cannot_find_prog_unit_error
233: (p_module_name => 'HXC_APPROVAL_PERIOD_COMPS'
234: ,p_hook_type => 'AU');
235: --
236: end;

Line 297: If (p_rec.time_recipient_id = hr_api.g_number) then

293: -- p_rec plsql record structure
294: -- to see if a system default is being used. If a system default
295: -- is being used then we must set to the 'current' argument value.
296: --
297: If (p_rec.time_recipient_id = hr_api.g_number) then
298: p_rec.time_recipient_id :=
299: hxc_apc_shd.g_old_rec.time_recipient_id;
300: End If;
301: If (p_rec.recurring_period_id = hr_api.g_number) then

Line 301: If (p_rec.recurring_period_id = hr_api.g_number) then

297: If (p_rec.time_recipient_id = hr_api.g_number) then
298: p_rec.time_recipient_id :=
299: hxc_apc_shd.g_old_rec.time_recipient_id;
300: End If;
301: If (p_rec.recurring_period_id = hr_api.g_number) then
302: p_rec.recurring_period_id :=
303: hxc_apc_shd.g_old_rec.recurring_period_id;
304: End If;
305: If (p_rec.approval_period_set_id = hr_api.g_number) then

Line 305: If (p_rec.approval_period_set_id = hr_api.g_number) then

301: If (p_rec.recurring_period_id = hr_api.g_number) then
302: p_rec.recurring_period_id :=
303: hxc_apc_shd.g_old_rec.recurring_period_id;
304: End If;
305: If (p_rec.approval_period_set_id = hr_api.g_number) then
306: p_rec.approval_period_set_id :=
307: hxc_apc_shd.g_old_rec.approval_period_set_id;
308: End If;
309: --

Line 371: ,p_time_recipient_id in number default hr_api.g_number

367: Procedure upd
368: (p_effective_date in date
369: ,p_approval_period_comp_id in number
370: ,p_object_version_number in out nocopy number
371: ,p_time_recipient_id in number default hr_api.g_number
372: ,p_recurring_period_id in number default hr_api.g_number
373: ,p_approval_period_set_id in number default hr_api.g_number
374: ) is
375: --

Line 372: ,p_recurring_period_id in number default hr_api.g_number

368: (p_effective_date in date
369: ,p_approval_period_comp_id in number
370: ,p_object_version_number in out nocopy number
371: ,p_time_recipient_id in number default hr_api.g_number
372: ,p_recurring_period_id in number default hr_api.g_number
373: ,p_approval_period_set_id in number default hr_api.g_number
374: ) is
375: --
376: l_rec hxc_apc_shd.g_rec_type;

Line 373: ,p_approval_period_set_id in number default hr_api.g_number

369: ,p_approval_period_comp_id in number
370: ,p_object_version_number in out nocopy number
371: ,p_time_recipient_id in number default hr_api.g_number
372: ,p_recurring_period_id in number default hr_api.g_number
373: ,p_approval_period_set_id in number default hr_api.g_number
374: ) is
375: --
376: l_rec hxc_apc_shd.g_rec_type;
377: l_proc varchar2(72);