809: l_stmt := 'Stmt' || l_stmt;
810: fnd_message.set_name('INV', 'INV-Request failed');
811: fnd_message.set_token('ENTITY',l_api_name);
812: fnd_message.set_token('ERRORCODE',l_stmt);
813: fnd_msg_pub.add;
814:
815: -- Get message count and data
816: fnd_msg_pub.count_and_get
817: ( p_count => x_msg_count
812: fnd_message.set_token('ERRORCODE',l_stmt);
813: fnd_msg_pub.add;
814:
815: -- Get message count and data
816: fnd_msg_pub.count_and_get
817: ( p_count => x_msg_count
818: , p_data => x_msg_data
819: );
820: WHEN fnd_api.g_exc_unexpected_error THEN
824: l_stmt := 'Stmt' || l_stmt;
825: fnd_message.set_name('INV', 'INV-Request failed');
826: fnd_message.set_token('ENTITY',l_api_name);
827: fnd_message.set_token('ERRORCODE',l_stmt);
828: fnd_msg_pub.add;
829:
830: -- Get message count and data
831: fnd_msg_pub.count_and_get
832: ( p_count => x_msg_count
827: fnd_message.set_token('ERRORCODE',l_stmt);
828: fnd_msg_pub.add;
829:
830: -- Get message count and data
831: fnd_msg_pub.count_and_get
832: ( p_count => x_msg_count
833: , p_data => x_msg_data
834: );
835: WHEN OTHERS THEN
839: l_stmt := 'Stmt' || l_stmt;
840: fnd_message.set_name('INV', 'INV-Request failed');
841: fnd_message.set_token('ENTITY',l_api_name);
842: fnd_message.set_token('ERRORCODE',l_stmt);
843: fnd_msg_pub.add;
844:
845: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
846: THEN
847: fnd_msg_pub.add_exc_msg
841: fnd_message.set_token('ENTITY',l_api_name);
842: fnd_message.set_token('ERRORCODE',l_stmt);
843: fnd_msg_pub.add;
844:
845: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
846: THEN
847: fnd_msg_pub.add_exc_msg
848: ( g_pkg_name
849: , l_api_name
843: fnd_msg_pub.add;
844:
845: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
846: THEN
847: fnd_msg_pub.add_exc_msg
848: ( g_pkg_name
849: , l_api_name
850: );
851: END IF;
849: , l_api_name
850: );
851: END IF;
852: -- Get message count and data
853: fnd_msg_pub.count_and_get
854: ( p_count => x_msg_count
855: , p_data => x_msg_data
856: );
857:
1747: l_stmt := 'Stmt' || l_stmt;
1748: fnd_message.set_name('INV', 'INV-Request failed');
1749: fnd_message.set_token('ENTITY',l_api_name);
1750: fnd_message.set_token('ERRORCODE',l_stmt);
1751: fnd_msg_pub.add;
1752:
1753: -- Get message count and data
1754: fnd_msg_pub.count_and_get
1755: ( p_count => x_msg_count
1750: fnd_message.set_token('ERRORCODE',l_stmt);
1751: fnd_msg_pub.add;
1752:
1753: -- Get message count and data
1754: fnd_msg_pub.count_and_get
1755: ( p_count => x_msg_count
1756: , p_data => x_msg_data
1757: );
1758: WHEN fnd_api.g_exc_unexpected_error THEN
1762: l_stmt := 'Stmt' || l_stmt;
1763: fnd_message.set_name('INV', 'INV-Request failed');
1764: fnd_message.set_token('ENTITY',l_api_name);
1765: fnd_message.set_token('ERRORCODE',l_stmt);
1766: fnd_msg_pub.add;
1767:
1768: -- Get message count and data
1769: fnd_msg_pub.count_and_get
1770: ( p_count => x_msg_count
1765: fnd_message.set_token('ERRORCODE',l_stmt);
1766: fnd_msg_pub.add;
1767:
1768: -- Get message count and data
1769: fnd_msg_pub.count_and_get
1770: ( p_count => x_msg_count
1771: , p_data => x_msg_data
1772: );
1773: WHEN OTHERS THEN
1777: l_stmt := 'Stmt' || l_stmt;
1778: fnd_message.set_name('INV', 'INV-Request failed');
1779: fnd_message.set_token('ENTITY',l_api_name);
1780: fnd_message.set_token('ERRORCODE',l_stmt);
1781: fnd_msg_pub.add;
1782:
1783: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1784: THEN
1785: fnd_msg_pub.add_exc_msg
1779: fnd_message.set_token('ENTITY',l_api_name);
1780: fnd_message.set_token('ERRORCODE',l_stmt);
1781: fnd_msg_pub.add;
1782:
1783: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1784: THEN
1785: fnd_msg_pub.add_exc_msg
1786: ( g_pkg_name
1787: , l_api_name
1781: fnd_msg_pub.add;
1782:
1783: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error)
1784: THEN
1785: fnd_msg_pub.add_exc_msg
1786: ( g_pkg_name
1787: , l_api_name
1788: );
1789: END IF;
1787: , l_api_name
1788: );
1789: END IF;
1790: -- Get message count and data
1791: fnd_msg_pub.count_and_get
1792: ( p_count => x_msg_count
1793: , p_data => x_msg_data
1794: );
1795: