248:
249:
250: EXCEPTION
251: WHEN IGI_IAC_NOT_ENABLED THEN
252: fnd_message.set_name('IGI','IGI_IAC_NOT_INSTALLED');
253: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
254: Errbuf:=fnd_message.get;
255: retcode :=2;
256: WHEN IGI_IAC_PRICE_INDEX_ZERO THEN
250: EXCEPTION
251: WHEN IGI_IAC_NOT_ENABLED THEN
252: fnd_message.set_name('IGI','IGI_IAC_NOT_INSTALLED');
253: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
254: Errbuf:=fnd_message.get;
255: retcode :=2;
256: WHEN IGI_IAC_PRICE_INDEX_ZERO THEN
257: FND_MESSAGE.SET_NAME('IGI', 'IGI_IAC_EXCEPTION');
258: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
253: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
254: Errbuf:=fnd_message.get;
255: retcode :=2;
256: WHEN IGI_IAC_PRICE_INDEX_ZERO THEN
257: FND_MESSAGE.SET_NAME('IGI', 'IGI_IAC_EXCEPTION');
258: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
259: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Error : Price index value 0 cannot be processed ');
260: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
261:
254: Errbuf:=fnd_message.get;
255: retcode :=2;
256: WHEN IGI_IAC_PRICE_INDEX_ZERO THEN
257: FND_MESSAGE.SET_NAME('IGI', 'IGI_IAC_EXCEPTION');
258: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
259: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Error : Price index value 0 cannot be processed ');
260: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
261:
262: retcode :=2;
255: retcode :=2;
256: WHEN IGI_IAC_PRICE_INDEX_ZERO THEN
257: FND_MESSAGE.SET_NAME('IGI', 'IGI_IAC_EXCEPTION');
258: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
259: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Error : Price index value 0 cannot be processed ');
260: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
261:
262: retcode :=2;
263: Errbuf := fnd_message.get;
259: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Error : Price index value 0 cannot be processed ');
260: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
261:
262: retcode :=2;
263: Errbuf := fnd_message.get;
264: WHEN ZERO_DIVIDE THEN
265: FND_MESSAGE.SET_NAME('IGI', 'IGI_IAC_EXCEPTION');
266: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
267: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Division By Zero ');
261:
262: retcode :=2;
263: Errbuf := fnd_message.get;
264: WHEN ZERO_DIVIDE THEN
265: FND_MESSAGE.SET_NAME('IGI', 'IGI_IAC_EXCEPTION');
266: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
267: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Division By Zero ');
268: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
269: retcode :=2;
262: retcode :=2;
263: Errbuf := fnd_message.get;
264: WHEN ZERO_DIVIDE THEN
265: FND_MESSAGE.SET_NAME('IGI', 'IGI_IAC_EXCEPTION');
266: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
267: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Division By Zero ');
268: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
269: retcode :=2;
270: errbuf:= fnd_message.get;
263: Errbuf := fnd_message.get;
264: WHEN ZERO_DIVIDE THEN
265: FND_MESSAGE.SET_NAME('IGI', 'IGI_IAC_EXCEPTION');
266: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
267: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Division By Zero ');
268: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
269: retcode :=2;
270: errbuf:= fnd_message.get;
271: WHEN IGI_IAC_INDEX_PERIOD_NOT_FOUND THEN
266: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
267: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Division By Zero ');
268: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
269: retcode :=2;
270: errbuf:= fnd_message.get;
271: WHEN IGI_IAC_INDEX_PERIOD_NOT_FOUND THEN
272: FND_MESSAGE.SET_NAME('IGI', 'IGI_IAC_EXCEPTION');
273: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
274: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Price Index not linked to the calendar periods ');
268: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
269: retcode :=2;
270: errbuf:= fnd_message.get;
271: WHEN IGI_IAC_INDEX_PERIOD_NOT_FOUND THEN
272: FND_MESSAGE.SET_NAME('IGI', 'IGI_IAC_EXCEPTION');
273: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
274: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Price Index not linked to the calendar periods ');
275: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
276: retcode:=2;
269: retcode :=2;
270: errbuf:= fnd_message.get;
271: WHEN IGI_IAC_INDEX_PERIOD_NOT_FOUND THEN
272: FND_MESSAGE.SET_NAME('IGI', 'IGI_IAC_EXCEPTION');
273: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
274: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Price Index not linked to the calendar periods ');
275: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
276: retcode:=2;
277: errbuf:= fnd_message.get;
270: errbuf:= fnd_message.get;
271: WHEN IGI_IAC_INDEX_PERIOD_NOT_FOUND THEN
272: FND_MESSAGE.SET_NAME('IGI', 'IGI_IAC_EXCEPTION');
273: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
274: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Price Index not linked to the calendar periods ');
275: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
276: retcode:=2;
277: errbuf:= fnd_message.get;
278: END do_rebase;
273: FND_MESSAGE.SET_TOKEN('PACKAGE','igi_iac_rebase_pkg');
274: FND_MESSAGE.SET_TOKEN('ERROR_MESSAGE','Price Index not linked to the calendar periods ');
275: igi_iac_debug_pkg.debug_other_msg(g_error_level,g_path||'do_rebase',FALSE);
276: retcode:=2;
277: errbuf:= fnd_message.get;
278: END do_rebase;
279: END igi_iac_rebase_pkg;