104: --
105: hr_utility.set_location(' Leaving:'||l_proc, 10);
106: --
107: Exception
108: When hr_api.child_integrity_violated then
109: -- Child integrity has been violated
110: pay_amo_shd.g_api_dml := false; -- Unset the api dml status
111: pay_amo_shd.constraint_error
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
108: When hr_api.child_integrity_violated then
109: -- Child integrity has been violated
110: pay_amo_shd.g_api_dml := false; -- Unset the api dml status
111: pay_amo_shd.constraint_error
112: (p_constraint_name => hr_api.strip_constraint_name(SQLERRM));
113: When Others Then
114: pay_amo_shd.g_api_dml := false; -- Unset the api dml status
115: Raise;
116: End delete_dml;