DBA Data[Home] [Help]

APPS.AME_MAN_INS dependencies on HR_API

Line 129: If (p_datetrack_mode <> hr_api.g_insert) then

125: --
126: -- If the datetrack_mode is not INSERT then we must populate the WHO
127: -- columns with the 'old' creation values and 'new' updated values.
128: --
129: If (p_datetrack_mode <> hr_api.g_insert) then
130: hr_utility.set_location(l_proc, 10);
131: --
132: -- Get the object version number for the insert
133: --

Line 224: When hr_api.check_integrity_violated Then

220: --
221: hr_utility.set_location(' Leaving:'||l_proc, 15);
222: --
223: Exception
224: When hr_api.check_integrity_violated Then
225: -- A check constraint has been violated
226: --
227: ame_man_shd.constraint_error
228: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

224: When hr_api.check_integrity_violated Then
225: -- A check constraint has been violated
226: --
227: ame_man_shd.constraint_error
228: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
229: When hr_api.unique_integrity_violated Then
230: -- Unique integrity has been violated
231: --
232: ame_man_shd.constraint_error

Line 229: When hr_api.unique_integrity_violated Then

225: -- A check constraint has been violated
226: --
227: ame_man_shd.constraint_error
228: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
229: When hr_api.unique_integrity_violated Then
230: -- Unique integrity has been violated
231: --
232: ame_man_shd.constraint_error
233: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

229: When hr_api.unique_integrity_violated Then
230: -- Unique integrity has been violated
231: --
232: ame_man_shd.constraint_error
233: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
234: When Others Then
235: --
236: Raise;
237: End dt_insert_dml;

Line 442: when hr_api.cannot_find_prog_unit then

438: );
439: --
440: exception
441: --
442: when hr_api.cannot_find_prog_unit then
443: --
444: hr_api.cannot_find_prog_unit_error
445: (p_module_name => 'AME_MANDATORY_ATTRIBUTES'
446: ,p_hook_type => 'AI');

Line 444: hr_api.cannot_find_prog_unit_error

440: exception
441: --
442: when hr_api.cannot_find_prog_unit then
443: --
444: hr_api.cannot_find_prog_unit_error
445: (p_module_name => 'AME_MANDATORY_ATTRIBUTES'
446: ,p_hook_type => 'AI');
447: --
448: end;

Line 477: -- another user. This will raise the HR_Api.Object_Locked exception.

473: --
474: -- Post Failure:
475: -- The Lck process can fail for:
476: -- 1) When attempting to lock the row the row could already be locked by
477: -- another user. This will raise the HR_Api.Object_Locked exception.
478: -- 2) When attempting to the lock the parent which doesn't exist.
479: -- For the entity to be locked the parent must exist!
480: --
481: -- Developer Implementation Notes:

Line 541: l_datetrack_mode varchar2(30) := hr_api.g_insert;

537: ,p_rec in out nocopy ame_man_shd.g_rec_type
538: ) is
539: --
540: l_proc varchar2(72) := g_package||'ins';
541: l_datetrack_mode varchar2(30) := hr_api.g_insert;
542: l_validation_start_date date;
543: l_validation_end_date date;
544: --
545: Begin