569:
570: -- Initialize return status
571: x_return_status := fnd_api.g_ret_sts_success;
572:
573: -- Standard call to check for call compatibility
574: IF NOT fnd_api.compatible_api_call(l_api_version_number
575: , p_api_version_number
576: , l_api_name
577: , G_PKG_NAME
4374: IF (l_debug = 1) then
4375: debug_print('Inside Query reservations...');
4376: END IF;
4377:
4378: -- Standard call to check for call compatibility
4379: IF NOT fnd_api.compatible_api_call(l_api_version_number, p_api_version_number, l_api_name, g_pkg_name) THEN
4380: RAISE fnd_api.g_exc_unexpected_error;
4381: END IF;
4382:
7746: debug_print('Inside create reservation... ');
7747: END IF;
7748:
7749: --
7750: -- Standard call to check for call compatibility
7751: IF NOT fnd_api.compatible_api_call(l_api_version_number, p_api_version_number, l_api_name, g_pkg_name) THEN
7752: RAISE fnd_api.g_exc_unexpected_error;
7753: END IF;
7754:
9237: l_secondary_quantity_reserved NUMBER; -- INVCONV
9238: l_debug NUMBER;
9239:
9240: BEGIN
9241: -- Standard call to check for call compatibility
9242: IF NOT fnd_api.compatible_api_call
9243: (l_api_version_number
9244: , p_api_version_number
9245: , l_api_name
9463: debug_print('Inside update reservation...');
9464: END IF;
9465:
9466:
9467: -- Standard call to check for call compatibility
9468: IF NOT fnd_api.compatible_api_call(l_api_version_number, p_api_version_number, l_api_name, g_pkg_name) THEN
9469: RAISE fnd_api.g_exc_unexpected_error;
9470: END IF;
9471:
11082: l_serial_number_table inv_reservation_global.serial_number_tbl_type;
11083: l_rsv_rec inv_reservation_global.mtl_reservation_rec_type;
11084: /*** End R12 }} ***/
11085: BEGIN
11086: -- Standard call to check for call compatibility
11087: IF NOT fnd_api.compatible_api_call(l_api_version_number, p_api_version_number, l_api_name, g_pkg_name) THEN
11088: RAISE fnd_api.g_exc_unexpected_error;
11089: END IF;
11090:
11870: l_debug := g_debug;
11871: IF (l_debug = 1) THEN
11872: debug_print('Inside delete reservation...');
11873: END IF;
11874: -- Standard call to check for call compatibility
11875: IF NOT fnd_api.compatible_api_call(l_api_version_number, p_api_version_number, l_api_name, g_pkg_name) THEN
11876: RAISE fnd_api.g_exc_unexpected_error;
11877: END IF;
11878:
12211: l_dummy_serial_number inv_reservation_global.serial_number_tbl_type;
12212: l_reservation_id NUMBER;
12213:
12214: BEGIN
12215: -- Standard call to check for call compatibility
12216: IF NOT fnd_api.compatible_api_call
12217: (l_api_version_number
12218: , p_api_version_number
12219: , l_api_name
12448: IF (l_debug = 1) THEN
12449: debug_print('Inside transfer reservation...');
12450: END IF;
12451:
12452: -- Standard call to check for call compatibility
12453: IF NOT fnd_api.compatible_api_call(l_api_version_number, p_api_version_number, l_api_name, g_pkg_name) THEN
12454: RAISE fnd_api.g_exc_unexpected_error;
12455: END IF;
12456:
16145: BEGIN
16146: x_error_code := inv_reservation_global.g_err_unexpected;
16147:
16148: --
16149: -- Standard call to check for call compatibility
16150: IF NOT fnd_api.compatible_api_call(l_api_version_number, p_api_version_number, l_api_name, g_pkg_name) THEN
16151: RAISE fnd_api.g_exc_unexpected_error;
16152: END IF;
16153:
16579: fnd_msg_pub.ADD;
16580: RAISE FND_API.G_EXC_ERROR;
16581: END IF;
16582:
16583: -- Standard check of p_commit.
16584: IF fnd_api.to_boolean(p_commit) THEN
16585: COMMIT WORK;
16586: END IF;
16587: EXCEPTION
16733: AND wdd2.released_status = 'X'); -- For LPN reuse ER : 6845650
16734:
16735: l_debug number;
16736: BEGIN
16737: -- Standard Start of API savepoint
16738: SAVEPOINT transfer_lpn_trx_reservation;
16739: -- Use cache to get value for l_debug
16740: IF g_is_pickrelease_set IS NULL THEN
16741: g_is_pickrelease_set := 2;