DBA Data[Home] [Help]

APPS.INV_PICK_RELEASE_PVT dependencies on FND_MSG_PUB

Line 695: fnd_msg_pub.ADD;

691: IF (is_debug) THEN
692: print_debug('return error from query reservation: '||l_api_return_status,'INV_Pick_Release_PVT.Process_Reservations');
693: END IF;
694: fnd_message.set_name('INV', 'INV_QRY_RSV_FAILED');
695: fnd_msg_pub.ADD;
696: RAISE fnd_api.g_exc_unexpected_error;
697: END IF;
698:
699: IF (is_debug) THEN

Line 843: fnd_msg_pub.ADD;

839: END IF;
840: fnd_message.set_name('INV', 'INV-CANNOT CONVERT');
841: fnd_message.set_token('UOM', l_primary_uom);
842: fnd_message.set_token('ROUTINE', 'Pick Release process');
843: fnd_msg_pub.ADD;
844: RAISE fnd_api.g_exc_unexpected_error;
845: END IF;
846: ELSE
847: l_quantity_to_detail := l_qty_to_detail_unconv;

Line 922: fnd_msg_pub.ADD;

918: END IF;
919: fnd_message.set_name('INV', 'INV-CANNOT CONVERT');
920: fnd_message.set_token('UOM', l_primary_uom);
921: fnd_message.set_token('ROUTINE', 'Pick Release process');
922: fnd_msg_pub.ADD;
923: RAISE fnd_api.g_exc_unexpected_error;
924: END IF;
925: ELSE
926: l_order_line_qty := l_order_line_qty_unconv;

Line 1054: fnd_msg_pub.ADD;

1050: IF (is_debug) THEN
1051: print_debug('Error from query quantity tree', 'Inv_Pick_Release_PVT.Process_Reservations');
1052: END IF;
1053: fnd_message.set_name('INV', 'INV_QRY_QTY_FAILED');
1054: fnd_msg_pub.ADD;
1055: RAISE fnd_api.g_exc_unexpected_error;
1056: END IF;
1057:
1058: IF (is_debug) THEN

Line 1137: fnd_msg_pub.ADD;

1133: IF (is_debug) THEN
1134: print_debug('error in update reservation', 'Inv_Pick_Release_PVT.Process_Reservations');
1135: END IF;
1136: fnd_message.set_name('INV', 'INV_UPD_RSV_FAILED');
1137: fnd_msg_pub.ADD;
1138: RAISE fnd_api.g_exc_unexpected_error;
1139: ELSE
1140: --Requery the reservation record and update it in the local table.
1141: IF (is_debug) THEN

Line 1161: fnd_msg_pub.ADD;

1157:
1158: -- Return an error if the query reservations call failed
1159: IF l_api_return_status <> fnd_api.g_ret_sts_success THEN
1160: fnd_message.set_name('INV', 'INV_QRY_RSV_FAILED');
1161: fnd_msg_pub.ADD;
1162: RAISE fnd_api.g_exc_unexpected_error;
1163: END IF;
1164:
1165: l_res_tbl_index := l_demand_reservations.FIRST;

Line 1220: fnd_msg_pub.ADD;

1216: IF (is_debug) THEN
1217: print_debug('Error from query quantity tree', 'Inv_Pick_Release_PVT.Process_Reservations');
1218: END IF;
1219: fnd_message.set_name('INV', 'INV_QRY_QTY_FAILED');
1220: fnd_msg_pub.ADD;
1221: RAISE fnd_api.g_exc_unexpected_error;
1222: END IF;
1223:
1224: --find new reservation quantities

Line 1261: fnd_msg_pub.ADD;

1257: END IF;
1258: fnd_message.set_name('INV', 'INV-CANNOT CONVERT');
1259: fnd_message.set_token('UOM', l_secondary_uom);
1260: fnd_message.set_token('ROUTINE', 'Pick Release process');
1261: fnd_msg_pub.ADD;
1262: RAISE fnd_api.g_exc_unexpected_error;
1263: END IF;
1264: ELSE
1265: l_new_rsv_quantity := inv_convert.inv_um_convert(

Line 1282: fnd_msg_pub.ADD;

1278: END IF;
1279: fnd_message.set_name('INV', 'INV-CANNOT CONVERT');
1280: fnd_message.set_token('UOM', l_primary_uom);
1281: fnd_message.set_token('ROUTINE', 'Pick Release process');
1282: fnd_msg_pub.ADD;
1283: RAISE fnd_api.g_exc_unexpected_error;
1284: END IF;
1285: END IF;
1286: IF (is_debug) THEN

Line 1419: fnd_msg_pub.ADD;

1415:
1416: IF l_update_rsv_rec.reservation_quantity = -99999 THEN
1417: -- conversion failed
1418: fnd_message.set_name('INV', 'CAN-NOT-CONVERT-TO-PRIMARY-UOM');
1419: fnd_msg_pub.ADD;
1420: RAISE fnd_api.g_exc_error;
1421: END IF;
1422: END IF;
1423: END IF;

Line 1453: fnd_msg_pub.ADD;

1449: IF (is_debug) THEN
1450: print_debug('error in create reservation', 'Inv_Pick_Release_PVT.Process_Reservations');
1451: END IF;
1452: fnd_message.set_name('INV', 'INV_QRY_RSV_FAILED');
1453: fnd_msg_pub.ADD;
1454: RAISE fnd_api.g_exc_unexpected_error;
1455: END IF;
1456:
1457: -- If partial picking is not allowed and the full quantity could no

Line 1466: fnd_msg_pub.ADD;

1462: print_debug('p_allow_partial_pick is false and could not reserve the quantity requested'
1463: , 'Inv-Pick_Release_PVT.Process_Reservations');
1464: END IF;
1465: fnd_message.set_name('INV', 'INV_COULD_NOT_PICK_FULL');
1466: fnd_msg_pub.ADD;
1467: RAISE fnd_api.g_exc_unexpected_error;
1468: END IF;
1469:
1470: -- Query up the reservation which was just created and add it to the

Line 1488: fnd_msg_pub.ADD;

1484:
1485: -- Return an error if the query reservations call failed
1486: IF l_api_return_status <> fnd_api.g_ret_sts_success THEN
1487: fnd_message.set_name('INV', 'INV_QRY_RSV_FAILED');
1488: fnd_msg_pub.ADD;
1489: RAISE fnd_api.g_exc_unexpected_error;
1490: END IF;
1491:
1492: -- Add the retrieved reservation to the filtered table

Line 1604: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

1600: EXCEPTION
1601: WHEN fnd_api.g_exc_error THEN
1602: x_return_status := fnd_api.g_ret_sts_error;
1603: -- Get message count and data
1604: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1605: GMI_RESERVATION_UTIL.println('sqlerror'|| SUBSTRB(SQLERRM, 1, 100));
1606: WHEN fnd_api.g_exc_unexpected_error THEN
1607: x_return_status := fnd_api.g_ret_sts_unexp_error;
1608: -- Get message count and data

Line 1609: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

1605: GMI_RESERVATION_UTIL.println('sqlerror'|| SUBSTRB(SQLERRM, 1, 100));
1606: WHEN fnd_api.g_exc_unexpected_error THEN
1607: x_return_status := fnd_api.g_ret_sts_unexp_error;
1608: -- Get message count and data
1609: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1610: GMI_RESERVATION_UTIL.println('sqlerror'|| SUBSTRB(SQLERRM, 1, 100));
1611: WHEN OTHERS THEN
1612: x_return_status := fnd_api.g_ret_sts_unexp_error;
1613:

Line 1614: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

1610: GMI_RESERVATION_UTIL.println('sqlerror'|| SUBSTRB(SQLERRM, 1, 100));
1611: WHEN OTHERS THEN
1612: x_return_status := fnd_api.g_ret_sts_unexp_error;
1613:
1614: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1615: fnd_msg_pub.add_exc_msg(g_pkg_name, 'INV_PICK_RELEASE_PVT');
1616: END IF;
1617:
1618: -- Get message count and data

Line 1615: fnd_msg_pub.add_exc_msg(g_pkg_name, 'INV_PICK_RELEASE_PVT');

1611: WHEN OTHERS THEN
1612: x_return_status := fnd_api.g_ret_sts_unexp_error;
1613:
1614: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1615: fnd_msg_pub.add_exc_msg(g_pkg_name, 'INV_PICK_RELEASE_PVT');
1616: END IF;
1617:
1618: -- Get message count and data
1619: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 1619: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

1615: fnd_msg_pub.add_exc_msg(g_pkg_name, 'INV_PICK_RELEASE_PVT');
1616: END IF;
1617:
1618: -- Get message count and data
1619: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1620: GMI_RESERVATION_UTIL.println('sqlerror'|| SUBSTRB(SQLERRM, 1, 100));
1621: END;
1622:
1623: PROCEDURE process_unreservable_items(

Line 1885: fnd_msg_pub.ADD;

1881: print_debug('return error from get_pick_slip_number',
1882: 'Inv_Pick_Release_Pvt.Process_Unreservable_Items');
1883: END IF;
1884: fnd_message.set_name('INV', 'INV_NO_PICK_SLIP_NUMBER');
1885: fnd_msg_pub.ADD;
1886: RAISE fnd_api.g_exc_unexpected_error;
1887: END IF;
1888:
1889: if ( p_pick_slip_mode <> 'I' ) then

Line 1941: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

1937: EXCEPTION
1938: WHEN fnd_api.g_exc_error THEN
1939: x_return_status := fnd_api.g_ret_sts_error;
1940: -- Get message count and data
1941: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1942: WHEN fnd_api.g_exc_unexpected_error THEN
1943: x_return_status := fnd_api.g_ret_sts_unexp_error;
1944: -- Get message count and data
1945: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 1945: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

1941: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1942: WHEN fnd_api.g_exc_unexpected_error THEN
1943: x_return_status := fnd_api.g_ret_sts_unexp_error;
1944: -- Get message count and data
1945: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1946: WHEN OTHERS THEN
1947: x_return_status := fnd_api.g_ret_sts_unexp_error;
1948:
1949: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 1949: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

1945: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1946: WHEN OTHERS THEN
1947: x_return_status := fnd_api.g_ret_sts_unexp_error;
1948:
1949: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1950: fnd_msg_pub.add_exc_msg(g_pkg_name, 'INV_PICK_RELEASE_PVT');
1951: END IF;
1952:
1953: -- Get message count and data

Line 1950: fnd_msg_pub.add_exc_msg(g_pkg_name, 'INV_PICK_RELEASE_PVT');

1946: WHEN OTHERS THEN
1947: x_return_status := fnd_api.g_ret_sts_unexp_error;
1948:
1949: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1950: fnd_msg_pub.add_exc_msg(g_pkg_name, 'INV_PICK_RELEASE_PVT');
1951: END IF;
1952:
1953: -- Get message count and data
1954: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 1954: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

1950: fnd_msg_pub.add_exc_msg(g_pkg_name, 'INV_PICK_RELEASE_PVT');
1951: END IF;
1952:
1953: -- Get message count and data
1954: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1955: END;
1956:
1957: PROCEDURE process_prj_dynamic_locator(
1958: p_mo_line_rec IN OUT NOCOPY inv_move_order_pub.trolin_rec_type

Line 2124: /*FND_MSG_PUB.Count_And_Get (p_count => l_count , p_data => l_message , p_encoded => 'T');

2120: ELSE
2121: IF (is_debug) THEN
2122: print_debug('INV_Validate error', 'Inv_Pick_Release_PVT.Process_Prj_Dynamic_Locator');
2123: END IF;
2124: /*FND_MSG_PUB.Count_And_Get (p_count => l_count , p_data => l_message , p_encoded => 'T');
2125: if( l_count = 0 ) then
2126: IF (is_debug) THEN
2127: print_debug('no message from detailing engine');
2128: END IF;

Line 2135: l_message := fnd_msg_pub.get(i, 'T');

2131: print_debug(l_message);
2132: END IF;
2133: else
2134: for i in 1..l_count LOOP
2135: l_message := fnd_msg_pub.get(i, 'T');
2136: IF (is_debug) THEN
2137: print_debug(l_message);
2138: END IF;
2139: end loop;

Line 2142: fnd_msg_pub.ADD;

2138: END IF;
2139: end loop;
2140: end if;*/
2141: fnd_message.set_name('INV', 'INV_INT_LOCSEGCODE');
2142: fnd_msg_pub.ADD;
2143: RAISE fnd_api.g_exc_unexpected_error;
2144: END IF; --success
2145: ELSE --no task/project
2146: IF (NVL(TO_NUMBER(l_locator.segment19), -1) <> NVL(p_mo_line_rec.project_id, -1)

Line 2150: fnd_msg_pub.ADD;

2146: IF (NVL(TO_NUMBER(l_locator.segment19), -1) <> NVL(p_mo_line_rec.project_id, -1)
2147: AND NVL(TO_NUMBER(l_locator.segment20), -1) <> NVL(p_mo_line_rec.task_id, -1)
2148: ) THEN
2149: fnd_message.set_name('INV', 'INV_INT_LOCCODE');
2150: fnd_msg_pub.ADD;
2151: RAISE fnd_api.g_exc_error;
2152: END IF;
2153: END IF; --task project
2154: END;

Line 2183: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

2179: EXCEPTION
2180: WHEN fnd_api.g_exc_error THEN
2181: x_return_status := fnd_api.g_ret_sts_error;
2182: -- Get message count and data
2183: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2184: WHEN fnd_api.g_exc_unexpected_error THEN
2185: x_return_status := fnd_api.g_ret_sts_unexp_error;
2186: -- Get message count and data
2187: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 2187: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

2183: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2184: WHEN fnd_api.g_exc_unexpected_error THEN
2185: x_return_status := fnd_api.g_ret_sts_unexp_error;
2186: -- Get message count and data
2187: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2188: WHEN OTHERS THEN
2189: x_return_status := fnd_api.g_ret_sts_unexp_error;
2190:
2191: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 2191: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

2187: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2188: WHEN OTHERS THEN
2189: x_return_status := fnd_api.g_ret_sts_unexp_error;
2190:
2191: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2192: fnd_msg_pub.add_exc_msg(g_pkg_name, 'INV_PICK_RELEASE_PVT');
2193: END IF;
2194:
2195: -- Get message count and data

Line 2192: fnd_msg_pub.add_exc_msg(g_pkg_name, 'INV_PICK_RELEASE_PVT');

2188: WHEN OTHERS THEN
2189: x_return_status := fnd_api.g_ret_sts_unexp_error;
2190:
2191: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2192: fnd_msg_pub.add_exc_msg(g_pkg_name, 'INV_PICK_RELEASE_PVT');
2193: END IF;
2194:
2195: -- Get message count and data
2196: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 2196: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

2192: fnd_msg_pub.add_exc_msg(g_pkg_name, 'INV_PICK_RELEASE_PVT');
2193: END IF;
2194:
2195: -- Get message count and data
2196: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2197: END;
2198:
2199: -- Start of Comments
2200: --

Line 2403: fnd_msg_pub.initialize;

2399: END IF;
2400:
2401: -- Initialize message list if p_init_msg_list is set to true
2402: IF fnd_api.to_boolean(p_init_msg_list) THEN
2403: fnd_msg_pub.initialize;
2404: END IF;
2405:
2406: -- Initialize API return status to success
2407: x_return_status := fnd_api.g_ret_sts_success;

Line 2487: fnd_msg_pub.ADD;

2483: gmi_reservation_util.println('Process_LineNo data found-Delivery Info');
2484: END IF;
2485: ROLLBACK TO process_line_pvt;
2486: fnd_message.set_name('INV', 'INV_DELIV_INFO_MISSING');
2487: fnd_msg_pub.ADD;
2488: RAISE fnd_api.g_exc_unexpected_error;
2489: END;
2490: IF (is_debug) THEN
2491: gmi_reservation_util.println('Process_Line after fetch wdd');

Line 2534: fnd_msg_pub.ADD;

2530: print_debug('No Mtl_Sales_Order ID found for oe header', 'Inv_Pick_Release_PVT.Process_Line');
2531: gmi_reservation_util.println('No Mtl_Sales_Order ID found for oe header');
2532: END IF;
2533: fnd_message.set_name('INV', 'INV_COULD_NOT_GET_MSO_HEADER');
2534: fnd_msg_pub.ADD;
2535: RAISE fnd_api.g_exc_unexpected_error;
2536: END IF;
2537:
2538: l_mso_header_id := INV_CACHE.mso_rec.sales_order_id;

Line 2652: fnd_msg_pub.ADD;

2648: END IF;
2649: ROLLBACK TO process_line_pvt;
2650: fnd_message.set_name('INV', 'INV_PRINT_PICK_SLIP_FAILED');
2651: fnd_message.set_token('PICK_SLIP_NUM', TO_CHAR(l_pick_slip_number));
2652: fnd_msg_pub.ADD;
2653: RAISE fnd_api.g_exc_unexpected_error;
2654: END IF;
2655: END IF; -- ready to print
2656:

Line 2745: fnd_msg_pub.count_and_get(p_count => l_count, p_data => l_message, p_encoded => 'F');

2741: /*As a part of bug 1826833, commented the line below and
2742: uncommented the the message printing code below
2743: */
2744: -- print_debug(replace(x_msg_data,chr(0),'#'), 'Inv_Pick_Release_PVT.Process_Line');
2745: fnd_msg_pub.count_and_get(p_count => l_count, p_data => l_message, p_encoded => 'F');
2746:
2747: IF (l_count = 0) THEN
2748: IF (is_debug) THEN
2749: print_debug('no message from detailing engine',

Line 2758: l_message := fnd_msg_pub.get(i, 'F');

2754: print_debug(l_message, 'Inv_Pick_Release_PVT.Process_Line');
2755: END IF;
2756: ELSE
2757: FOR i IN 1 .. l_count LOOP
2758: l_message := fnd_msg_pub.get(i, 'F');
2759: IF (is_debug) THEN
2760: print_debug(l_message, 'Inv_Pick_Release_PVT.Process_Line');
2761: END IF;
2762: END LOOP;

Line 2764: fnd_msg_pub.delete_msg();

2760: print_debug(l_message, 'Inv_Pick_Release_PVT.Process_Line');
2761: END IF;
2762: END LOOP;
2763:
2764: fnd_msg_pub.delete_msg();
2765: END IF;
2766:
2767: ROLLBACK TO process_line_pvt;
2768:

Line 2781: fnd_msg_pub.ADD;

2777:
2778: fnd_message.set_name('INV', 'INV_DETAILING_FAILED');
2779: fnd_message.set_token('LINE_NUM', TO_CHAR(p_mo_line_rec.line_number));
2780: fnd_message.set_token('MO_NUMBER', l_request_number);
2781: fnd_msg_pub.ADD;
2782: RAISE fnd_api.g_exc_unexpected_error;
2783: END IF;
2784:
2785: IF (is_debug) THEN

Line 2853: fnd_msg_pub.ADD;

2849: print_debug('Error - could not pick full', 'Inv_Pick_Release_PVT.Process_Line');
2850: END IF;
2851: ROLLBACK TO process_line_pvt;
2852: fnd_message.set_name('INV', 'INV_COULD_NOT_PICK_FULL');
2853: fnd_msg_pub.ADD;
2854: RAISE fnd_api.g_exc_unexpected_error;
2855: ELSE
2856: -- Set a flag to later set the return status for success,
2857: -- but only partially detailed

Line 2897: fnd_msg_pub.ADD;

2893: print_debug('Error - could not pick full', 'Inv_Pick_Release_PVT.Process_Line');
2894: END IF;
2895: ROLLBACK TO process_line_pvt;
2896: fnd_message.set_name('INV', 'INV_COULD_NOT_PICK_FULL');
2897: fnd_msg_pub.ADD;
2898: RAISE fnd_api.g_exc_unexpected_error;
2899: ELSE
2900: -- Set a flag to later set the return status for success,
2901: -- but only partially detailed

Line 3096: fnd_msg_pub.ADD;

3092: END IF;
3093: fnd_message.set_name('INV', 'INV-CANNOT CONVERT');
3094: fnd_message.set_token('UOM', l_secondary_uom);
3095: fnd_message.set_token('ROUTINE', 'Pick Release process');
3096: fnd_msg_pub.ADD;
3097: RAISE fnd_api.g_exc_unexpected_error;
3098: END IF;
3099: ELSE
3100: l_new_rsv_quantity := inv_convert.inv_um_convert(

Line 3118: fnd_msg_pub.ADD;

3114: END IF;
3115: fnd_message.set_name('INV', 'INV-CANNOT CONVERT');
3116: fnd_message.set_token('UOM', l_primary_uom);
3117: fnd_message.set_token('ROUTINE', 'Pick Release process');
3118: fnd_msg_pub.ADD;
3119: RAISE fnd_api.g_exc_unexpected_error;
3120: END IF;
3121: END IF;
3122:

Line 3237: fnd_msg_pub.ADD;

3233: END IF;
3234: fnd_message.set_name('INV', 'INV-CANNOT CONVERT');
3235: fnd_message.set_token('UOM', l_secondary_uom);
3236: fnd_message.set_token('ROUTINE', 'Pick Release process');
3237: fnd_msg_pub.ADD;
3238: RAISE fnd_api.g_exc_unexpected_error;
3239: END IF;
3240: ELSE
3241: l_new_rsv_quantity := inv_convert.inv_um_convert(

Line 3258: fnd_msg_pub.ADD;

3254: END IF;
3255: fnd_message.set_name('INV', 'INV-CANNOT CONVERT');
3256: fnd_message.set_token('UOM', l_primary_uom);
3257: fnd_message.set_token('ROUTINE', 'Pick Release process');
3258: fnd_msg_pub.ADD;
3259: RAISE fnd_api.g_exc_unexpected_error;
3260: END IF;
3261: END IF;
3262: IF (is_debug) THEN

Line 3300: fnd_msg_pub.ADD;

3296: IF (is_debug) THEN
3297: print_debug('error in update reservation', 'Inv_Pick_Release_PVT.Process_Reservations');
3298: END IF;
3299: fnd_message.set_name('INV', 'INV_UPD_RSV_FAILED');
3300: fnd_msg_pub.ADD;
3301: RAISE fnd_api.g_exc_unexpected_error;
3302: END IF;
3303:
3304: /* inv_rsv_synch.for_update(

Line 3493: fnd_msg_pub.ADD;

3489: END IF;
3490: fnd_message.set_name('INV', 'INV-CANNOT CONVERT');
3491: fnd_message.set_token('UOM', l_secondary_uom);
3492: fnd_message.set_token('ROUTINE', 'Pick Release process');
3493: fnd_msg_pub.ADD;
3494: RAISE fnd_api.g_exc_unexpected_error;
3495: END IF;
3496: ELSE
3497: l_rsv_detailed_qty_conv := inv_convert.inv_um_convert(

Line 3513: fnd_msg_pub.ADD;

3509: END IF;
3510: fnd_message.set_name('INV', 'INV-CANNOT CONVERT');
3511: fnd_message.set_token('UOM', l_primary_uom);
3512: fnd_message.set_token('ROUTINE', 'Pick Release process');
3513: fnd_msg_pub.ADD;
3514: RAISE fnd_api.g_exc_unexpected_error;
3515: END IF;
3516: END IF;
3517: -- End of Bug Fix 5624514

Line 3649: fnd_msg_pub.ADD;

3645:
3646: IF l_api_return_status <> fnd_api.g_ret_sts_success OR l_pick_slip_number = -1 THEN
3647: ROLLBACK TO process_line_pvt;
3648: fnd_message.set_name('INV', 'INV_NO_PICK_SLIP_NUMBER');
3649: fnd_msg_pub.ADD;
3650: RAISE fnd_api.g_exc_unexpected_error;
3651: END IF;
3652: IF ( l_pick_slip_mode <> 'I' ) THEN
3653: WSH_INV_INTEGRATION_GRP.FIND_PRINTER

Line 3731: fnd_msg_pub.ADD;

3727: IF l_api_return_status <> fnd_api.g_ret_sts_success THEN
3728: ROLLBACK TO process_line_pvt;
3729: fnd_message.set_name('INV', 'INV_PRINT_PICK_SLIP_FAILED');
3730: fnd_message.set_token('PICK_SLIP_NUM', TO_CHAR(l_pick_slip_number));
3731: fnd_msg_pub.ADD;
3732: RAISE fnd_api.g_exc_unexpected_error;
3733: END IF;
3734: END IF;
3735: END IF; -- end the patchset J and WMS org check

Line 3777: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

3773: x_detail_rec_count := l_num_detail_recs;
3774: EXCEPTION
3775: WHEN fnd_api.g_exc_error THEN
3776: x_return_status := fnd_api.g_ret_sts_error;
3777: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3778: WHEN fnd_api.g_exc_unexpected_error THEN
3779: x_return_status := fnd_api.g_ret_sts_unexp_error;
3780: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3781: WHEN OTHERS THEN

Line 3780: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

3776: x_return_status := fnd_api.g_ret_sts_error;
3777: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3778: WHEN fnd_api.g_exc_unexpected_error THEN
3779: x_return_status := fnd_api.g_ret_sts_unexp_error;
3780: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3781: WHEN OTHERS THEN
3782: x_return_status := fnd_api.g_ret_sts_unexp_error;
3783:
3784: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

Line 3784: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

3780: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3781: WHEN OTHERS THEN
3782: x_return_status := fnd_api.g_ret_sts_unexp_error;
3783:
3784: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3785: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
3786: END IF;
3787:
3788: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 3785: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);

3781: WHEN OTHERS THEN
3782: x_return_status := fnd_api.g_ret_sts_unexp_error;
3783:
3784: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3785: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
3786: END IF;
3787:
3788: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3789:

Line 3788: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

3784: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3785: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
3786: END IF;
3787:
3788: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3789:
3790: END process_line;
3791: END inv_pick_release_pvt;