116: ben_bri_shd.g_api_dml := false; -- Unset the api dml status
117: --
118: hr_utility.set_location(' Leaving:'||l_proc, 10);
119: Exception
120: When hr_api.check_integrity_violated Then
121: -- A check constraint has been violated
122: ben_bri_shd.g_api_dml := false; -- Unset the api dml status
123: ben_bri_shd.constraint_error
124: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
120: When hr_api.check_integrity_violated Then
121: -- A check constraint has been violated
122: ben_bri_shd.g_api_dml := false; -- Unset the api dml status
123: ben_bri_shd.constraint_error
124: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
125: When hr_api.parent_integrity_violated Then
126: -- Parent integrity has been violated
127: ben_bri_shd.g_api_dml := false; -- Unset the api dml status
128: ben_bri_shd.constraint_error
121: -- A check constraint has been violated
122: ben_bri_shd.g_api_dml := false; -- Unset the api dml status
123: ben_bri_shd.constraint_error
124: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
125: When hr_api.parent_integrity_violated Then
126: -- Parent integrity has been violated
127: ben_bri_shd.g_api_dml := false; -- Unset the api dml status
128: ben_bri_shd.constraint_error
129: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
125: When hr_api.parent_integrity_violated Then
126: -- Parent integrity has been violated
127: ben_bri_shd.g_api_dml := false; -- Unset the api dml status
128: ben_bri_shd.constraint_error
129: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
130: When hr_api.unique_integrity_violated Then
131: -- Unique integrity has been violated
132: ben_bri_shd.g_api_dml := false; -- Unset the api dml status
133: ben_bri_shd.constraint_error
126: -- Parent integrity has been violated
127: ben_bri_shd.g_api_dml := false; -- Unset the api dml status
128: ben_bri_shd.constraint_error
129: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
130: When hr_api.unique_integrity_violated Then
131: -- Unique integrity has been violated
132: ben_bri_shd.g_api_dml := false; -- Unset the api dml status
133: ben_bri_shd.constraint_error
134: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
130: When hr_api.unique_integrity_violated Then
131: -- Unique integrity has been violated
132: ben_bri_shd.g_api_dml := false; -- Unset the api dml status
133: ben_bri_shd.constraint_error
134: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
135: When Others Then
136: ben_bri_shd.g_api_dml := false; -- Unset the api dml status
137: Raise;
138: End insert_dml;
265: ,p_effective_date =>p_effective_date);
266: --
267: exception
268: --
269: when hr_api.cannot_find_prog_unit then
270: --
271: hr_api.cannot_find_prog_unit_error
272: (p_module_name => 'ben_batch_rate_info'
273: ,p_hook_type => 'AI');
267: exception
268: --
269: when hr_api.cannot_find_prog_unit then
270: --
271: hr_api.cannot_find_prog_unit_error
272: (p_module_name => 'ben_batch_rate_info'
273: ,p_hook_type => 'AI');
274: --
275: end;