DBA Data[Home] [Help]

APPS.BEN_ESW_INS dependencies on HR_API

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

111: --
112: -- If the datetrack_mode is not INSERT then we must populate the WHO
113: -- columns with the 'old' creation values and 'new' updated values.
114: --
115: If (p_datetrack_mode <> hr_api.g_insert) then
116: hr_utility.set_location(l_proc, 10);
117: --
118: -- Get the object version number for the insert
119: --

Line 199: When hr_api.check_integrity_violated Then

195: --
196: hr_utility.set_location(' Leaving:'||l_proc, 15);
197: --
198: Exception
199: When hr_api.check_integrity_violated Then
200: -- A check constraint has been violated
201: --
202: ben_esw_shd.constraint_error
203: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

199: When hr_api.check_integrity_violated Then
200: -- A check constraint has been violated
201: --
202: ben_esw_shd.constraint_error
203: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
204: When hr_api.unique_integrity_violated Then
205: -- Unique integrity has been violated
206: --
207: ben_esw_shd.constraint_error

Line 204: When hr_api.unique_integrity_violated Then

200: -- A check constraint has been violated
201: --
202: ben_esw_shd.constraint_error
203: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
204: When hr_api.unique_integrity_violated Then
205: -- Unique integrity has been violated
206: --
207: ben_esw_shd.constraint_error
208: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

204: When hr_api.unique_integrity_violated Then
205: -- Unique integrity has been violated
206: --
207: ben_esw_shd.constraint_error
208: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
209: When Others Then
210: --
211: Raise;
212: End dt_insert_dml;

Line 423: when hr_api.cannot_find_prog_unit then

419: );
420: --
421: exception
422: --
423: when hr_api.cannot_find_prog_unit then
424: --
425: hr_api.cannot_find_prog_unit_error
426: (p_module_name => 'BEN_ELIG_SCRE_WTG_F'
427: ,p_hook_type => 'AI');

Line 425: hr_api.cannot_find_prog_unit_error

421: exception
422: --
423: when hr_api.cannot_find_prog_unit then
424: --
425: hr_api.cannot_find_prog_unit_error
426: (p_module_name => 'BEN_ELIG_SCRE_WTG_F'
427: ,p_hook_type => 'AI');
428: --
429: end;

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

454: --
455: -- Post Failure:
456: -- The Lck process can fail for:
457: -- 1) When attempting to lock the row the row could already be locked by
458: -- another user. This will raise the HR_Api.Object_Locked exception.
459: -- 2) When attempting to the lock the parent which doesn't exist.
460: -- For the entity to be locked the parent must exist!
461: --
462: -- Developer Implementation Notes:

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

513: ,p_rec in out nocopy ben_esw_shd.g_rec_type
514: ) is
515: --
516: l_proc varchar2(72) := g_package||'ins';
517: l_datetrack_mode varchar2(30) := hr_api.g_insert;
518: l_validation_start_date date;
519: l_validation_end_date date;
520: --
521: Begin