110: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
111: --
112: hr_utility.set_location(' Leaving:'||l_proc, 10);
113: Exception
114: When hr_api.check_integrity_violated Then
115: -- A check constraint has been violated
116: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
117: ota_fns_shd.constraint_error
118: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
114: When hr_api.check_integrity_violated Then
115: -- A check constraint has been violated
116: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
117: ota_fns_shd.constraint_error
118: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
119: When hr_api.parent_integrity_violated Then
120: -- Parent integrity has been violated
121: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
122: ota_fns_shd.constraint_error
115: -- A check constraint has been violated
116: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
117: ota_fns_shd.constraint_error
118: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
119: When hr_api.parent_integrity_violated Then
120: -- Parent integrity has been violated
121: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
122: ota_fns_shd.constraint_error
123: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
119: When hr_api.parent_integrity_violated Then
120: -- Parent integrity has been violated
121: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
122: ota_fns_shd.constraint_error
123: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
124: When hr_api.unique_integrity_violated Then
125: -- Unique integrity has been violated
126: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
127: ota_fns_shd.constraint_error
120: -- Parent integrity has been violated
121: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
122: ota_fns_shd.constraint_error
123: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
124: When hr_api.unique_integrity_violated Then
125: -- Unique integrity has been violated
126: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
127: ota_fns_shd.constraint_error
128: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
124: When hr_api.unique_integrity_violated Then
125: -- Unique integrity has been violated
126: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
127: ota_fns_shd.constraint_error
128: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
129: When Others Then
130: ota_fns_shd.g_api_dml := false; -- Unset the api dml status
131: Raise;
132: End insert_dml;
296: );
297: --
298: exception
299: --
300: when hr_api.cannot_find_prog_unit then
301: --
302: hr_api.cannot_find_prog_unit_error
303: (p_module_name => 'OTA_FRM_NOTIF_SUBSCRIBERS'
304: ,p_hook_type => 'AI');
298: exception
299: --
300: when hr_api.cannot_find_prog_unit then
301: --
302: hr_api.cannot_find_prog_unit_error
303: (p_module_name => 'OTA_FRM_NOTIF_SUBSCRIBERS'
304: ,p_hook_type => 'AI');
305: --
306: end;