DBA Data[Home] [Help]

APPS.INV_RCV_INTEGRATION_APIS dependencies on FND_MESSAGE

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

2031:
2032: --then raise an error indicating invalid lot number
2033: IF (p_validation_mode = INV_RCV_INTEGRATION_APIS.G_EXISTS_ONLY AND
2034: l_lot_exists = 'N') THEN
2035: fnd_message.set_name('INV', 'INV_INVALID_LOT');
2036: fnd_msg_pub.ADD;
2037: x_return_status := FND_API.g_ret_sts_error;
2038: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2039: print_debug('err: ' || x_msg_data, 9);

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

2052: , p_auto_lot_number => p_lot_number);
2053:
2054: --If the lot is not unique then raise an error
2055: IF NOT l_unique_lot THEN
2056: fnd_message.set_name('INV', 'INV_LOT_UNIQUE_FAIL');
2057: fnd_msg_pub.add;
2058: x_return_status := FND_API.g_ret_sts_error;
2059: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2060: RETURN FALSE;

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

2070: WHERE inventory_item_id = p_inventory_item_id
2071: AND organization_id = p_org_id;
2072: EXCEPTION
2073: WHEN NO_DATA_FOUND THEN
2074: fnd_message.set_name('INV', 'INV_SHELF_LIFE_ERROR');
2075: fnd_message.set_token('INV', 'ITEM');
2076: fnd_msg_pub.ADD;
2077: IF l_debug = 1 THEN
2078: print_debug('validate_lot_number: Unable to fetch shelf life code for the inventory item passed', 9);

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

2071: AND organization_id = p_org_id;
2072: EXCEPTION
2073: WHEN NO_DATA_FOUND THEN
2074: fnd_message.set_name('INV', 'INV_SHELF_LIFE_ERROR');
2075: fnd_message.set_token('INV', 'ITEM');
2076: fnd_msg_pub.ADD;
2077: IF l_debug = 1 THEN
2078: print_debug('validate_lot_number: Unable to fetch shelf life code for the inventory item passed', 9);
2079: END IF;

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

2095: INTO l_expiration_date
2096: FROM DUAL;
2097:
2098: IF TRUNC(l_expiration_date) <> trunc(p_expiration_date) THEN
2099: fnd_message.set_name('INV', 'INV_EXP_DATE_NOT_CONSIDER');
2100: fnd_msg_pub.ADD;
2101: IF l_debug = 1 THEN
2102: print_debug('validate_lot_number: Expiration will not be considered for shelf_life code of type ITEM_SHELF_LIFE_DAYS', 9);
2103: END IF;

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

2109: IF l_debug = 1 THEN
2110: print_debug('validate_lot_number: Shelf_life code is of type USER_DEFINED_EXP_DATE', 9);
2111: END IF;
2112: IF p_expiration_date IS NULL THEN
2113: fnd_message.set_name('INV', 'INV_LOT_EXPREQD');
2114: fnd_msg_pub.ADD;
2115: IF l_debug = 1 THEN
2116: print_debug('validate_lot_number: Lot expiration date is required ', 9);
2117: END IF;

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

2186: END IF;
2187: END IF; --END IF create the lot number
2188: --This API should be getting called only for a ship transaction from iSP.
2189: ELSE
2190: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2191: fnd_msg_pub.add;
2192: x_return_status := FND_API.g_ret_sts_error;
2193: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2194: RETURN FALSE;

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

2272: IF p_fm_serial_number IS NULL THEN
2273: IF (l_debug = 1) THEN
2274: print_debug('validate_serial_range: From Serial Number cannot be NULL', 9);
2275: END IF;
2276: fnd_message.set_name('INV', 'INV_INLTIS_FROMSER');
2277: fnd_msg_pub.add;
2278: x_return_status := FND_API.g_ret_sts_error;
2279: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2280: RETURN FALSE;

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

2284: IF p_to_serial_number IS NULL AND p_quantity IS NULL THEN
2285: IF (l_debug = 1) THEN
2286: print_debug('validate_serial_range: To Serial and quantity both cannot be NULL', 9);
2287: END IF;
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 2306: -- fnd_message.set_name('INV', 'INV_INLTIS_RANGE');

2302: IF (l_debug = 1) THEN
2303: print_debug('validate_serial_range: Length of from and to serials do not match', 9);
2304: END IF;
2305: -- Bug Fix 4375959
2306: -- fnd_message.set_name('INV', 'INV_INLTIS_RANGE');
2307: fnd_msg_pub.add;
2308: x_return_status := FND_API.g_ret_sts_error;
2309: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2310: RETURN FALSE;

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

2318: IF (p_quantity IS NOT NULL AND p_quantity > 0 AND p_quantity <> l_serial_diff) THEN
2319: IF (l_debug = 1) THEN
2320: print_debug('validate_serial_range: Serial quantity does not match transaction quantity', 9);
2321: END IF;
2322: fnd_message.set_name('INV', 'INV_SERQTY_NOTMATCH');
2323: fnd_msg_pub.add;
2324: x_return_status := FND_API.g_ret_sts_error;
2325: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2326: RETURN FALSE;

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

2334: IF p_to_serial_number IS NULL THEN
2335: IF (l_debug = 1) THEN
2336: print_debug('validate_serial_range: To serial number must be specified', 9);
2337: END IF;
2338: fnd_message.set_name('INV', 'INV_SERIAL_NOT_ENTERED');
2339: fnd_msg_pub.add;
2340: x_return_status := FND_API.g_ret_sts_error;
2341: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2342: RETURN FALSE;

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

2372: WHEN OTHERS THEN
2373: IF (l_debug = 1) THEN
2374: print_debug('validate_serial_number: could not find the serial number: ' || l_cur_serial_number, 9);
2375: END IF;
2376: fnd_message.set_name('INV', 'INV_SER_NOTEXIST');
2377: fnd_message.set_token('TOKEN', l_cur_serial_number);
2378: fnd_msg_pub.add;
2379: x_return_status := FND_API.g_ret_sts_error;
2380: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);

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

2373: IF (l_debug = 1) THEN
2374: print_debug('validate_serial_number: could not find the serial number: ' || l_cur_serial_number, 9);
2375: END IF;
2376: fnd_message.set_name('INV', 'INV_SER_NOTEXIST');
2377: fnd_message.set_token('TOKEN', l_cur_serial_number);
2378: fnd_msg_pub.add;
2379: x_return_status := FND_API.g_ret_sts_error;
2380: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2381: RETURN FALSE;

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

2416: IF l_return = 1 THEN
2417: IF (l_debug = 1) THEN
2418: print_debug('validate_serial_range: Error returned by validate_serials', 9);
2419: END IF;
2420: fnd_message.set_name('INV', 'INVALID_SERIAL_NUMBER');
2421: fnd_msg_pub.ADD;
2422: x_return_status := FND_API.g_ret_sts_error;
2423: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2424: RETURN FALSE;

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

2429: RETURN TRUE;
2430:
2431: --This API should be getting called only for a ship transaction from iSP.
2432: ELSE
2433: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2434: fnd_msg_pub.add;
2435: x_return_status := FND_API.g_ret_sts_error;
2436: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
2437: RETURN FALSE;

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

2495: print_debug('validate_lot_serial_info: private API new debug', 4);
2496: END IF;
2497: /*end , INVCONV*/
2498:
2499: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_LOT_SERIAL_VALIDATION_FAIL');
2500: fnd_message.set_name('INV','INV_LOT_SERIAL_VALIDATION_FAIL');
2501: fnd_msg_pub.ADD;
2502: RETURN FALSE;
2503: END IF;

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

2496: END IF;
2497: /*end , INVCONV*/
2498:
2499: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_LOT_SERIAL_VALIDATION_FAIL');
2500: fnd_message.set_name('INV','INV_LOT_SERIAL_VALIDATION_FAIL');
2501: fnd_msg_pub.ADD;
2502: RETURN FALSE;
2503: END IF;
2504:

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

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

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

2554: BEGIN
2555: x_return_status := g_ret_sts_success;
2556:
2557: x_return_status := g_ret_sts_error;
2558: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2559: fnd_msg_pub.add;
2560: fnd_msg_pub.count_and_get
2561: ( p_count => x_msg_count
2562: , p_data => x_msg_data

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

2604: IF (l_debug = 1) THEN
2605: print_debug( 'This is an invalid lpn => ' || ' lpn = '||p_lpn ||' lpn_id= '||p_lpn_id,1 );
2606: END IF;
2607: x_return_status := g_ret_sts_error;
2608: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_LPN');
2609: fnd_msg_pub.ADD;
2610: fnd_msg_pub.count_and_get
2611: ( p_count => x_msg_count
2612: , p_data => x_msg_data

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

2631: x_return_status := g_ret_sts_error;
2632: IF (l_debug = 1) THEN
2633: print_debug( 'Error creating lpn => '||'lpn = '||p_lpn ||'lpn_id= '||p_lpn_id,1 );
2634: END IF;
2635: fnd_message.set_name('WMS', 'WMS_LPN_NOTGEN');
2636: fnd_msg_pub.ADD;
2637: fnd_msg_pub.count_and_get
2638: ( p_count => x_msg_count
2639: , p_data => x_msg_data

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

2648: IF (l_debug = 1) THEN
2649: print_debug( 'This is an invalid lpn => ' || ' lpn = '||p_lpn ||' lpn_id= '||p_lpn_id,1 );
2650: END IF;
2651: x_return_status := g_ret_sts_error;
2652: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_LPN');
2653: fnd_msg_pub.ADD;
2654: fnd_msg_pub.count_and_get
2655: ( p_count => x_msg_count
2656: , p_data => x_msg_data

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

2658: RETURN FALSE;
2659: END;
2660: ELSE
2661: x_return_status := g_ret_sts_error;
2662: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2663: fnd_msg_pub.add;
2664: fnd_msg_pub.count_and_get
2665: ( p_count => x_msg_count
2666: , p_data => x_msg_data

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

2729: -- check if this is a OPM transaction. If it is a OPM transaction then
2730: -- error out. This API should not be called for a OPM transaction.
2731: IF gml_process_flags.check_process_orgn(l_org_id) = 1 THEN
2732: x_return_status := g_ret_sts_error;
2733: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2734: fnd_msg_pub.add;
2735: fnd_msg_pub.count_and_get
2736: ( p_count => x_msg_count
2737: , p_data => x_msg_data

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

2773: END IF;
2774:
2775: IF (x_return_status <> g_ret_sts_success) THEN
2776: l_progress := '70';
2777: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_LPN_VALIDATION_FAILED');
2778: IF (l_debug = 1) THEN
2779: print_debug('VALIDATE_LPN_INFO: x_msg_data: '||x_msg_data,1);
2780: END IF;
2781: fnd_message.set_name('INV','INV_LPN_VALIDATION_FAILED');

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

2777: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_LPN_VALIDATION_FAILED');
2778: IF (l_debug = 1) THEN
2779: print_debug('VALIDATE_LPN_INFO: x_msg_data: '||x_msg_data,1);
2780: END IF;
2781: fnd_message.set_name('INV','INV_LPN_VALIDATION_FAILED');
2782: fnd_msg_pub.ADD;
2783: RETURN FALSE;
2784: END IF;
2785:

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

2813: BEGIN
2814: x_return_status := g_ret_sts_success;
2815:
2816: x_return_status := g_ret_sts_error;
2817: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2818: fnd_msg_pub.add;
2819: fnd_msg_pub.count_and_get
2820: ( p_count => x_msg_count
2821: , p_data => x_msg_data

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

2852: OR transfer_lpn_id is not null
2853: OR transfer_license_plate_number is not null)
2854: );
2855: x_return_status := g_ret_sts_error;
2856: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2857: fnd_msg_pub.add;
2858: fnd_msg_pub.count_and_get
2859: ( p_count => x_msg_count
2860: , p_data => x_msg_data

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

2863: when NO_DATA_FOUND then
2864: x_return_status := g_ret_sts_success;
2865: when OTHERS then
2866: x_return_status := g_ret_sts_error;
2867: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
2868: fnd_msg_pub.add;
2869: fnd_msg_pub.count_and_get
2870: ( p_count => x_msg_count
2871: , p_data => x_msg_data

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

3031: IF (l_debug = 1) THEN
3032: print_debug('VALIDATE_SUB_LOC 60: Invalid Subinventory Type for the transaction:' || l_sub_type || ':' || l_trx_type, 1);
3033: END IF;
3034:
3035: fnd_message.set_name('INV', 'INV_INVALID_SUBINV');
3036: fnd_msg_pub.ADD;
3037: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3038: RETURN;
3039: END IF; --IF (l_sub_type = 2

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

3048: IF (l_debug = 1) THEN
3049: print_debug('VALIDATE_SUB_LOC 70: Invalid LPN Controlled Flag for the transaction:' || l_lpn_cont_flag || ':' || l_lpn_id || ':' || l_lpn_num, 1);
3050: END IF;
3051:
3052: fnd_message.set_name('INV', 'INV_INVALID_SUBINV');
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; --IF (l_lpn_cont_flag = 2

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

3077:
3078: IF (l_debug = 1) THEN
3079: print_debug('VALIDATE_SUB_LOC 80: Invalid Locator Type for the transaction:' || l_loc_type || ':' || l_trx_type, 1);
3080: END IF;
3081: fnd_message.set_name('INV', 'INV_INT_LOCCODE');
3082: fnd_msg_pub.ADD;
3083: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3084: RETURN;
3085: END IF;

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

3112: --error
3113: IF (l_debug = 1) THEN
3114: print_debug('VALIDATE_SUB_LOC 90: Invalid Location for the transaction:' || l_location_id || ':' || l_trx_type, 1);
3115: END IF;
3116: fnd_message.set_name('INV', 'INV_INVALID_LOCATION');
3117: fnd_msg_pub.ADD;
3118: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3119: RETURN;
3120: EXCEPTION

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

3126: WHEN OTHERS THEN
3127: IF (l_debug = 1) THEN
3128: print_debug('VALIDATE_SUB_LOC 110: Invalid Location for the transaction:' || l_location_id || ':' || l_trx_type, 1);
3129: END IF;
3130: fnd_message.set_name('INV', 'INV_INVALID_LOCATION');
3131: fnd_msg_pub.ADD;
3132: fnd_msg_pub.count_and_get(p_count => x_msg_count, p_data => x_msg_data);
3133: RETURN;
3134: END ;

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

3261: -- check if this is a OPM transaction. If it is a OPM transaction then
3262: -- error out. This API should not be called for a OPM transaction.
3263: IF gml_process_flags.check_process_orgn(l_org_id) = 1 THEN
3264: x_return_status := g_ret_sts_error;
3265: fnd_message.set_name('INV','INV_NOT_IMPLEMENTED');
3266: fnd_msg_pub.add;
3267: fnd_msg_pub.count_and_get
3268: ( p_count => x_msg_count
3269: , p_data => x_msg_data

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

3293: x_msg_count => x_msg_count,
3294: x_msg_data => x_msg_data
3295: );
3296: IF (x_return_status <> g_ret_sts_success) THEN
3297: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_FAILED');
3298: fnd_message.set_name('INV','INV_TRANSACTION_FAILED');
3299: fnd_msg_pub.ADD;
3300: RETURN FALSE;
3301: END IF;

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

3294: x_msg_data => x_msg_data
3295: );
3296: IF (x_return_status <> g_ret_sts_success) THEN
3297: x_msg_data := x_msg_data||':'||fnd_message.get_string('INV','INV_FAILED');
3298: fnd_message.set_name('INV','INV_TRANSACTION_FAILED');
3299: fnd_msg_pub.ADD;
3300: RETURN FALSE;
3301: END IF;
3302:

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

3843: IF (l_debug = 1) THEN
3844: print_debug('SPLIT_MMTT: No remaining MMTT with header_id '
3845: || p_txn_header_id || ' found MOL',4);
3846: END IF;
3847: fnd_message.set_name('WMS','WMS_TASK_NO_ELIGIBLE_TASKS');
3848: fnd_msg_pub.add;
3849: RAISE fnd_api.g_exc_error;
3850: END IF;
3851: ELSE

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

3917: IF (l_load_flag <> 3) THEN
3918: IF (l_debug = 1) THEN
3919: print_debug('SPLIT_MMTT: MMTT Not fully loaded, next iteration...',4);
3920: END IF;
3921: fnd_message.set_name('WMS', 'WMS_TASK_NOT_FULLY_LOADED');
3922: fnd_msg_pub.ADD;
3923: l_skip_iteration := 'Y';
3924: END IF;
3925: ELSE -- p_peration_type = 'DROP'

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

3926: IF (l_drop_flag <> 3) THEN
3927: IF (l_debug = 1) THEN
3928: print_debug('SPLIT_MMTT: MMTT Not fully dropped, next iteration...',4);
3929: END IF;
3930: fnd_message.set_name('WMS', 'WMS_TASK_NOT_FULLY_DROPPED');
3931: fnd_msg_pub.ADD;
3932: l_skip_iteration := 'Y';
3933: END IF;
3934: END IF;

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

4521: IF (x_return_status <> g_ret_sts_success) THEN
4522: IF (l_debug = 1) THEN
4523: print_debug('SPLIT_MMTT: Error in split_operation_instance',4);
4524: END IF;
4525: fnd_message.set_name('WMS','WMS_TASK_SPLIT_FAIL');
4526: fnd_msg_pub.add;
4527: RAISE fnd_api.g_exc_error;
4528: END IF;
4529: l_progress := '130';

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

4945: IF (l_orig_mol_rec.primary_quantity <= 0) THEN
4946: IF (l_debug = 1) THEN
4947: print_debug('SPLIT_MO ERROR: Original quantity is <= 0', 4);
4948: END IF;
4949: fnd_message.set_name('INV', 'INV_INVALID_QTY');
4950: fnd_msg_pub.ADD;
4951: RAISE fnd_api.g_exc_error;
4952: END IF;
4953:

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

4970: IF (p_mo_splt_tb(l_indx).prim_qty <= 0) THEN
4971: IF (l_debug = 1) THEN
4972: print_debug('SPLIT_MO - ERROR: Quantity to split is <= 0', 4);
4973: END IF;
4974: fnd_message.set_name('INV', 'INV_INVALID_QTY');
4975: fnd_msg_pub.ADD;
4976: RAISE fnd_api.g_exc_error;
4977: END IF;
4978:

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

5015: IF (l_debug = 1) THEN
5016: print_debug('SPLIT_MO - ERROR: Original QTY only '||l_orig_mol_rec.quantity
5017: || ', not enough to split ' || l_total_to_split, 4);
5018: END IF;
5019: fnd_message.set_name('INV', 'INV_INSUFFICIENT_QTY');
5020: fnd_msg_pub.ADD;
5021: RAISE fnd_api.g_exc_error;
5022: END IF;
5023:

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

5291: IF (l_debug = 1) THEN
5292: print_debug('SPLIT_MO: Error copying move order lines', 4);
5293: print_debug('SPLIT_MO: SQLCODE = ' || SQLCODE, 4);
5294: END IF;
5295: fnd_message.set_name('WMS','WMS_MO_CREATE_FAIL');
5296: fnd_msg_pub.add;
5297: RAISE fnd_api.g_exc_error;
5298: END;
5299:

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

6501: IF (x_return_status <> g_ret_sts_success) THEN
6502: IF (l_debug = 1) THEN
6503: print_debug('SPLIT_MMTT: Error in split_operation_instance',4);
6504: END IF;
6505: fnd_message.set_name('WMS','WMS_TASK_SPLIT_FAIL');
6506: fnd_msg_pub.add;
6507: RAISE fnd_api.g_exc_error;
6508: END IF;
6509: