DBA Data[Home] [Help]

APPS.INV_MISSING_QTY_ACTIONS_ENGINE dependencies on FND_MSG_PUB

Line 288: fnd_msg_pub.ADD;

284: ,l_sec_secondary_qty; --INCONV KKILLAMS
285: IF c_rsv_info%NOTFOUND THEN
286: CLOSE c_rsv_info;
287: fnd_message.set_name('INV','INV-ROW-NOT-FOUND');
288: fnd_msg_pub.ADD;
289: /*Bug:4700706. When the reservation record is deleted somehow by this time we need not
290: deal with the reservation.So we just return. */
291: RETURN;
292: --RAISE fnd_api.g_exc_unexpected_error;

Line 356: fnd_msg_pub.ADD;

352: );
353:
354: IF x_return_status <> fnd_api.g_ret_sts_success THEN
355: fnd_message.set_name('INV', 'INV_UPD_RSV_FAILED');
356: fnd_msg_pub.ADD;
357: RAISE fnd_api.g_exc_unexpected_error;
358: END IF;
359: EXCEPTION
360: WHEN fnd_api.g_exc_error THEN

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

358: END IF;
359: EXCEPTION
360: WHEN fnd_api.g_exc_error THEN
361: x_return_status := fnd_api.g_ret_sts_error;
362: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
363: WHEN fnd_api.g_exc_unexpected_error THEN
364: x_return_status := fnd_api.g_ret_sts_unexp_error;
365: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
366: WHEN OTHERS THEN

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

361: x_return_status := fnd_api.g_ret_sts_error;
362: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
363: WHEN fnd_api.g_exc_unexpected_error THEN
364: x_return_status := fnd_api.g_ret_sts_unexp_error;
365: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
366: WHEN OTHERS THEN
367: x_return_status := fnd_api.g_ret_sts_unexp_error;
368: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
369: fnd_msg_pub.add_exc_msg(g_pkg_name, 'UNDO_PICK_RELEASE');

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

364: x_return_status := fnd_api.g_ret_sts_unexp_error;
365: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
366: WHEN OTHERS THEN
367: x_return_status := fnd_api.g_ret_sts_unexp_error;
368: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
369: fnd_msg_pub.add_exc_msg(g_pkg_name, 'UNDO_PICK_RELEASE');
370: END IF;
371: END backorder_only;
372:

Line 369: fnd_msg_pub.add_exc_msg(g_pkg_name, 'UNDO_PICK_RELEASE');

365: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
366: WHEN OTHERS THEN
367: x_return_status := fnd_api.g_ret_sts_unexp_error;
368: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
369: fnd_msg_pub.add_exc_msg(g_pkg_name, 'UNDO_PICK_RELEASE');
370: END IF;
371: END backorder_only;
372:
373: PROCEDURE split_allocation(

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

584: END IF;
585: EXCEPTION
586: WHEN OTHERS THEN
587: x_return_status := fnd_api.g_ret_sts_unexp_error;
588: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
589: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
590: END IF;
591: IF l_debug = 1 THEN
592: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);

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

585: EXCEPTION
586: WHEN OTHERS THEN
587: x_return_status := fnd_api.g_ret_sts_unexp_error;
588: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
589: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
590: END IF;
591: IF l_debug = 1 THEN
592: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);
593: END IF;

Line 662: fnd_msg_pub.ADD;

658: IF l_debug = 1 THEN
659: print_debug('Error: Querying the Quantity Tree errored out', l_api_name, g_error);
660: END IF;
661: fnd_message.set_name('INV','INV-CANNOT QUERY TREE');
662: fnd_msg_pub.ADD;
663: p_res_qty :=0;
664: p_sec_qty :=0;
665: RETURN;
666: END IF;

Line 777: fnd_msg_pub.ADD;

773: IF l_debug = 1 THEN
774: print_debug('Error: Querying Reservations to check for any existing reservation failed', l_api_name, g_error);
775: END IF;
776: fnd_message.set_name('INV', 'INV_QRY_RSV_FAILED');
777: fnd_msg_pub.ADD;
778: RAISE fnd_api.g_exc_unexpected_error;
779: END IF;
780:
781: IF l_debug = 1 THEN

Line 790: fnd_msg_pub.ADD;

786: IF l_debug = 1 THEN
787: print_debug('Error: Query Reservation returned more than one record', l_api_name, g_error);
788: END IF;
789: fnd_message.set_name('INV', 'INV_NON_UNIQUE_RSV');
790: fnd_msg_pub.ADD;
791: RAISE fnd_api.g_exc_unexpected_error;
792: END IF;
793:
794: l_update_rsv := (l_reservation_count = 1);

Line 844: fnd_msg_pub.ADD;

840: IF l_debug = 1 THEN
841: print_debug('Call to Transfer Reservation API Failed', l_api_name, g_error);
842: END IF;
843: fnd_message.set_name('INV','INV_TRANSFER_RSV_FAILED');
844: fnd_msg_pub.ADD;
845: RAISE fnd_api.g_exc_unexpected_error;
846: END IF;
847:
848: -- The Reservation created below will always be updated in the Reservation created now.

Line 879: fnd_msg_pub.ADD;

875: , p_validation_flag => fnd_api.g_true
876: );
877: IF x_return_status <> fnd_api.g_ret_sts_success THEN
878: fnd_message.set_name('INV','INV_UPDATE_RSV_FAILED');
879: fnd_msg_pub.ADD;
880: RAISE fnd_api.g_exc_unexpected_error;
881: END IF;
882: ELSE
883: l_cc_rsv_rec.primary_reservation_quantity := p_primary_quantity;

Line 908: fnd_msg_pub.ADD;

904: , p_force_reservation_flag => fnd_api.g_false
905: );
906: IF x_return_status <> fnd_api.g_ret_sts_success THEN
907: fnd_message.set_name('INV','INV_CREATE_RSV_FAILED');
908: fnd_msg_pub.ADD;
909: RAISE fnd_api.g_exc_unexpected_error;
910: END IF;
911:
912: /* Since a new Reservation is created, the next Reservation created below should be

Line 953: fnd_msg_pub.ADD;

949: , p_validation_flag => fnd_api.g_true
950: );
951: IF x_return_status <> fnd_api.g_ret_sts_success THEN
952: fnd_message.set_name('INV','INV_UPDATE_RSV_FAILED');
953: fnd_msg_pub.ADD;
954: RAISE fnd_api.g_exc_unexpected_error;
955: END IF;
956: END IF;
957: EXCEPTION

Line 960: fnd_msg_pub.count_and_get(p_encoded=>fnd_api.g_false, p_data => l_msg_data, p_count => l_msg_count);

956: END IF;
957: EXCEPTION
958: WHEN fnd_api.g_exc_error THEN
959: x_return_status := fnd_api.g_ret_sts_error;
960: fnd_msg_pub.count_and_get(p_encoded=>fnd_api.g_false, p_data => l_msg_data, p_count => l_msg_count);
961: IF l_debug = 1 THEN
962: print_debug('Exception: Expected: Message = ' || l_msg_data, l_api_name, g_exception);
963: END IF;
964: WHEN fnd_api.g_exc_unexpected_error THEN

Line 966: fnd_msg_pub.count_and_get(p_encoded=>fnd_api.g_false, p_data => l_msg_data, p_count => l_msg_count);

962: print_debug('Exception: Expected: Message = ' || l_msg_data, l_api_name, g_exception);
963: END IF;
964: WHEN fnd_api.g_exc_unexpected_error THEN
965: x_return_status := fnd_api.g_ret_sts_unexp_error;
966: fnd_msg_pub.count_and_get(p_encoded=>fnd_api.g_false, p_data => l_msg_data, p_count => l_msg_count);
967: IF l_debug = 1 THEN
968: print_debug('Exception: Unexpected: Message = ' || l_msg_data, l_api_name, g_exception);
969: END IF;
970: WHEN OTHERS THEN

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

1133: END IF;
1134: EXCEPTION
1135: WHEN OTHERS THEN
1136: x_return_status := fnd_api.g_ret_sts_unexp_error;
1137: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1138: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
1139: END IF;
1140: IF l_debug = 1 THEN
1141: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);

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

1134: EXCEPTION
1135: WHEN OTHERS THEN
1136: x_return_status := fnd_api.g_ret_sts_unexp_error;
1137: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1138: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
1139: END IF;
1140: IF l_debug = 1 THEN
1141: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);
1142: END IF;

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

1174: END IF;
1175: EXCEPTION
1176: WHEN OTHERS THEN
1177: x_return_status := fnd_api.g_ret_sts_unexp_error;
1178: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1179: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
1180: END IF;
1181: IF l_debug = 1 THEN
1182: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);

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

1175: EXCEPTION
1176: WHEN OTHERS THEN
1177: x_return_status := fnd_api.g_ret_sts_unexp_error;
1178: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1179: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
1180: END IF;
1181: IF l_debug = 1 THEN
1182: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);
1183: END IF;

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

1227: END IF;
1228: EXCEPTION
1229: WHEN OTHERS THEN
1230: x_return_status := fnd_api.g_ret_sts_unexp_error;
1231: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1232: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
1233: END IF;
1234: IF l_debug = 1 THEN
1235: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);

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

1228: EXCEPTION
1229: WHEN OTHERS THEN
1230: x_return_status := fnd_api.g_ret_sts_unexp_error;
1231: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1232: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
1233: END IF;
1234: IF l_debug = 1 THEN
1235: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);
1236: END IF;

Line 1270: fnd_msg_pub.ADD;

1266: IF l_debug = 1 THEN
1267: print_debug('Error: Either TxnTmpID or MOLineID has to be passed', l_api_name, g_error);
1268: END IF;
1269: fnd_message.set_name('INV', 'INV_MISSING_REQUIRED_PARAMETER');
1270: fnd_msg_pub.ADD;
1271: RAISE fnd_api.g_exc_error;
1272: END IF;
1273:
1274: -- Determining the Item Controls.

Line 1288: fnd_msg_pub.ADD;

1284: IF l_debug = 1 THEN
1285: print_debug('Error: Cannot determine the Item Controls', l_api_name, g_error);
1286: END IF;
1287: fnd_message.set_name('INV','INV_INVALID_ITEM_ORG');
1288: fnd_msg_pub.ADD;
1289: RAISE fnd_api.g_exc_error;
1290: END IF;
1291: END IF;
1292:

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

1312: END IF;
1313: EXCEPTION
1314: WHEN fnd_api.g_exc_error THEN
1315: x_return_status := fnd_api.g_ret_sts_error;
1316: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1317: IF l_debug = 1 THEN
1318: print_debug('Exception: Expected Error occurred', l_api_name, g_exception);
1319: END IF;
1320: WHEN fnd_api.g_exc_unexpected_error THEN

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

1318: print_debug('Exception: Expected Error occurred', l_api_name, g_exception);
1319: END IF;
1320: WHEN fnd_api.g_exc_unexpected_error THEN
1321: x_return_status := fnd_api.g_ret_sts_unexp_error;
1322: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1323: IF l_debug = 1 THEN
1324: print_debug('Exception: UnExpected Error occurred', l_api_name, g_exception);
1325: END IF;
1326: WHEN OTHERS THEN

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

1324: print_debug('Exception: UnExpected Error occurred', l_api_name, g_exception);
1325: END IF;
1326: WHEN OTHERS THEN
1327: x_return_status := fnd_api.g_ret_sts_unexp_error;
1328: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1329: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
1330: END IF;
1331: IF l_debug = 1 THEN
1332: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);

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

1325: END IF;
1326: WHEN OTHERS THEN
1327: x_return_status := fnd_api.g_ret_sts_unexp_error;
1328: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1329: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
1330: END IF;
1331: IF l_debug = 1 THEN
1332: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);
1333: END IF;

Line 1392: fnd_msg_pub.ADD;

1388: IF l_debug = 1 THEN
1389: print_debug('Error: Cannot determine the Item Controls', l_api_name, g_error);
1390: END IF;
1391: fnd_message.set_name('INV','INV_INVALID_ITEM_ORG');
1392: fnd_msg_pub.ADD;
1393: RAISE fnd_api.g_exc_error;
1394: END IF;
1395: END IF;
1396:

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

1438: END IF;
1439: EXCEPTION
1440: WHEN fnd_api.g_exc_error THEN
1441: x_return_status := fnd_api.g_ret_sts_error;
1442: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1443: IF l_debug = 1 THEN
1444: print_debug('Exception: Expected Error occurred', l_api_name, g_exception);
1445: END IF;
1446: WHEN fnd_api.g_exc_unexpected_error THEN

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

1444: print_debug('Exception: Expected Error occurred', l_api_name, g_exception);
1445: END IF;
1446: WHEN fnd_api.g_exc_unexpected_error THEN
1447: x_return_status := fnd_api.g_ret_sts_unexp_error;
1448: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1449: IF l_debug = 1 THEN
1450: print_debug('Exception: Unexpected Error occurred', l_api_name, g_exception);
1451: END IF;
1452: WHEN OTHERS THEN

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

1450: print_debug('Exception: Unexpected Error occurred', l_api_name, g_exception);
1451: END IF;
1452: WHEN OTHERS THEN
1453: x_return_status := fnd_api.g_ret_sts_unexp_error;
1454: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1455: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
1456: END IF;
1457: IF l_debug = 1 THEN
1458: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);

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

1451: END IF;
1452: WHEN OTHERS THEN
1453: x_return_status := fnd_api.g_ret_sts_unexp_error;
1454: IF fnd_msg_pub.check_msg_level(fnd_msg_pub.g_msg_lvl_unexp_error) THEN
1455: fnd_msg_pub.add_exc_msg(g_pkg_name, l_api_name);
1456: END IF;
1457: IF l_debug = 1 THEN
1458: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);
1459: END IF;

Line 1513: fnd_msg_pub.ADD;

1509: , to_name => null
1510: );
1511: IF ( l_confirmed_quantity_primary < 0 )THEN
1512: fnd_message.set_name('INV','INV_UOM_CONV_ERROR');
1513: fnd_msg_pub.ADD;
1514: RAISE fnd_api.g_exc_error;
1515: END IF;
1516:
1517: ELSE

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

1530:
1531: EXCEPTION
1532: WHEN fnd_api.g_exc_error THEN
1533: x_return_status := fnd_api.g_ret_sts_error;
1534: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1535: IF l_debug = 1 THEN
1536: print_debug('Exception: Expected Error occurred', l_api_name, g_exception);
1537: END IF;
1538: WHEN OTHERS THEN

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

1536: print_debug('Exception: Expected Error occurred', l_api_name, g_exception);
1537: END IF;
1538: WHEN OTHERS THEN
1539: x_return_status := fnd_api.g_ret_sts_unexp_error;
1540: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
1541: IF l_debug = 1 THEN
1542: print_debug('Exception: Unknown Error occurred: SQLCode = ' || SQLCODE, l_api_name, g_exception);
1543: END IF;
1544: