DBA Data[Home] [Help]

APPS.HR_TIC_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_tic_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_tic_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_tic_shd.constraint_error

Line 89: When hr_api.parent_integrity_violated Then

85: -- A check constraint has been violated
86: --
87: hr_tic_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_tic_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_tic_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_tic_shd.constraint_error

Line 94: When hr_api.unique_integrity_violated Then

90: -- Parent integrity has been violated
91: --
92: hr_tic_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_tic_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_tic_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 213: when hr_api.cannot_find_prog_unit then

209: );
210: --
211: exception
212: --
213: when hr_api.cannot_find_prog_unit then
214: --
215: hr_api.cannot_find_prog_unit_error
216: (p_module_name => 'HR_TEMPLATE_ITEM_CONTEXTS_B'
217: ,p_hook_type => 'AU');

Line 215: hr_api.cannot_find_prog_unit_error

211: exception
212: --
213: when hr_api.cannot_find_prog_unit then
214: --
215: hr_api.cannot_find_prog_unit_error
216: (p_module_name => 'HR_TEMPLATE_ITEM_CONTEXTS_B'
217: ,p_hook_type => 'AU');
218: --
219: end;

Line 278: If (p_rec.template_item_id = hr_api.g_number) then

274: -- p_rec plsql record structure
275: -- to see if a system default is being used. If a system default
276: -- is being used then we must set to the 'current' argument value.
277: --
278: If (p_rec.template_item_id = hr_api.g_number) then
279: p_rec.template_item_id :=
280: hr_tic_shd.g_old_rec.template_item_id;
281: End If;
282: If (p_rec.context_type = hr_api.g_varchar2) then

Line 282: If (p_rec.context_type = hr_api.g_varchar2) then

278: If (p_rec.template_item_id = hr_api.g_number) then
279: p_rec.template_item_id :=
280: hr_tic_shd.g_old_rec.template_item_id;
281: End If;
282: If (p_rec.context_type = hr_api.g_varchar2) then
283: p_rec.context_type :=
284: hr_tic_shd.g_old_rec.context_type;
285: End If;
286: If (p_rec.item_context_id = hr_api.g_number) then

Line 286: If (p_rec.item_context_id = hr_api.g_number) then

282: If (p_rec.context_type = hr_api.g_varchar2) then
283: p_rec.context_type :=
284: hr_tic_shd.g_old_rec.context_type;
285: End If;
286: If (p_rec.item_context_id = hr_api.g_number) then
287: p_rec.item_context_id :=
288: hr_tic_shd.g_old_rec.item_context_id;
289: End If;
290: --

Line 344: ,p_template_item_id in number default hr_api.g_number

340: -- ----------------------------------------------------------------------------
341: Procedure upd
342: (p_template_item_context_id in number
343: ,p_object_version_number in out nocopy number
344: ,p_template_item_id in number default hr_api.g_number
345: ,p_context_type in varchar2 default hr_api.g_varchar2
346: ,p_item_context_id in number default hr_api.g_number
347: ) is
348: --

Line 345: ,p_context_type in varchar2 default hr_api.g_varchar2

341: Procedure upd
342: (p_template_item_context_id in number
343: ,p_object_version_number in out nocopy number
344: ,p_template_item_id in number default hr_api.g_number
345: ,p_context_type in varchar2 default hr_api.g_varchar2
346: ,p_item_context_id in number default hr_api.g_number
347: ) is
348: --
349: l_rec hr_tic_shd.g_rec_type;

Line 346: ,p_item_context_id in number default hr_api.g_number

342: (p_template_item_context_id in number
343: ,p_object_version_number in out nocopy number
344: ,p_template_item_id in number default hr_api.g_number
345: ,p_context_type in varchar2 default hr_api.g_varchar2
346: ,p_item_context_id in number default hr_api.g_number
347: ) is
348: --
349: l_rec hr_tic_shd.g_rec_type;
350: l_proc varchar2(72) := g_package||'upd';