510: begin
511:
512: l_profile_check := FND_PROFILE.VALUE('PJI_SUM_CLEANALL');
513:
514: FND_MESSAGE.SET_NAME('PJI', 'PJI_SUM_CLEANALL_FAILED');
515:
516: if (upper(nvl(l_profile_check, 'N')) <> 'Y') then
517: pji_utils.write2out(FND_MESSAGE.GET);
518: commit;
513:
514: FND_MESSAGE.SET_NAME('PJI', 'PJI_SUM_CLEANALL_FAILED');
515:
516: if (upper(nvl(l_profile_check, 'N')) <> 'Y') then
517: pji_utils.write2out(FND_MESSAGE.GET);
518: commit;
519: retcode := 1;
520: return;
521: end if;
520: return;
521: end if;
522:
523: if (upper(nvl(p_check, 'N')) <> 'Y') then
524: pji_utils.write2out(FND_MESSAGE.GET);
525: commit;
526: retcode := 1;
527: return;
528: end if;