315: --
316: -- When in validation only mode raise the Validate_Enabled exception
317: --
318: if p_validate then
319: raise hr_api.validate_enabled;
320: end if;
321: --
322: hr_utility.set_location(' Leaving:'|| l_proc, 20);
323: --
321: --
322: hr_utility.set_location(' Leaving:'|| l_proc, 20);
323: --
324: exception
325: when hr_api.validate_enabled then
326: --
327: -- As the Validate_Enabled exception has been raised
328: -- we must rollback to the savepoint
329: --