Hi, It looks like you spent much time and effort in writing this blog. I am appreciating your effort. It Was Very Good Information For oracle community.surely i will refer my friends to read this blog it will help them at certain time. Thank you, Oracle Financials training
IF l_return_status<> FND_API.G_RET_STS_SUCCESS THEN dbms_output.put_line('... Msg Count: ' l_msg_count); l_chr_mesg := 'Error in Create Single Invoice'; IF l_msg_count = 1 THEN dbms_output.put_line('... Msg Data: ' l_msg_data); l_chr_mesg := l_chr_mesgl_msg_data; RAISE e_excp; ELSIF l_msg_count > 1 THEN -- the messages on the stack are more than one so call them in a loop -- and put the messages in a PL/SQL table. l_count := 0; LOOP l_count := l_count +1 ; l_mesg := fnd_msg_pub.get (fnd_msg_pub.g_next, fnd_api.g_false); IF l_mesg IS NOT NULL THEN dbms_output.put_line('... Msg Data: ' l_count '. ' l_mesg); l_chr_mesg := l_chr_mesg' 'l_mesg; ELSE RAISE e_excp; END IF; END LOOP; END IF; END IF;
IF l_return_status<> FND_API.G_RET_STS_SUCCESS THEN dbms_output.put_line('... Msg Count: ' l_msg_count); l_chr_mesg := 'Error in Create Single Invoice'; IF l_msg_count = 1 THEN dbms_output.put_line('... Msg Data: ' l_msg_data); l_chr_mesg := l_chr_mesgl_msg_data; RAISE e_excp; ELSIF l_msg_count > 1 THEN -- the messages on the stack are more than one so call them in a loop -- and put the messages in a PL/SQL table. l_count := 0; LOOP l_count := l_count +1 ; l_mesg := fnd_msg_pub.get (fnd_msg_pub.g_next, fnd_api.g_false); IF l_mesg IS NOT NULL THEN dbms_output.put_line('... Msg Data: ' l_count '. ' l_mesg); l_chr_mesg := l_chr_mesg' 'l_mesg; ELSE RAISE e_excp; END IF; END LOOP; END IF; END IF;
EXCEPTION WHEN OTHERS THEN l_chr_mesg := l_chr_mesg' ''Error in Create Single Invoice'SQLERRM; RAISE e_excp;
END;
posted by Santosh Dhongade at 10:34 AM on May 26, 2011
"Oracle Receivables API for Invoice and Receipt Creation"
1 Comment -
Hi,
It looks like you spent much time and effort in writing this blog. I am appreciating your effort. It Was Very Good Information For oracle community.surely i will refer my friends to read this blog it will help them at certain time.
Thank you,
Oracle Financials training
March 27, 2017 at 10:49 PM