DBA Data[Home] [Help]

APPS.PQH_ACC_INS dependencies on HR_API

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

121: --
122: -- If the datetrack_mode is not INSERT then we must populate the WHO
123: -- columns with the 'old' creation values and 'new' updated values.
124: --
125: If (p_datetrack_mode <> hr_api.g_insert) then
126: hr_utility.set_location(l_proc, 10);
127: --
128: -- Select the 'old' created values
129: --

Line 363: When hr_api.check_integrity_violated Then

359: --
360: hr_utility.set_location(' Leaving:'||l_proc, 15);
361: --
362: Exception
363: When hr_api.check_integrity_violated Then
364: -- A check constraint has been violated
365: --
366: pqh_acc_shd.constraint_error
367: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

363: When hr_api.check_integrity_violated Then
364: -- A check constraint has been violated
365: --
366: pqh_acc_shd.constraint_error
367: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
368: When hr_api.unique_integrity_violated Then
369: -- Unique integrity has been violated
370: --
371: pqh_acc_shd.constraint_error

Line 368: When hr_api.unique_integrity_violated Then

364: -- A check constraint has been violated
365: --
366: pqh_acc_shd.constraint_error
367: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
368: When hr_api.unique_integrity_violated Then
369: -- Unique integrity has been violated
370: --
371: pqh_acc_shd.constraint_error
372: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));

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

368: When hr_api.unique_integrity_violated Then
369: -- Unique integrity has been violated
370: --
371: pqh_acc_shd.constraint_error
372: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
373: When Others Then
374: --
375: Raise;
376: End dt_insert_dml;

Line 749: when hr_api.cannot_find_prog_unit then

745: );
746: --
747: exception
748: --
749: when hr_api.cannot_find_prog_unit then
750: --
751: hr_api.cannot_find_prog_unit_error
752: (p_module_name => 'PQH_ACCOMMODATIONS_F'
753: ,p_hook_type => 'AI');

Line 751: hr_api.cannot_find_prog_unit_error

747: exception
748: --
749: when hr_api.cannot_find_prog_unit then
750: --
751: hr_api.cannot_find_prog_unit_error
752: (p_module_name => 'PQH_ACCOMMODATIONS_F'
753: ,p_hook_type => 'AI');
754: --
755: end;

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

780: --
781: -- Post Failure:
782: -- The Lck process can fail for:
783: -- 1) When attempting to lock the row the row could already be locked by
784: -- another user. This will raise the HR_Api.Object_Locked exception.
785: -- 2) When attempting to the lock the parent which doesn't exist.
786: -- For the entity to be locked the parent must exist!
787: --
788: -- Developer Implementation Notes:

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

839: ,p_rec in out nocopy pqh_acc_shd.g_rec_type
840: ) is
841: --
842: l_proc varchar2(72) := g_package||'ins';
843: l_datetrack_mode varchar2(30) := hr_api.g_insert;
844: l_validation_start_date date;
845: l_validation_end_date date;
846: --
847: Begin