78: ff_con_shd.g_api_dml := false; -- Unset the api dml status
79: --
80: hr_utility.set_location(' Leaving:'||l_proc, 10);
81: Exception
82: When hr_api.check_integrity_violated Then
83: -- A check constraint has been violated
84: ff_con_shd.g_api_dml := false; -- Unset the api dml status
85: ff_con_shd.constraint_error
86: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
82: When hr_api.check_integrity_violated Then
83: -- A check constraint has been violated
84: ff_con_shd.g_api_dml := false; -- Unset the api dml status
85: ff_con_shd.constraint_error
86: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
87: When hr_api.parent_integrity_violated Then
88: -- Parent integrity has been violated
89: ff_con_shd.g_api_dml := false; -- Unset the api dml status
90: ff_con_shd.constraint_error
83: -- A check constraint has been violated
84: ff_con_shd.g_api_dml := false; -- Unset the api dml status
85: ff_con_shd.constraint_error
86: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
87: When hr_api.parent_integrity_violated Then
88: -- Parent integrity has been violated
89: ff_con_shd.g_api_dml := false; -- Unset the api dml status
90: ff_con_shd.constraint_error
91: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
87: When hr_api.parent_integrity_violated Then
88: -- Parent integrity has been violated
89: ff_con_shd.g_api_dml := false; -- Unset the api dml status
90: ff_con_shd.constraint_error
91: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
92: When hr_api.unique_integrity_violated Then
93: -- Unique integrity has been violated
94: ff_con_shd.g_api_dml := false; -- Unset the api dml status
95: ff_con_shd.constraint_error
88: -- Parent integrity has been violated
89: ff_con_shd.g_api_dml := false; -- Unset the api dml status
90: ff_con_shd.constraint_error
91: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
92: When hr_api.unique_integrity_violated Then
93: -- Unique integrity has been violated
94: ff_con_shd.g_api_dml := false; -- Unset the api dml status
95: ff_con_shd.constraint_error
96: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
92: When hr_api.unique_integrity_violated Then
93: -- Unique integrity has been violated
94: ff_con_shd.g_api_dml := false; -- Unset the api dml status
95: ff_con_shd.constraint_error
96: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
97: When Others Then
98: ff_con_shd.g_api_dml := false; -- Unset the api dml status
99: Raise;
100: End insert_dml;