DBA Data[Home] [Help]

APPS.INV_REPLENISH_DETAIL_PUB dependencies on FND_MSG_PUB

Line 265: fnd_msg_pub.ADD;

261: WHERE organization_id = l_trolin_tbl(1).organization_id;
262: EXCEPTION
263: WHEN NO_DATA_FOUND THEN
264: fnd_message.set_name('INV', 'INV_AUTO_PICK_CONFIRM_PARAM');
265: fnd_msg_pub.ADD;
266: RAISE fnd_api.g_exc_unexpected_error;
267: END;
268:
269: BEGIN

Line 285: fnd_msg_pub.ADD;

281:
282: EXCEPTION
283: WHEN NO_DATA_FOUND THEN
284: fnd_message.set_name('INV', 'INV_AUTO_PICK_CONFIRM_PARAM');
285: fnd_msg_pub.ADD;
286: RAISE fnd_api.g_exc_unexpected_error;
287: END;
288: END IF;
289:

Line 363: fnd_msg_pub.ADD;

359: IF (l_detail_rec_count <= 0 AND l_auto_pick_flag = 'Y') THEN
360: fnd_message.set_name('INV', 'INV_DETAILING_FAILED');
361: fnd_message.set_token('LINE_NUM', l_trolin_tbl(1).line_number);
362: fnd_message.set_token('MO_NUMBER', l_request_number);
363: fnd_msg_pub.ADD;
364: RAISE fnd_api.g_exc_error;
365: END IF;
366:
367: /*Bug 1588529*/

Line 392: fnd_msg_pub.ADD;

388:
389: IF (l_mold_tbl.COUNT = 0) THEN
390: l_return_status := fnd_api.g_ret_sts_unexp_error;
391: fnd_message.set_name('INV', 'INV_PICK_RELEASE_ERROR');
392: fnd_msg_pub.ADD;
393: RAISE fnd_api.g_exc_unexpected_error;
394: ELSE
395: IF (l_debug = 1) THEN
396: print_debug('number of mold record is ' || l_mold_tbl.COUNT);

Line 599: fnd_msg_pub.ADD;

595: IF (l_debug = 1) THEN
596: print_debug('failed to print labels');
597: END IF;
598: fnd_message.set_name('WMS', 'WMS_PRINT_LABEL_FAIL');
599: fnd_msg_pub.ADD;
600: END IF;
601: END IF;
602: EXCEPTION
603: WHEN OTHERS THEN

Line 608: fnd_msg_pub.ADD;

604: IF (l_debug = 1) THEN
605: print_debug('Exception occured while calling print_label');
606: END IF;
607: fnd_message.set_name('WMS', 'WMS_PRINT_LABEL_FAIL');
608: fnd_msg_pub.ADD;
609: END;
610: END IF;
611: --End Bug 6696594
612:

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

872: END IF;
873: EXCEPTION
874: WHEN fnd_api.g_exc_error THEN
875: x_return_status := fnd_api.g_ret_sts_error;
876: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
877: WHEN fnd_api.g_exc_unexpected_error THEN
878: x_return_status := fnd_api.g_ret_sts_unexp_error;
879: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
880: WHEN OTHERS THEN

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

875: x_return_status := fnd_api.g_ret_sts_error;
876: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
877: WHEN fnd_api.g_exc_unexpected_error THEN
878: x_return_status := fnd_api.g_ret_sts_unexp_error;
879: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
880: WHEN OTHERS THEN
881: x_return_status := fnd_api.g_ret_sts_unexp_error;
882:
883: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

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

879: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
880: WHEN OTHERS THEN
881: x_return_status := fnd_api.g_ret_sts_unexp_error;
882:
883: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
884: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Line_Details_PUB');
885: END IF;
886:
887: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

Line 884: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Line_Details_PUB');

880: WHEN OTHERS THEN
881: x_return_status := fnd_api.g_ret_sts_unexp_error;
882:
883: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
884: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Line_Details_PUB');
885: END IF;
886:
887: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
888: END line_details_pub;

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

883: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
884: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Line_Details_PUB');
885: END IF;
886:
887: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
888: END line_details_pub;
889:
890: PROCEDURE assign_expenditure_org(p_transaction_temp_id NUMBER) IS
891: l_transaction_type_id NUMBER;

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

1174: x_return_status := fnd_api.g_ret_sts_success;
1175: EXCEPTION
1176: WHEN fnd_api.g_exc_error THEN
1177: x_return_status := fnd_api.g_ret_sts_error;
1178: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1179: WHEN fnd_api.g_exc_unexpected_error THEN
1180: x_return_status := fnd_api.g_ret_sts_unexp_error;
1181: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1182: WHEN OTHERS THEN

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

1177: x_return_status := fnd_api.g_ret_sts_error;
1178: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1179: WHEN fnd_api.g_exc_unexpected_error THEN
1180: x_return_status := fnd_api.g_ret_sts_unexp_error;
1181: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1182: WHEN OTHERS THEN
1183: x_return_status := fnd_api.g_ret_sts_unexp_error;
1184:
1185: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

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

1181: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1182: WHEN OTHERS THEN
1183: x_return_status := fnd_api.g_ret_sts_unexp_error;
1184:
1185: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1186: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Line_Details_PUB');
1187: END IF;
1188: END delete_details;
1189:

Line 1186: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Line_Details_PUB');

1182: WHEN OTHERS THEN
1183: x_return_status := fnd_api.g_ret_sts_unexp_error;
1184:
1185: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1186: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Line_Details_PUB');
1187: END IF;
1188: END delete_details;
1189:
1190: ---------------------------------------------------

Line 1429: fnd_msg_pub.ADD;

1425: EXCEPTION
1426: WHEN fnd_api.g_exc_error THEN
1427: x_return_status := fnd_api.g_ret_sts_error;
1428: fnd_message.set_name('INV', 'SPLIT_LINE_DETAIL_ERROR');
1429: fnd_msg_pub.ADD;
1430: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1431: WHEN fnd_api.g_exc_unexpected_error THEN
1432: x_return_status := fnd_api.g_ret_sts_unexp_error;
1433: fnd_message.set_name('INV', 'SPLIT_LINE_DETAIL_ERROR');

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

1426: WHEN fnd_api.g_exc_error THEN
1427: x_return_status := fnd_api.g_ret_sts_error;
1428: fnd_message.set_name('INV', 'SPLIT_LINE_DETAIL_ERROR');
1429: fnd_msg_pub.ADD;
1430: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1431: WHEN fnd_api.g_exc_unexpected_error THEN
1432: x_return_status := fnd_api.g_ret_sts_unexp_error;
1433: fnd_message.set_name('INV', 'SPLIT_LINE_DETAIL_ERROR');
1434: fnd_msg_pub.ADD;

Line 1434: fnd_msg_pub.ADD;

1430: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1431: WHEN fnd_api.g_exc_unexpected_error THEN
1432: x_return_status := fnd_api.g_ret_sts_unexp_error;
1433: fnd_message.set_name('INV', 'SPLIT_LINE_DETAIL_ERROR');
1434: fnd_msg_pub.ADD;
1435: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1436: WHEN OTHERS THEN
1437: x_return_status := fnd_api.g_ret_sts_unexp_error;
1438:

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

1431: WHEN fnd_api.g_exc_unexpected_error THEN
1432: x_return_status := fnd_api.g_ret_sts_unexp_error;
1433: fnd_message.set_name('INV', 'SPLIT_LINE_DETAIL_ERROR');
1434: fnd_msg_pub.ADD;
1435: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1436: WHEN OTHERS THEN
1437: x_return_status := fnd_api.g_ret_sts_unexp_error;
1438:
1439: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

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

1435: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1436: WHEN OTHERS THEN
1437: x_return_status := fnd_api.g_ret_sts_unexp_error;
1438:
1439: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1440: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Split_Line_Details');
1441: END IF;
1442: END;
1443:

Line 1440: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Split_Line_Details');

1436: WHEN OTHERS THEN
1437: x_return_status := fnd_api.g_ret_sts_unexp_error;
1438:
1439: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1440: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Split_Line_Details');
1441: END IF;
1442: END;
1443:
1444: PROCEDURE auto_pick_confirm(

Line 1496: fnd_msg_pub.ADD;

1492: EXCEPTION
1493: WHEN fnd_api.g_exc_error THEN
1494: x_return_status := fnd_api.g_ret_sts_error;
1495: fnd_message.set_name('INV', 'AUTO_PICK_CONFIRM_ERROR');
1496: fnd_msg_pub.ADD;
1497: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1498: WHEN fnd_api.g_exc_unexpected_error THEN
1499: x_return_status := fnd_api.g_ret_sts_unexp_error;
1500: fnd_message.set_name('INV', 'AUTO_PICK_CONFIRM_ERROR');

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

1493: WHEN fnd_api.g_exc_error THEN
1494: x_return_status := fnd_api.g_ret_sts_error;
1495: fnd_message.set_name('INV', 'AUTO_PICK_CONFIRM_ERROR');
1496: fnd_msg_pub.ADD;
1497: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1498: WHEN fnd_api.g_exc_unexpected_error THEN
1499: x_return_status := fnd_api.g_ret_sts_unexp_error;
1500: fnd_message.set_name('INV', 'AUTO_PICK_CONFIRM_ERROR');
1501: fnd_msg_pub.ADD;

Line 1501: fnd_msg_pub.ADD;

1497: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1498: WHEN fnd_api.g_exc_unexpected_error THEN
1499: x_return_status := fnd_api.g_ret_sts_unexp_error;
1500: fnd_message.set_name('INV', 'AUTO_PICK_CONFIRM_ERROR');
1501: fnd_msg_pub.ADD;
1502: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1503: WHEN OTHERS THEN
1504: x_return_status := fnd_api.g_ret_sts_unexp_error;
1505:

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

1498: WHEN fnd_api.g_exc_unexpected_error THEN
1499: x_return_status := fnd_api.g_ret_sts_unexp_error;
1500: fnd_message.set_name('INV', 'AUTO_PICK_CONFIRM_ERROR');
1501: fnd_msg_pub.ADD;
1502: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1503: WHEN OTHERS THEN
1504: x_return_status := fnd_api.g_ret_sts_unexp_error;
1505:
1506: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

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

1502: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1503: WHEN OTHERS THEN
1504: x_return_status := fnd_api.g_ret_sts_unexp_error;
1505:
1506: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1507: fnd_msg_pub.add_exc_msg(g_pkg_name, 'AUTO_PICK_CONFIRM');
1508: END IF;
1509: END;
1510:

Line 1507: fnd_msg_pub.add_exc_msg(g_pkg_name, 'AUTO_PICK_CONFIRM');

1503: WHEN OTHERS THEN
1504: x_return_status := fnd_api.g_ret_sts_unexp_error;
1505:
1506: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1507: fnd_msg_pub.add_exc_msg(g_pkg_name, 'AUTO_PICK_CONFIRM');
1508: END IF;
1509: END;
1510:
1511: PROCEDURE reserve_unconfirm_qty(

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

1539: x_return_status := l_return_status;
1540: EXCEPTION
1541: WHEN fnd_api.g_exc_error THEN
1542: x_return_status := fnd_api.g_ret_sts_error;
1543: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1544: WHEN fnd_api.g_exc_unexpected_error THEN
1545: x_return_status := fnd_api.g_ret_sts_unexp_error;
1546: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1547: WHEN OTHERS THEN

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

1542: x_return_status := fnd_api.g_ret_sts_error;
1543: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1544: WHEN fnd_api.g_exc_unexpected_error THEN
1545: x_return_status := fnd_api.g_ret_sts_unexp_error;
1546: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1547: WHEN OTHERS THEN
1548: x_return_status := fnd_api.g_ret_sts_unexp_error;
1549:
1550: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

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

1546: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1547: WHEN OTHERS THEN
1548: x_return_status := fnd_api.g_ret_sts_unexp_error;
1549:
1550: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1551: fnd_msg_pub.add_exc_msg(g_pkg_name, 'AUTO_PICK_CONFIRM');
1552: END IF;
1553: END;
1554:

Line 1551: fnd_msg_pub.add_exc_msg(g_pkg_name, 'AUTO_PICK_CONFIRM');

1547: WHEN OTHERS THEN
1548: x_return_status := fnd_api.g_ret_sts_unexp_error;
1549:
1550: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1551: fnd_msg_pub.add_exc_msg(g_pkg_name, 'AUTO_PICK_CONFIRM');
1552: END IF;
1553: END;
1554:
1555: PROCEDURE changed_from_subinventory(

Line 1732: l_message := fnd_msg_pub.get(l_count,'T');

1728: print_debug('l_return_status is ' || l_return_status);
1729: END IF;
1730:
1731: /*for l_count in 1..x_msg_count loop
1732: l_message := fnd_msg_pub.get(l_count,'T');
1733: l_message := replace(l_message,chr(0),' ');
1734: IF (l_debug = 1) THEN
1735: print_debug(l_message);
1736: END IF;

Line 1792: l_message := fnd_msg_pub.get(l_count,'T');

1788: print_debug('l_return_status is ' || l_return_status);
1789: END IF;
1790:
1791: /*for l_count in 1..x_msg_count loop
1792: l_message := fnd_msg_pub.get(l_count,'T');
1793: l_message := replace(l_message,chr(0),' ');
1794: IF (l_debug = 1) THEN
1795: print_debug(l_message);
1796: END IF;

Line 2040: fnd_msg_pub.ADD;

2036: END LOOP;
2037: EXCEPTION
2038: WHEN record_locked THEN
2039: fnd_message.set_name('INV', 'INV_MO_LOCKED_SO');
2040: fnd_msg_pub.ADD;
2041: RAISE fnd_api.g_exc_error;
2042: END;
2043:
2044: SELECT NVL(SUM(ABS(transaction_quantity)), 0), NVL(SUM(ABS(secondary_transaction_quantity)), 0)

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

2097: EXCEPTION
2098: WHEN fnd_api.g_exc_error THEN
2099: x_return_status := fnd_api.g_ret_sts_error;
2100: x_allowed := 'N';
2101: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2102: WHEN fnd_api.g_exc_unexpected_error THEN
2103: x_return_status := fnd_api.g_ret_sts_error;
2104: x_allowed := 'N';
2105: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);

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

2101: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2102: WHEN fnd_api.g_exc_unexpected_error THEN
2103: x_return_status := fnd_api.g_ret_sts_error;
2104: x_allowed := 'N';
2105: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2106: WHEN OTHERS THEN
2107: x_return_status := fnd_api.g_ret_sts_unexp_error;
2108: x_allowed := 'N';
2109:

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

2106: WHEN OTHERS THEN
2107: x_return_status := fnd_api.g_ret_sts_unexp_error;
2108: x_allowed := 'N';
2109:
2110: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2111: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
2112: END IF;
2113: END check_shipping_tolerances;
2114:

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

2107: x_return_status := fnd_api.g_ret_sts_unexp_error;
2108: x_allowed := 'N';
2109:
2110: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2111: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
2112: END IF;
2113: END check_shipping_tolerances;
2114:
2115: -- OVPK

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

2372: END IF;
2373: EXCEPTION
2374: WHEN fnd_api.g_exc_error THEN
2375: x_return_status := fnd_api.g_ret_sts_error;
2376: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2377: WHEN fnd_api.g_exc_unexpected_error THEN
2378: x_return_status := fnd_api.g_ret_sts_unexp_error;
2379: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2380: WHEN OTHERS THEN

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

2375: x_return_status := fnd_api.g_ret_sts_error;
2376: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2377: WHEN fnd_api.g_exc_unexpected_error THEN
2378: x_return_status := fnd_api.g_ret_sts_unexp_error;
2379: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2380: WHEN OTHERS THEN
2381: x_return_status := fnd_api.g_ret_sts_unexp_error;
2382:
2383: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

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

2379: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2380: WHEN OTHERS THEN
2381: x_return_status := fnd_api.g_ret_sts_unexp_error;
2382:
2383: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2384: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Get_Overpick_Qty');
2385: END IF;
2386: END get_overpick_qty;
2387:

Line 2384: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Get_Overpick_Qty');

2380: WHEN OTHERS THEN
2381: x_return_status := fnd_api.g_ret_sts_unexp_error;
2382:
2383: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2384: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Get_Overpick_Qty');
2385: END IF;
2386: END get_overpick_qty;
2387:
2388: -- OVPK

Line 2684: fnd_msg_pub.ADD;

2680: END IF;
2681:
2682: fnd_message.set_name('INV', 'INV_OVERSHIP_TOLERANCE');
2683: x_ovpk_error_code := 3;
2684: fnd_msg_pub.ADD;
2685: RAISE fnd_api.g_exc_error;
2686: ELSIF (l_max_qty_allowed2 <> -1
2687: AND (l_this_alloc2 + p_overpicked_qty2) > l_max_qty_allowed2) AND l_fulfill_base='S' THEN
2688: -- Show ERROR : pickedQty is not within overship tolerance level

Line 2696: fnd_msg_pub.ADD;

2692: END IF;
2693:
2694: fnd_message.set_name('INV', 'INV_OVERSHIP_TOLERANCE');
2695: x_ovpk_error_code := 3;
2696: fnd_msg_pub.ADD;
2697: RAISE fnd_api.g_exc_error;
2698:
2699: ELSE
2700: --Allow the user to overpick

Line 2730: fnd_msg_pub.ADD;

2726: END IF;
2727:
2728: fnd_message.set_name('INV', 'INV_LACK_MTRL_TO_OVERPICK');
2729: x_ovpk_error_code := 2;
2730: fnd_msg_pub.ADD;
2731: RAISE fnd_api.g_exc_error;*/
2732: --END IF;
2733: ELSE
2734: --ERROR Overpicking is not allowed in this org and for this Move Order type

Line 2742: fnd_msg_pub.ADD;

2738: END IF;
2739:
2740: fnd_message.set_name('INV', 'INV_OVERPICK_NOT_ALLOWED');
2741: x_ovpk_error_code := 1;
2742: fnd_msg_pub.ADD;
2743: RAISE fnd_api.g_exc_error;
2744: END IF;
2745: EXCEPTION
2746: WHEN fnd_api.g_exc_error THEN

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

2744: END IF;
2745: EXCEPTION
2746: WHEN fnd_api.g_exc_error THEN
2747: x_return_status := fnd_api.g_ret_sts_error;
2748: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2749: WHEN fnd_api.g_exc_unexpected_error THEN
2750: x_return_status := fnd_api.g_ret_sts_unexp_error;
2751: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2752: WHEN OTHERS THEN

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

2747: x_return_status := fnd_api.g_ret_sts_error;
2748: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2749: WHEN fnd_api.g_exc_unexpected_error THEN
2750: x_return_status := fnd_api.g_ret_sts_unexp_error;
2751: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2752: WHEN OTHERS THEN
2753: x_return_status := fnd_api.g_ret_sts_unexp_error;
2754:
2755: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

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

2751: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
2752: WHEN OTHERS THEN
2753: x_return_status := fnd_api.g_ret_sts_unexp_error;
2754:
2755: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2756: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Check_Overpick');
2757: END IF;
2758: END check_overpick;
2759:

Line 2756: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Check_Overpick');

2752: WHEN OTHERS THEN
2753: x_return_status := fnd_api.g_ret_sts_unexp_error;
2754:
2755: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
2756: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Check_Overpick');
2757: END IF;
2758: END check_overpick;
2759:
2760:

Line 3000: fnd_msg_pub.ADD;

2996: END IF;
2997:
2998: fnd_message.set_name('INV', 'INV_OVERSHIP_TOLERANCE');
2999: x_ovpk_error_code := 3;
3000: fnd_msg_pub.ADD;
3001: RAISE fnd_api.g_exc_error;
3002: ELSE
3003: --Allow the user to overpick
3004: x_check_overpick_passed := 'Y';

Line 3033: fnd_msg_pub.ADD;

3029: END IF;
3030:
3031: fnd_message.set_name('INV', 'INV_LACK_MTRL_TO_OVERPICK');
3032: x_ovpk_error_code := 2;
3033: fnd_msg_pub.ADD;
3034: RAISE fnd_api.g_exc_error;
3035: END IF;
3036: ELSE
3037: --ERROR Overpicking is not allowed in this org and for this Move Order type

Line 3045: fnd_msg_pub.ADD;

3041: END IF;
3042:
3043: fnd_message.set_name('INV', 'INV_OVERPICK_NOT_ALLOWED');
3044: x_ovpk_error_code := 1;
3045: fnd_msg_pub.ADD;
3046: RAISE fnd_api.g_exc_error;
3047: END IF;
3048: EXCEPTION
3049: WHEN fnd_api.g_exc_error THEN

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

3047: END IF;
3048: EXCEPTION
3049: WHEN fnd_api.g_exc_error THEN
3050: x_return_status := fnd_api.g_ret_sts_error;
3051: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3052: WHEN fnd_api.g_exc_unexpected_error THEN
3053: x_return_status := fnd_api.g_ret_sts_unexp_error;
3054: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3055: WHEN OTHERS THEN

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

3050: x_return_status := fnd_api.g_ret_sts_error;
3051: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3052: WHEN fnd_api.g_exc_unexpected_error THEN
3053: x_return_status := fnd_api.g_ret_sts_unexp_error;
3054: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3055: WHEN OTHERS THEN
3056: x_return_status := fnd_api.g_ret_sts_unexp_error;
3057:
3058: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

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

3054: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3055: WHEN OTHERS THEN
3056: x_return_status := fnd_api.g_ret_sts_unexp_error;
3057:
3058: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3059: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Check_Overpick');
3060: END IF;
3061: END check_overpick;
3062:

Line 3059: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Check_Overpick');

3055: WHEN OTHERS THEN
3056: x_return_status := fnd_api.g_ret_sts_unexp_error;
3057:
3058: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3059: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Check_Overpick');
3060: END IF;
3061: END check_overpick;
3062:
3063:

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

3428: END IF;
3429: EXCEPTION
3430: WHEN fnd_api.g_exc_error THEN
3431: x_return_status := fnd_api.g_ret_sts_error;
3432: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3433: WHEN fnd_api.g_exc_unexpected_error THEN
3434: x_return_status := fnd_api.g_ret_sts_unexp_error;
3435: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3436: WHEN OTHERS THEN

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

3431: x_return_status := fnd_api.g_ret_sts_error;
3432: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3433: WHEN fnd_api.g_exc_unexpected_error THEN
3434: x_return_status := fnd_api.g_ret_sts_unexp_error;
3435: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3436: WHEN OTHERS THEN
3437: x_return_status := fnd_api.g_ret_sts_unexp_error;
3438:
3439: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

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

3435: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3436: WHEN OTHERS THEN
3437: x_return_status := fnd_api.g_ret_sts_unexp_error;
3438:
3439: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3440: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Get_Overpick_Qty');
3441: END IF;
3442: END get_overpick_qty_lot;
3443:

Line 3440: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Get_Overpick_Qty');

3436: WHEN OTHERS THEN
3437: x_return_status := fnd_api.g_ret_sts_unexp_error;
3438:
3439: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3440: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Get_Overpick_Qty');
3441: END IF;
3442: END get_overpick_qty_lot;
3443:
3444: -- MUOM Fulfillment Project overloaded the procedure

Line 3702: fnd_msg_pub.ADD;

3698: END IF;
3699:
3700: fnd_message.set_name('INV', 'INV_OVERSHIP_TOLERANCE');
3701: x_ovpk_error_code := 3;
3702: fnd_msg_pub.ADD;
3703: RAISE fnd_api.g_exc_error;
3704: ELSIF (l_max_qty_allowed2 <> -1
3705: AND (l_this_alloc2 + p_overpicked_qty2 - l_other_mtlt2) > l_max_qty_allowed2) AND l_fulfill_base='S' THEN
3706: -- Show ERROR : pickedQty is not within overship tolerance level

Line 3714: fnd_msg_pub.ADD;

3710: END IF;
3711:
3712: fnd_message.set_name('INV', 'INV_OVERSHIP_TOLERANCE');
3713: x_ovpk_error_code := 3;
3714: fnd_msg_pub.ADD;
3715: RAISE fnd_api.g_exc_error;
3716: ELSE
3717: --Allow the user to overpick
3718: x_check_overpick_passed := 'Y';

Line 3748: fnd_msg_pub.ADD;

3744: END IF;
3745:
3746: fnd_message.set_name('INV', 'INV_LACK_MTRL_TO_OVERPICK');
3747: x_ovpk_error_code := 2;
3748: fnd_msg_pub.ADD;
3749: RAISE fnd_api.g_exc_error;
3750: END IF;*/
3751: ELSE
3752: --ERROR Overpicking is not allowed in this org and for this Move Order type

Line 3760: fnd_msg_pub.ADD;

3756: END IF;
3757:
3758: fnd_message.set_name('INV', 'INV_OVERPICK_NOT_ALLOWED');
3759: x_ovpk_error_code := 1;
3760: fnd_msg_pub.ADD;
3761: RAISE fnd_api.g_exc_error;
3762: END IF;
3763: EXCEPTION
3764: WHEN fnd_api.g_exc_error THEN

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

3762: END IF;
3763: EXCEPTION
3764: WHEN fnd_api.g_exc_error THEN
3765: x_return_status := fnd_api.g_ret_sts_error;
3766: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3767: WHEN fnd_api.g_exc_unexpected_error THEN
3768: x_return_status := fnd_api.g_ret_sts_unexp_error;
3769: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3770: WHEN OTHERS THEN

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

3765: x_return_status := fnd_api.g_ret_sts_error;
3766: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3767: WHEN fnd_api.g_exc_unexpected_error THEN
3768: x_return_status := fnd_api.g_ret_sts_unexp_error;
3769: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3770: WHEN OTHERS THEN
3771: x_return_status := fnd_api.g_ret_sts_unexp_error;
3772:
3773: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN

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

3769: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3770: WHEN OTHERS THEN
3771: x_return_status := fnd_api.g_ret_sts_unexp_error;
3772:
3773: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3774: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Check_Overpick');
3775: END IF;
3776: END check_overpick_lot;
3777:

Line 3774: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Check_Overpick');

3770: WHEN OTHERS THEN
3771: x_return_status := fnd_api.g_ret_sts_unexp_error;
3772:
3773: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
3774: fnd_msg_pub.add_exc_msg(g_pkg_name, 'Check_Overpick');
3775: END IF;
3776: END check_overpick_lot;
3777:
3778: -- The procedure check_overpick_lot is overloaded for MUOM Fulfillment Project.