675: --l_events pending_events%rowtype;
676: --
677: begin
678: --
679: fnd_file.put_line(FND_FILE.LOG, ' Allocate Tasks Process Started');
680: --
681: g_debug := hr_utility.debug_enabled;
682: if g_debug then
683: l_proc := g_package||'Allocate_Tasks';
727: end if;
728: --
729: commit;
730: --
731: fnd_file.put_line(FND_FILE.LOG, ' Allocate Tasks Process Completed');
732: retcode := 0;
733: --
734: exception
735: when others then
733: --
734: exception
735: when others then
736: --
737: fnd_file.put_line(FND_FILE.LOG, ' Allocate Tasks Process Errored');
738: errbuf := substr(sqlerrm,0,240);
739: retcode := sqlcode;
740: --
741: fnd_file.put_line(fnd_file.log,sqlerrm||' '||sqlcode);
737: fnd_file.put_line(FND_FILE.LOG, ' Allocate Tasks Process Errored');
738: errbuf := substr(sqlerrm,0,240);
739: retcode := sqlcode;
740: --
741: fnd_file.put_line(fnd_file.log,sqlerrm||' '||sqlcode);
742: --
743: raise;
744: end allocate_tasks;
745: --