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_mesg||l_msg_data; 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;
"Oracle Receivables Create Credit memo against Invoice"
No comments yet. -