120: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
121: --
122: hr_utility.set_location(' Leaving:'||l_proc, 10);
123: Exception
124: When hr_api.check_integrity_violated Then
125: -- A check constraint has been violated
126: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
127: pqh_bre_shd.constraint_error
128: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
124: When hr_api.check_integrity_violated Then
125: -- A check constraint has been violated
126: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
127: pqh_bre_shd.constraint_error
128: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
129: When hr_api.parent_integrity_violated Then
130: -- Parent integrity has been violated
131: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
132: pqh_bre_shd.constraint_error
125: -- A check constraint has been violated
126: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
127: pqh_bre_shd.constraint_error
128: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
129: When hr_api.parent_integrity_violated Then
130: -- Parent integrity has been violated
131: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
132: pqh_bre_shd.constraint_error
133: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
129: When hr_api.parent_integrity_violated Then
130: -- Parent integrity has been violated
131: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
132: pqh_bre_shd.constraint_error
133: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
134: When hr_api.unique_integrity_violated Then
135: -- Unique integrity has been violated
136: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
137: pqh_bre_shd.constraint_error
130: -- Parent integrity has been violated
131: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
132: pqh_bre_shd.constraint_error
133: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
134: When hr_api.unique_integrity_violated Then
135: -- Unique integrity has been violated
136: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
137: pqh_bre_shd.constraint_error
138: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
134: When hr_api.unique_integrity_violated Then
135: -- Unique integrity has been violated
136: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
137: pqh_bre_shd.constraint_error
138: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
139: When Others Then
140: pqh_bre_shd.g_api_dml := false; -- Unset the api dml status
141: Raise;
142: End insert_dml;
307: );
308: --
309: exception
310: --
311: when hr_api.cannot_find_prog_unit then
312: --
313: hr_api.cannot_find_prog_unit_error
314: (p_module_name => 'PQH_BDGT_POOL_REALLOCTIONS'
315: ,p_hook_type => 'AI');
309: exception
310: --
311: when hr_api.cannot_find_prog_unit then
312: --
313: hr_api.cannot_find_prog_unit_error
314: (p_module_name => 'PQH_BDGT_POOL_REALLOCTIONS'
315: ,p_hook_type => 'AI');
316: --
317: end;