147: pay_pma_shd.g_api_dml := false; -- Unset the api dml status
148: --
149: hr_utility.set_location(' Leaving:'||l_proc, 10);
150: Exception
151: When hr_api.check_integrity_violated Then
152: -- A check constraint has been violated
153: pay_pma_shd.g_api_dml := false; -- Unset the api dml status
154: pay_pma_shd.constraint_error
155: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
151: When hr_api.check_integrity_violated Then
152: -- A check constraint has been violated
153: pay_pma_shd.g_api_dml := false; -- Unset the api dml status
154: pay_pma_shd.constraint_error
155: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
156: When hr_api.parent_integrity_violated Then
157: -- Parent integrity has been violated
158: pay_pma_shd.g_api_dml := false; -- Unset the api dml status
159: pay_pma_shd.constraint_error
152: -- A check constraint has been violated
153: pay_pma_shd.g_api_dml := false; -- Unset the api dml status
154: pay_pma_shd.constraint_error
155: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
156: When hr_api.parent_integrity_violated Then
157: -- Parent integrity has been violated
158: pay_pma_shd.g_api_dml := false; -- Unset the api dml status
159: pay_pma_shd.constraint_error
160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
156: When hr_api.parent_integrity_violated Then
157: -- Parent integrity has been violated
158: pay_pma_shd.g_api_dml := false; -- Unset the api dml status
159: pay_pma_shd.constraint_error
160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When hr_api.unique_integrity_violated Then
162: -- Unique integrity has been violated
163: pay_pma_shd.g_api_dml := false; -- Unset the api dml status
164: pay_pma_shd.constraint_error
157: -- Parent integrity has been violated
158: pay_pma_shd.g_api_dml := false; -- Unset the api dml status
159: pay_pma_shd.constraint_error
160: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When hr_api.unique_integrity_violated Then
162: -- Unique integrity has been violated
163: pay_pma_shd.g_api_dml := false; -- Unset the api dml status
164: pay_pma_shd.constraint_error
165: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
161: When hr_api.unique_integrity_violated Then
162: -- Unique integrity has been violated
163: pay_pma_shd.g_api_dml := false; -- Unset the api dml status
164: pay_pma_shd.constraint_error
165: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
166: When Others Then
167: pay_pma_shd.g_api_dml := false; -- Unset the api dml status
168: Raise;
169: End insert_dml;
311: );
312: --
313: exception
314: --
315: when hr_api.cannot_find_prog_unit then
316: --
317: hr_api.cannot_find_prog_unit_error
318: (p_module_name => 'pay_ca_pmed_accounts'
319: ,p_hook_type => 'AI');
313: exception
314: --
315: when hr_api.cannot_find_prog_unit then
316: --
317: hr_api.cannot_find_prog_unit_error
318: (p_module_name => 'pay_ca_pmed_accounts'
319: ,p_hook_type => 'AI');
320: --
321: end;