156: per_pst_shd.g_api_dml := false; -- Unset the api dml status
157: --
158: hr_utility.set_location(' Leaving:'||l_proc, 10);
159: Exception
160: When hr_api.check_integrity_violated Then
161: -- A check constraint has been violated
162: per_pst_shd.g_api_dml := false; -- Unset the api dml status
163: per_pst_shd.constraint_error
164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
160: When hr_api.check_integrity_violated Then
161: -- A check constraint has been violated
162: per_pst_shd.g_api_dml := false; -- Unset the api dml status
163: per_pst_shd.constraint_error
164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.parent_integrity_violated Then
166: -- Parent integrity has been violated
167: per_pst_shd.g_api_dml := false; -- Unset the api dml status
168: per_pst_shd.constraint_error
161: -- A check constraint has been violated
162: per_pst_shd.g_api_dml := false; -- Unset the api dml status
163: per_pst_shd.constraint_error
164: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.parent_integrity_violated Then
166: -- Parent integrity has been violated
167: per_pst_shd.g_api_dml := false; -- Unset the api dml status
168: per_pst_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
165: When hr_api.parent_integrity_violated Then
166: -- Parent integrity has been violated
167: per_pst_shd.g_api_dml := false; -- Unset the api dml status
168: per_pst_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.unique_integrity_violated Then
171: -- Unique integrity has been violated
172: per_pst_shd.g_api_dml := false; -- Unset the api dml status
173: per_pst_shd.constraint_error
166: -- Parent integrity has been violated
167: per_pst_shd.g_api_dml := false; -- Unset the api dml status
168: per_pst_shd.constraint_error
169: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.unique_integrity_violated Then
171: -- Unique integrity has been violated
172: per_pst_shd.g_api_dml := false; -- Unset the api dml status
173: per_pst_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
170: When hr_api.unique_integrity_violated Then
171: -- Unique integrity has been violated
172: per_pst_shd.g_api_dml := false; -- Unset the api dml status
173: per_pst_shd.constraint_error
174: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
175: When Others Then
176: per_pst_shd.g_api_dml := false; -- Unset the api dml status
177: Raise;
178: End insert_dml;
379: );
380: --
381: exception
382: --
383: when hr_api.cannot_find_prog_unit then
384: --
385: hr_api.cannot_find_prog_unit_error
386: (p_module_name => 'PER_POSITION_STRUCTURES'
387: ,p_hook_type => 'AI');
381: exception
382: --
383: when hr_api.cannot_find_prog_unit then
384: --
385: hr_api.cannot_find_prog_unit_error
386: (p_module_name => 'PER_POSITION_STRUCTURES'
387: ,p_hook_type => 'AI');
388: --
389: end;