DBA Data[Home] [Help]

APPS.HR_HRC_UPD dependencies on HR_API

Line 84: When hr_api.check_integrity_violated Then

80: --
81: hr_utility.set_location(' Leaving:'||l_proc, 10);
82: --
83: Exception
84: When hr_api.check_integrity_violated Then
85: -- A check constraint has been violated
86: --
87: hr_hrc_shd.constraint_error
88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

84: When hr_api.check_integrity_violated Then
85: -- A check constraint has been violated
86: --
87: hr_hrc_shd.constraint_error
88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated
91: --
92: hr_hrc_shd.constraint_error

Line 89: When hr_api.parent_integrity_violated Then

85: -- A check constraint has been violated
86: --
87: hr_hrc_shd.constraint_error
88: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated
91: --
92: hr_hrc_shd.constraint_error
93: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

89: When hr_api.parent_integrity_violated Then
90: -- Parent integrity has been violated
91: --
92: hr_hrc_shd.constraint_error
93: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
94: When hr_api.unique_integrity_violated Then
95: -- Unique integrity has been violated
96: --
97: hr_hrc_shd.constraint_error

Line 94: When hr_api.unique_integrity_violated Then

90: -- Parent integrity has been violated
91: --
92: hr_hrc_shd.constraint_error
93: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
94: When hr_api.unique_integrity_violated Then
95: -- Unique integrity has been violated
96: --
97: hr_hrc_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

94: When hr_api.unique_integrity_violated Then
95: -- Unique integrity has been violated
96: --
97: hr_hrc_shd.constraint_error
98: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
99: When Others Then
100: --
101: Raise;
102: End update_dml;

Line 207: when hr_api.cannot_find_prog_unit then

203: );
204: --
205: exception
206: --
207: when hr_api.cannot_find_prog_unit then
208: --
209: hr_api.cannot_find_prog_unit_error
210: (p_module_name => 'HR_KI_HIERARCHIES'
211: ,p_hook_type => 'AU');

Line 209: hr_api.cannot_find_prog_unit_error

205: exception
206: --
207: when hr_api.cannot_find_prog_unit then
208: --
209: hr_api.cannot_find_prog_unit_error
210: (p_module_name => 'HR_KI_HIERARCHIES'
211: ,p_hook_type => 'AU');
212: --
213: end;

Line 272: If (p_rec.hierarchy_key = hr_api.g_varchar2) then

268: -- p_rec plsql record structure
269: -- to see if a system default is being used. If a system default
270: -- is being used then we must set to the 'current' argument value.
271: --
272: If (p_rec.hierarchy_key = hr_api.g_varchar2) then
273: p_rec.hierarchy_key :=
274: hr_hrc_shd.g_old_rec.hierarchy_key;
275: End If;
276: If (p_rec.parent_hierarchy_id = hr_api.g_number) then

Line 276: If (p_rec.parent_hierarchy_id = hr_api.g_number) then

272: If (p_rec.hierarchy_key = hr_api.g_varchar2) then
273: p_rec.hierarchy_key :=
274: hr_hrc_shd.g_old_rec.hierarchy_key;
275: End If;
276: If (p_rec.parent_hierarchy_id = hr_api.g_number) then
277: p_rec.parent_hierarchy_id :=
278: hr_hrc_shd.g_old_rec.parent_hierarchy_id;
279: End If;
280: --

Line 340: ,p_parent_hierarchy_id in number default hr_api.g_number

336: -- ----------------------------------------------------------------------------
337: Procedure upd
338: (p_hierarchy_id in number
339: ,p_object_version_number in out nocopy number
340: ,p_parent_hierarchy_id in number default hr_api.g_number
341: ) is
342: --
343: l_rec hr_hrc_shd.g_rec_type;
344: l_proc varchar2(72) := g_package||'upd';

Line 355: ,hr_api.g_varchar2

351: --
352: l_rec :=
353: hr_hrc_shd.convert_args
354: (p_hierarchy_id
355: ,hr_api.g_varchar2
356: ,p_parent_hierarchy_id
357: ,p_object_version_number
358: );
359: --