DBA Data[Home] [Help]

APPS.INV_RCV_INTEGRATION_APIS dependencies on FND_MESSAGE

Line 2019: fnd_message.set_name('INV', 'INV_INVALID_LOT');

2015:
2016: --then raise an error indicating invalid lot number
2017: IF (p_validation_mode = INV_RCV_INTEGRATION_APIS.G_EXISTS_ONLY AND
2018: l_lot_exists = 'N') THEN
2019: fnd_message.set_name('INV', 'INV_INVALID_LOT');
2020: fnd_msg_pub.ADD;
2021: x_return_status := FND_API.g_ret_sts_error;
2022: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2023: print_debug('err: ' || x_msg_data, 9);

Line 2040: fnd_message.set_name('INV', 'INV_LOT_UNIQUE_FAIL');

2036: , p_auto_lot_number => p_lot_number);
2037:
2038: --If the lot is not unique then raise an error
2039: IF NOT l_unique_lot THEN
2040: fnd_message.set_name('INV', 'INV_LOT_UNIQUE_FAIL');
2041: fnd_msg_pub.add;
2042: x_return_status := FND_API.g_ret_sts_error;
2043: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2044: RETURN FALSE;

Line 2058: fnd_message.set_name('INV', 'INV_SHELF_LIFE_ERROR');

2054: WHERE inventory_item_id = p_inventory_item_id
2055: AND organization_id = p_org_id;
2056: EXCEPTION
2057: WHEN NO_DATA_FOUND THEN
2058: fnd_message.set_name('INV', 'INV_SHELF_LIFE_ERROR');
2059: fnd_message.set_token('INV', 'ITEM');
2060: fnd_msg_pub.ADD;
2061: IF l_debug = 1 THEN
2062: print_debug('validate_lot_number: Unable to fetch shelf life code for the inventory item passed', 9);

Line 2059: fnd_message.set_token('INV', 'ITEM');

2055: AND organization_id = p_org_id;
2056: EXCEPTION
2057: WHEN NO_DATA_FOUND THEN
2058: fnd_message.set_name('INV', 'INV_SHELF_LIFE_ERROR');
2059: fnd_message.set_token('INV', 'ITEM');
2060: fnd_msg_pub.ADD;
2061: IF l_debug = 1 THEN
2062: print_debug('validate_lot_number: Unable to fetch shelf life code for the inventory item passed', 9);
2063: END IF;

Line 2083: fnd_message.set_name('INV', 'INV_EXP_DATE_NOT_CONSIDER');

2079: INTO l_expiration_date
2080: FROM DUAL;
2081:
2082: IF TRUNC(l_expiration_date) <> trunc(p_expiration_date) THEN
2083: fnd_message.set_name('INV', 'INV_EXP_DATE_NOT_CONSIDER');
2084: fnd_msg_pub.ADD;
2085: IF l_debug = 1 THEN
2086: print_debug('validate_lot_number: Expiration will not be considered for shelf_life code of type ITEM_SHELF_LIFE_DAYS', 9);
2087: END IF;

Line 2097: fnd_message.set_name('INV', 'INV_LOT_EXPREQD');

2093: IF l_debug = 1 THEN
2094: print_debug('validate_lot_number: Shelf_life code is of type USER_DEFINED_EXP_DATE', 9);
2095: END IF;
2096: IF p_expiration_date IS NULL THEN
2097: fnd_message.set_name('INV', 'INV_LOT_EXPREQD');
2098: fnd_msg_pub.ADD;
2099: IF l_debug = 1 THEN
2100: print_debug('validate_lot_number: Lot expiration date is required ', 9);
2101: END IF;

Line 2174: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');

2170: END IF;
2171: END IF; --END IF create the lot number
2172: --This API should be getting called only for a ship transaction from iSP.
2173: ELSE
2174: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2175: fnd_msg_pub.add;
2176: x_return_status := FND_API.g_ret_sts_error;
2177: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2178: RETURN FALSE;

Line 2258: fnd_message.set_name('INV', 'INV_INLTIS_FROMSER');

2254: IF p_fm_serial_number IS NULL THEN
2255: IF (l_debug = 1) THEN
2256: print_debug('validate_serial_range: From Serial Number cannot be NULL', 9);
2257: END IF;
2258: fnd_message.set_name('INV', 'INV_INLTIS_FROMSER');
2259: fnd_msg_pub.add;
2260: x_return_status := FND_API.g_ret_sts_error;
2261: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2262: RETURN FALSE;

Line 2270: fnd_message.set_name('INV', 'INV_INLTIS_RANGE');

2266: IF p_to_serial_number IS NULL AND p_quantity IS NULL THEN
2267: IF (l_debug = 1) THEN
2268: print_debug('validate_serial_range: To Serial and quantity both cannot be NULL', 9);
2269: END IF;
2270: fnd_message.set_name('INV', 'INV_INLTIS_RANGE');
2271: fnd_msg_pub.add;
2272: x_return_status := FND_API.g_ret_sts_error;
2273: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2274: RETURN FALSE;

Line 2288: -- fnd_message.set_name('INV', 'INV_INLTIS_RANGE');

2284: IF (l_debug = 1) THEN
2285: print_debug('validate_serial_range: Length of from and to serials do not match', 9);
2286: END IF;
2287: -- Bug Fix 4375959
2288: -- fnd_message.set_name('INV', 'INV_INLTIS_RANGE');
2289: fnd_msg_pub.add;
2290: x_return_status := FND_API.g_ret_sts_error;
2291: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2292: RETURN FALSE;

Line 2304: fnd_message.set_name('INV', 'INV_SERQTY_NOTMATCH');

2300: IF (p_quantity IS NOT NULL AND p_quantity > 0 AND p_quantity <> l_serial_diff) THEN
2301: IF (l_debug = 1) THEN
2302: print_debug('validate_serial_range: Serial quantity does not match transaction quantity', 9);
2303: END IF;
2304: fnd_message.set_name('INV', 'INV_SERQTY_NOTMATCH');
2305: fnd_msg_pub.add;
2306: x_return_status := FND_API.g_ret_sts_error;
2307: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2308: RETURN FALSE;

Line 2320: fnd_message.set_name('INV', 'INV_SERIAL_NOT_ENTERED');

2316: IF p_to_serial_number IS NULL THEN
2317: IF (l_debug = 1) THEN
2318: print_debug('validate_serial_range: To serial number must be specified', 9);
2319: END IF;
2320: fnd_message.set_name('INV', 'INV_SERIAL_NOT_ENTERED');
2321: fnd_msg_pub.add;
2322: x_return_status := FND_API.g_ret_sts_error;
2323: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2324: RETURN FALSE;

Line 2358: fnd_message.set_name('INV', 'INV_SER_NOTEXIST');

2354: WHEN OTHERS THEN
2355: IF (l_debug = 1) THEN
2356: print_debug('validate_serial_number: could not find the serial number: ' || l_cur_serial_number, 9);
2357: END IF;
2358: fnd_message.set_name('INV', 'INV_SER_NOTEXIST');
2359: fnd_message.set_token('TOKEN', l_cur_serial_number);
2360: fnd_msg_pub.add;
2361: x_return_status := FND_API.g_ret_sts_error;
2362: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);

Line 2359: fnd_message.set_token('TOKEN', l_cur_serial_number);

2355: IF (l_debug = 1) THEN
2356: print_debug('validate_serial_number: could not find the serial number: ' || l_cur_serial_number, 9);
2357: END IF;
2358: fnd_message.set_name('INV', 'INV_SER_NOTEXIST');
2359: fnd_message.set_token('TOKEN', l_cur_serial_number);
2360: fnd_msg_pub.add;
2361: x_return_status := FND_API.g_ret_sts_error;
2362: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2363: RETURN FALSE;

Line 2391: fnd_message.set_name('INV', 'INVALID_SERIAL_NUMBER');

2387: IF l_return = 1 THEN
2388: IF (l_debug = 1) THEN
2389: print_debug('validate_serial_range: Error returned by validate_serials', 9);
2390: END IF;
2391: fnd_message.set_name('INV', 'INVALID_SERIAL_NUMBER');
2392: fnd_msg_pub.ADD;
2393: x_return_status := FND_API.g_ret_sts_error;
2394: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2395: RETURN FALSE;

Line 2404: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');

2400: RETURN TRUE;
2401:
2402: --This API should be getting called only for a ship transaction from iSP.
2403: ELSE
2404: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2405: fnd_msg_pub.add;
2406: x_return_status := FND_API.g_ret_sts_error;
2407: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2408: RETURN FALSE;

Line 2470: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_LOT_SERIAL_VALIDATION_FAIL');

2466: print_debug('validate_lot_serial_info: private API new debug', 4);
2467: END IF;
2468: /*end , INVCONV*/
2469:
2470: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_LOT_SERIAL_VALIDATION_FAIL');
2471: fnd_message.set_name('INV','INV_LOT_SERIAL_VALIDATION_FAIL');
2472: fnd_msg_pub.ADD;
2473: RETURN FALSE;
2474: END IF;

Line 2471: fnd_message.set_name('INV','INV_LOT_SERIAL_VALIDATION_FAIL');

2467: END IF;
2468: /*end , INVCONV*/
2469:
2470: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_LOT_SERIAL_VALIDATION_FAIL');
2471: fnd_message.set_name('INV','INV_LOT_SERIAL_VALIDATION_FAIL');
2472: fnd_msg_pub.ADD;
2473: RETURN FALSE;
2474: END IF;
2475:

Line 2501: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');

2497: BEGIN
2498: x_return_status := g_ret_sts_success;
2499:
2500: x_return_status := g_ret_sts_error;
2501: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2502: fnd_msg_pub.add;
2503: fnd_msg_pub.count_and_get
2504: ( p_count => x_msg_count
2505: , p_data => x_msg_data

Line 2529: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');

2525: BEGIN
2526: x_return_status := g_ret_sts_success;
2527:
2528: x_return_status := g_ret_sts_error;
2529: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2530: fnd_msg_pub.add;
2531: fnd_msg_pub.count_and_get
2532: ( p_count => x_msg_count
2533: , p_data => x_msg_data

Line 2579: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_LPN');

2575: IF (l_debug = 1) THEN
2576: print_debug( 'This is an invalid lpn => ' || ' lpn = '||p_lpn ||' lpn_id= '||p_lpn_id,1 );
2577: END IF;
2578: x_return_status := g_ret_sts_error;
2579: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_LPN');
2580: fnd_msg_pub.ADD;
2581: fnd_msg_pub.count_and_get
2582: ( p_count => x_msg_count
2583: , p_data => x_msg_data

Line 2606: fnd_message.set_name('WMS', 'WMS_LPN_NOTGEN');

2602: x_return_status := g_ret_sts_error;
2603: IF (l_debug = 1) THEN
2604: print_debug( 'Error creating lpn => '||'lpn = '||p_lpn ||'lpn_id= '||p_lpn_id,1 );
2605: END IF;
2606: fnd_message.set_name('WMS', 'WMS_LPN_NOTGEN');
2607: fnd_msg_pub.ADD;
2608: fnd_msg_pub.count_and_get
2609: ( p_count => x_msg_count
2610: , p_data => x_msg_data

Line 2623: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_LPN');

2619: IF (l_debug = 1) THEN
2620: print_debug( 'This is an invalid lpn => ' || ' lpn = '||p_lpn ||' lpn_id= '||p_lpn_id,1 );
2621: END IF;
2622: x_return_status := g_ret_sts_error;
2623: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_LPN');
2624: fnd_msg_pub.ADD;
2625: fnd_msg_pub.count_and_get
2626: ( p_count => x_msg_count
2627: , p_data => x_msg_data

Line 2633: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');

2629: RETURN FALSE;
2630: END;
2631: ELSE
2632: x_return_status := g_ret_sts_error;
2633: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2634: fnd_msg_pub.add;
2635: fnd_msg_pub.count_and_get
2636: ( p_count => x_msg_count
2637: , p_data => x_msg_data

Line 2704: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');

2700: -- check if this is a OPM transaction. If it is a OPM transaction then
2701: -- error out. This API should not be called for a OPM transaction.
2702: IF gml_process_flags.check_process_orgn(l_org_id) = 1 THEN
2703: x_return_status := g_ret_sts_error;
2704: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2705: fnd_msg_pub.add;
2706: fnd_msg_pub.count_and_get
2707: ( p_count => x_msg_count
2708: , p_data => x_msg_data

Line 2748: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_LPN_VALIDATION_FAILED');

2744: END IF;
2745:
2746: IF (x_return_status <> g_ret_sts_success) THEN
2747: l_progress := '70';
2748: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_LPN_VALIDATION_FAILED');
2749: IF (l_debug = 1) THEN
2750: print_debug('VALIDATE_LPN_INFO: x_msg_data: '||x_msg_data,1);
2751: END IF;
2752: fnd_message.set_name('INV','INV_LPN_VALIDATION_FAILED');

Line 2752: fnd_message.set_name('INV','INV_LPN_VALIDATION_FAILED');

2748: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_LPN_VALIDATION_FAILED');
2749: IF (l_debug = 1) THEN
2750: print_debug('VALIDATE_LPN_INFO: x_msg_data: '||x_msg_data,1);
2751: END IF;
2752: fnd_message.set_name('INV','INV_LPN_VALIDATION_FAILED');
2753: fnd_msg_pub.ADD;
2754: RETURN FALSE;
2755: END IF;
2756:

Line 2788: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');

2784: BEGIN
2785: x_return_status := g_ret_sts_success;
2786:
2787: x_return_status := g_ret_sts_error;
2788: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2789: fnd_msg_pub.add;
2790: fnd_msg_pub.count_and_get
2791: ( p_count => x_msg_count
2792: , p_data => x_msg_data

Line 2827: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');

2823: OR transfer_lpn_id is not null
2824: OR transfer_license_plate_number is not null)
2825: );
2826: x_return_status := g_ret_sts_error;
2827: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2828: fnd_msg_pub.add;
2829: fnd_msg_pub.count_and_get
2830: ( p_count => x_msg_count
2831: , p_data => x_msg_data

Line 2838: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');

2834: when NO_DATA_FOUND then
2835: x_return_status := g_ret_sts_success;
2836: when OTHERS then
2837: x_return_status := g_ret_sts_error;
2838: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2839: fnd_msg_pub.add;
2840: fnd_msg_pub.count_and_get
2841: ( p_count => x_msg_count
2842: , p_data => x_msg_data

Line 3006: fnd_message.set_name('INV', 'INV_INVALID_SUBINV');

3002: IF (l_debug = 1) THEN
3003: print_debug('VALIDATE_SUB_LOC 60: Invalid Subinventory Type for the transaction:' || l_sub_type || ':' || l_trx_type, 1);
3004: END IF;
3005:
3006: fnd_message.set_name('INV', 'INV_INVALID_SUBINV');
3007: fnd_msg_pub.ADD;
3008: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3009: RETURN;
3010: END IF; --IF (l_sub_type = 2

Line 3023: fnd_message.set_name('INV', 'INV_INVALID_SUBINV');

3019: IF (l_debug = 1) THEN
3020: print_debug('VALIDATE_SUB_LOC 70: Invalid LPN Controlled Flag for the transaction:' || l_lpn_cont_flag || ':' || l_lpn_id || ':' || l_lpn_num, 1);
3021: END IF;
3022:
3023: fnd_message.set_name('INV', 'INV_INVALID_SUBINV');
3024: fnd_msg_pub.ADD;
3025: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3026: RETURN;
3027: END IF; --IF (l_lpn_cont_flag = 2

Line 3052: fnd_message.set_name('INV', 'INV_INT_LOCCODE');

3048:
3049: IF (l_debug = 1) THEN
3050: print_debug('VALIDATE_SUB_LOC 80: Invalid Locator Type for the transaction:' || l_loc_type || ':' || l_trx_type, 1);
3051: END IF;
3052: fnd_message.set_name('INV', 'INV_INT_LOCCODE');
3053: fnd_msg_pub.ADD;
3054: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3055: RETURN;
3056: END IF;

Line 3087: fnd_message.set_name('INV', 'INV_INVALID_LOCATION');

3083: --error
3084: IF (l_debug = 1) THEN
3085: print_debug('VALIDATE_SUB_LOC 90: Invalid Location for the transaction:' || l_location_id || ':' || l_trx_type, 1);
3086: END IF;
3087: fnd_message.set_name('INV', 'INV_INVALID_LOCATION');
3088: fnd_msg_pub.ADD;
3089: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3090: RETURN;
3091: EXCEPTION

Line 3101: fnd_message.set_name('INV', 'INV_INVALID_LOCATION');

3097: WHEN OTHERS THEN
3098: IF (l_debug = 1) THEN
3099: print_debug('VALIDATE_SUB_LOC 110: Invalid Location for the transaction:' || l_location_id || ':' || l_trx_type, 1);
3100: END IF;
3101: fnd_message.set_name('INV', 'INV_INVALID_LOCATION');
3102: fnd_msg_pub.ADD;
3103: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3104: RETURN;
3105: END ;

Line 3236: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');

3232: -- check if this is a OPM transaction. If it is a OPM transaction then
3233: -- error out. This API should not be called for a OPM transaction.
3234: IF gml_process_flags.check_process_orgn(l_org_id) = 1 THEN
3235: x_return_status := g_ret_sts_error;
3236: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
3237: fnd_msg_pub.add;
3238: fnd_msg_pub.count_and_get
3239: ( p_count => x_msg_count
3240: , p_data => x_msg_data

Line 3268: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_FAILED');

3264: x_msg_count => x_msg_count,
3265: x_msg_data => x_msg_data
3266: );
3267: IF (x_return_status <> g_ret_sts_success) THEN
3268: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_FAILED');
3269: fnd_message.set_name('INV','INV_TRANSACTION_FAILED');
3270: fnd_msg_pub.ADD;
3271: RETURN FALSE;
3272: END IF;

Line 3269: fnd_message.set_name('INV','INV_TRANSACTION_FAILED');

3265: x_msg_data => x_msg_data
3266: );
3267: IF (x_return_status <> g_ret_sts_success) THEN
3268: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_FAILED');
3269: fnd_message.set_name('INV','INV_TRANSACTION_FAILED');
3270: fnd_msg_pub.ADD;
3271: RETURN FALSE;
3272: END IF;
3273:

Line 3778: fnd_message.set_name('WMS','WMS_TASK_NO_ELIGIBLE_TASKS');

3774: IF (l_debug = 1) THEN
3775: print_debug('SPLIT_MMTT: No remaining MMTT with header_id '
3776: || p_txn_header_id || ' found MOL',4);
3777: END IF;
3778: fnd_message.set_name('WMS','WMS_TASK_NO_ELIGIBLE_TASKS');
3779: fnd_msg_pub.add;
3780: RAISE fnd_api.g_exc_error;
3781: END IF;
3782: ELSE

Line 3852: fnd_message.set_name('WMS', 'WMS_TASK_NOT_FULLY_LOADED');

3848: IF (l_load_flag <> 3) THEN
3849: IF (l_debug = 1) THEN
3850: print_debug('SPLIT_MMTT: MMTT Not fully loaded, next iteration...',4);
3851: END IF;
3852: fnd_message.set_name('WMS', 'WMS_TASK_NOT_FULLY_LOADED');
3853: fnd_msg_pub.ADD;
3854: l_skip_iteration := 'Y';
3855: END IF;
3856: ELSE -- p_peration_type = 'DROP'

Line 3861: fnd_message.set_name('WMS', 'WMS_TASK_NOT_FULLY_DROPPED');

3857: IF (l_drop_flag <> 3) THEN
3858: IF (l_debug = 1) THEN
3859: print_debug('SPLIT_MMTT: MMTT Not fully dropped, next iteration...',4);
3860: END IF;
3861: fnd_message.set_name('WMS', 'WMS_TASK_NOT_FULLY_DROPPED');
3862: fnd_msg_pub.ADD;
3863: l_skip_iteration := 'Y';
3864: END IF;
3865: END IF;

Line 4456: fnd_message.set_name('WMS','WMS_TASK_SPLIT_FAIL');

4452: IF (x_return_status <> g_ret_sts_success) THEN
4453: IF (l_debug = 1) THEN
4454: print_debug('SPLIT_MMTT: Error in split_operation_instance',4);
4455: END IF;
4456: fnd_message.set_name('WMS','WMS_TASK_SPLIT_FAIL');
4457: fnd_msg_pub.add;
4458: RAISE fnd_api.g_exc_error;
4459: END IF;
4460: l_progress := '130';

Line 4880: fnd_message.set_name('INV', 'INV_INVALID_QTY');

4876: IF (l_orig_mol_rec.primary_quantity <= 0) THEN
4877: IF (l_debug = 1) THEN
4878: print_debug('SPLIT_MO ERROR: Original quantity is <= 0', 4);
4879: END IF;
4880: fnd_message.set_name('INV', 'INV_INVALID_QTY');
4881: fnd_msg_pub.ADD;
4882: RAISE fnd_api.g_exc_error;
4883: END IF;
4884:

Line 4905: fnd_message.set_name('INV', 'INV_INVALID_QTY');

4901: IF (p_mo_splt_tb(l_indx).prim_qty <= 0) THEN
4902: IF (l_debug = 1) THEN
4903: print_debug('SPLIT_MO - ERROR: Quantity to split is <= 0', 4);
4904: END IF;
4905: fnd_message.set_name('INV', 'INV_INVALID_QTY');
4906: fnd_msg_pub.ADD;
4907: RAISE fnd_api.g_exc_error;
4908: END IF;
4909:

Line 4950: fnd_message.set_name('INV', 'INV_INSUFFICIENT_QTY');

4946: IF (l_debug = 1) THEN
4947: print_debug('SPLIT_MO - ERROR: Original QTY only '||l_orig_mol_rec.quantity
4948: || ', not enough to split ' || l_total_to_split, 4);
4949: END IF;
4950: fnd_message.set_name('INV', 'INV_INSUFFICIENT_QTY');
4951: fnd_msg_pub.ADD;
4952: RAISE fnd_api.g_exc_error;
4953: END IF;
4954:

Line 5226: fnd_message.set_name('WMS','WMS_MO_CREATE_FAIL');

5222: IF (l_debug = 1) THEN
5223: print_debug('SPLIT_MO: Error copying move order lines', 4);
5224: print_debug('SPLIT_MO: SQLCODE = ' || SQLCODE, 4);
5225: END IF;
5226: fnd_message.set_name('WMS','WMS_MO_CREATE_FAIL');
5227: fnd_msg_pub.add;
5228: RAISE fnd_api.g_exc_error;
5229: END;
5230:

Line 6436: fnd_message.set_name('WMS','WMS_TASK_SPLIT_FAIL');

6432: IF (x_return_status <> g_ret_sts_success) THEN
6433: IF (l_debug = 1) THEN
6434: print_debug('SPLIT_MMTT: Error in split_operation_instance',4);
6435: END IF;
6436: fnd_message.set_name('WMS','WMS_TASK_SPLIT_FAIL');
6437: fnd_msg_pub.add;
6438: RAISE fnd_api.g_exc_error;
6439: END IF;
6440: