108: ota_fce_shd.g_api_dml := false; -- Unset the api dml status
109: --
110: hr_utility.set_location(' Leaving:'||l_proc, 10);
111: Exception
112: When hr_api.check_integrity_violated Then
113: -- A check constraint has been violated
114: ota_fce_shd.g_api_dml := false; -- Unset the api dml status
115: ota_fce_shd.constraint_error
116: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
112: When hr_api.check_integrity_violated Then
113: -- A check constraint has been violated
114: ota_fce_shd.g_api_dml := false; -- Unset the api dml status
115: ota_fce_shd.constraint_error
116: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
117: When hr_api.parent_integrity_violated Then
118: -- Parent integrity has been violated
119: ota_fce_shd.g_api_dml := false; -- Unset the api dml status
120: ota_fce_shd.constraint_error
113: -- A check constraint has been violated
114: ota_fce_shd.g_api_dml := false; -- Unset the api dml status
115: ota_fce_shd.constraint_error
116: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
117: When hr_api.parent_integrity_violated Then
118: -- Parent integrity has been violated
119: ota_fce_shd.g_api_dml := false; -- Unset the api dml status
120: ota_fce_shd.constraint_error
121: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
117: When hr_api.parent_integrity_violated Then
118: -- Parent integrity has been violated
119: ota_fce_shd.g_api_dml := false; -- Unset the api dml status
120: ota_fce_shd.constraint_error
121: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
122: When hr_api.unique_integrity_violated Then
123: -- Unique integrity has been violated
124: ota_fce_shd.g_api_dml := false; -- Unset the api dml status
125: ota_fce_shd.constraint_error
118: -- Parent integrity has been violated
119: ota_fce_shd.g_api_dml := false; -- Unset the api dml status
120: ota_fce_shd.constraint_error
121: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
122: When hr_api.unique_integrity_violated Then
123: -- Unique integrity has been violated
124: ota_fce_shd.g_api_dml := false; -- Unset the api dml status
125: ota_fce_shd.constraint_error
126: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
122: When hr_api.unique_integrity_violated Then
123: -- Unique integrity has been violated
124: ota_fce_shd.g_api_dml := false; -- Unset the api dml status
125: ota_fce_shd.constraint_error
126: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
127: When Others Then
128: ota_fce_shd.g_api_dml := false; -- Unset the api dml status
129: Raise;
130: End insert_dml;
283: );
284: --
285: exception
286: --
287: when hr_api.cannot_find_prog_unit then
288: --
289: hr_api.cannot_find_prog_unit_error
290: (p_module_name => 'OTA_OPEN_FC_ENROLLMENTS'
291: ,p_hook_type => 'AI');
285: exception
286: --
287: when hr_api.cannot_find_prog_unit then
288: --
289: hr_api.cannot_find_prog_unit_error
290: (p_module_name => 'OTA_OPEN_FC_ENROLLMENTS'
291: ,p_hook_type => 'AI');
292: --
293: end;