Escolar Documentos
Profissional Documentos
Cultura Documentos
END LOOP;
if v_cnt=0 then
fnd_file.put_line(FND_FILE.Log,'There are no errorneous journals');
fnd_file.put_line(FND_FILE.Output,'There are no errorneous journals');
end if;
p_retcode:=0;
EXCEPTION
when others then
p_errbuf:=sqlerrm;
fnd_file.put_line(FND_FILE.Log,'Job Ended in error'||SQLERRM);
p_retcode:=1;
END;
/