DBA Data[Home] [Help]

APPS.WMS_EPC_PVT dependencies on FND_MESSAGE

Line 530: fnd_message.set_name('WMS', 'WMS_INVALID_GTIN');

526: IF l_debug = 1 then
527: trace('Error gtin not 14 digit ');
528: END IF ;
529:
530: fnd_message.set_name('WMS', 'WMS_INVALID_GTIN');
531: fnd_msg_pub.ADD;
532: RAISE fnd_api.g_exc_error;
533: END IF;
534:

Line 537: fnd_message.set_name('WMS', 'WMS_INVALID_GTIN');

533: END IF;
534:
535: ELSIF l_found_gtin = 0 THEN
536:
537: fnd_message.set_name('WMS', 'WMS_INVALID_GTIN');
538: fnd_msg_pub.ADD;
539: RAISE fnd_api.g_exc_error;
540:
541: END IF;

Line 563: fnd_message.set_name('WMS', 'WMS_INVALID_GTIN_GSERIAL');

559: x_gtin_serial := get_serial_for_gtin(l_gtin, p_org_id, p_item_id, l_uom_code,l_rev_id);
560:
561:
562: IF x_gtin_serial IS NULL THEN
563: fnd_message.set_name('WMS', 'WMS_INVALID_GTIN_GSERIAL');
564: fnd_msg_pub.ADD;
565: RAISE fnd_api.g_exc_error;
566:
567: END IF;

Line 570: fnd_message.set_name('WMS', 'WMS_NO_GTIN_FOUND');

566:
567: END IF;
568:
569: ELSE
570: fnd_message.set_name('WMS', 'WMS_NO_GTIN_FOUND');
571: fnd_msg_pub.ADD;
572: RAISE fnd_api.g_exc_error;
573: END IF;
574:

Line 1024: fnd_message.set_name('WMS', 'WMS_NO_GTIN_FOUND');

1020: x_return_status => x_return_status);
1021:
1022: ELSE
1023:
1024: fnd_message.set_name('WMS', 'WMS_NO_GTIN_FOUND');
1025: fnd_msg_pub.ADD;
1026: RAISE fnd_api.g_exc_error;
1027:
1028: END IF;--if l_is_gtin_valid

Line 1109: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_ITEM');

1105: trace('Got Item info puom='||inv_cache.item_rec.primary_uom_code);
1106:
1107: END IF;
1108: ELSE
1109: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_ITEM');
1110: fnd_msg_pub.ADD;
1111: RAISE fnd_api.g_exc_error;
1112: END IF;
1113:

Line 1211: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_ITEM');

1207: IF (l_debug = 1) THEN
1208: trace('Got Item info puom='||inv_cache.item_rec.primary_uom_code);
1209: END IF;
1210: ELSE
1211: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_ITEM');
1212: fnd_msg_pub.ADD;
1213: RAISE fnd_api.g_exc_error;
1214: END IF;
1215:

Line 1296: FND_MESSAGE.SET_NAME('WMS', 'WMS_INVALID_SSCC');

1292: l_lpn_num_format := To_number(l_sscc);--ensure Numeric Only
1293:
1294: ELSE
1295: l_lpn_num_format := NULL;
1296: FND_MESSAGE.SET_NAME('WMS', 'WMS_INVALID_SSCC');
1297: FND_MSG_PUB.ADD;
1298: RAISE fnd_api.g_exc_error;
1299: END IF;
1300:

Line 1304: FND_MESSAGE.SET_NAME('WMS', 'WMS_INVALID_SSCC');

1300:
1301: EXCEPTION
1302: WHEN OTHERS THEN --catch the exception for alphanumeric case
1303: l_lpn_num_format := NULL;
1304: FND_MESSAGE.SET_NAME('WMS', 'WMS_INVALID_SSCC');
1305: FND_MSG_PUB.ADD;
1306: trace('Other Exception in get_sscc()');
1307: RAISE fnd_api.g_exc_error;
1308: END;

Line 1863: FND_MESSAGE.SET_NAME('WMS', 'WMS_INVALID_SETUP');

1859: --This is INVALID option for EPC generation FOR LPN label
1860: IF l_debug = 1 THEN
1861: trace('Error:For LPN label, No EPC can be generated using EPC_DOD_96/64, incorrect SET up');
1862: END IF;
1863: FND_MESSAGE.SET_NAME('WMS', 'WMS_INVALID_SETUP');
1864: FND_MSG_PUB.ADD;
1865: RAISE fnd_api.g_exc_error;
1866: END IF;
1867:

Line 1942: FND_MESSAGE.SET_NAME('WMS', 'WMS_INVALID_SETUP');

1938: IF l_debug = 1 THEN
1939: trace('Error:For Material, No EPC can be generated using SSCC, incorrect SET up');
1940: END IF;
1941:
1942: FND_MESSAGE.SET_NAME('WMS', 'WMS_INVALID_SETUP');
1943: FND_MSG_PUB.ADD;
1944: RAISE fnd_api.g_exc_error;
1945:
1946:

Line 1952: FND_MESSAGE.SET_NAME('WMS', 'WMS_INVALID_SETUP');

1948:
1949: IF l_debug = 1 THEN
1950: trace('Error:For Material, No EPC can be generated using EPC_DOD, incorrect SET up');
1951: END IF;
1952: FND_MESSAGE.SET_NAME('WMS', 'WMS_INVALID_SETUP');
1953: FND_MSG_PUB.ADD;
1954: RAISE fnd_api.g_exc_error;
1955:
1956:

Line 2038: FND_MESSAGE.SET_NAME('WMS', 'WMS_INVALID_SETUP');

2034: --This is INVALID option for EPC generation of Serial NUMBER
2035: IF l_debug = 1 THEN
2036: trace('Error:For Serial, No EPC can be generated using SSCC, incorrect SET up');
2037: END IF;
2038: FND_MESSAGE.SET_NAME('WMS', 'WMS_INVALID_SETUP');
2039: FND_MSG_PUB.ADD;
2040: RAISE fnd_api.g_exc_error;
2041:
2042: ELSIF p_epc_rule_type IN ('EPC_DOD_96','EPC_DOD_64') THEN

Line 2330: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_ORG');

2326: IF ( NOT Inv_Cache.set_org_rec( p_organization_id => p_org_id ))THEN
2327: IF (l_debug = 1) THEN
2328: trace(p_org_id || 'is an invalid organization id');
2329: END IF;
2330: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_ORG');
2331: fnd_msg_pub.ADD;
2332: RAISE fnd_api.g_exc_error;
2333: END IF;
2334:

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

2398: IF l_debug = 1 THEN
2399: trace('NO DATA found for the LPN');
2400: END IF;
2401:
2402: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_LPN');
2403: fnd_msg_pub.ADD;
2404: RAISE fnd_api.g_exc_unexpected_error;
2405: END;
2406:

Line 2412: fnd_message.set_name('WMS', 'WMS_NO_MULTI_NESTING_SUPPORT');

2408: -- nested lpn, error out
2409: IF NOT ((l_outermost_lpn_id = l_lpn_id AND l_parent_lpn_id IS null )
2410: OR (l_parent_lpn_id = l_outermost_lpn_id AND l_parent_lpn_id IS NOT null)) THEN
2411:
2412: fnd_message.set_name('WMS', 'WMS_NO_MULTI_NESTING_SUPPORT');
2413: fnd_msg_pub.ADD;
2414: RAISE fnd_api.g_exc_error;
2415:
2416: END IF;

Line 2493: fnd_message.set_name('WMS','WMS_INCORRECT_PREFIX_LEN');

2489:
2490: --{{ see if partition value returned is correct and get the l_epc_rule_type_id now}}
2491:
2492: IF l_partition_value = -1 THEN --prefix length is INCORRECT
2493: fnd_message.set_name('WMS','WMS_INCORRECT_PREFIX_LEN');
2494: fnd_msg_pub.ADD;
2495: RAISE fnd_api.g_exc_error;
2496:
2497: ELSE

Line 2515: fnd_message.set_name('WMS','WMS_NO_EPC_RULE_FOUND');--No rule found

2511: END IF;
2512:
2513: IF l_epc_rule_type_id IS NULL THEN
2514: x_epc := NULL;
2515: fnd_message.set_name('WMS','WMS_NO_EPC_RULE_FOUND');--No rule found
2516: fnd_msg_pub.ADD;
2517: RAISE fnd_api.g_exc_error;
2518: END IF;
2519:

Line 2630: fnd_message.set_name('WMS', 'WMS_DB_EPC_GEN_FAIL');

2626: TRACE('ERROR MESSAGE = ' || SQLERRM);
2627: END IF;
2628:
2629: --EPC generation failed at DB feature level
2630: fnd_message.set_name('WMS', 'WMS_DB_EPC_GEN_FAIL');
2631: fnd_msg_pub.ADD;
2632:
2633: --Do not raise exception here as we want to delete
2634: --old cross-reference RECORD FROM wms_epc for some

Line 2647: fnd_message.set_name('WMS', 'WMS_EPC_GEN_FAIL');

2643: trace('Error: Components could not be obtained for EPC generation ');
2644: END IF;
2645:
2646:
2647: fnd_message.set_name('WMS', 'WMS_EPC_GEN_FAIL');
2648: fnd_msg_pub.ADD;
2649:
2650: --Do not raise exception here as we want to delete
2651: --old cross-reference RECORD FROM wms_epc for some

Line 2666: fnd_message.set_name('WMS', 'WMS_EPC_DISABLED');

2662: IF l_debug = 1 THEN
2663: trace('EPC generation is NOT enabled at Orgnization level');
2664: END IF;
2665:
2666: fnd_message.set_name('WMS', 'WMS_EPC_DISABLED');
2667: fnd_msg_pub.ADD;
2668: RAISE fnd_api.g_exc_error;
2669:
2670: END IF;

Line 2817: fnd_message.set_name('WMS','WMS_EPC_GEN_FAIL');

2813:
2814: EXCEPTION
2815:
2816: WHEN fnd_api.g_exc_error THEN
2817: fnd_message.set_name('WMS','WMS_EPC_GEN_FAIL');
2818: fnd_msg_pub.ADD;
2819: x_return_status := fnd_api.g_ret_sts_error;
2820: x_epc := NULL;
2821: fnd_msg_pub.count_and_get(p_encoded => 'F',p_count => l_msg_count, p_data => x_return_mesg);

Line 2836: fnd_message.set_name('WMS', 'WMS_EPC_GEN_FAIL');

2832: -- FND_MSG_PUB.initialize; --bug 5178424
2833:
2834:
2835: WHEN fnd_api.g_exc_unexpected_error THEN
2836: fnd_message.set_name('WMS', 'WMS_EPC_GEN_FAIL');
2837: fnd_msg_pub.ADD;
2838: x_return_status := fnd_api.g_ret_sts_unexp_error;
2839: x_epc := NULL;
2840: fnd_msg_pub.count_and_get(p_count => l_msg_count, p_data => x_return_mesg);

Line 2906: x_return_mesg := fnd_message.get_string('WMS','WMS_EPC_MISSING_VALUES');

2902: END IF;
2903:
2904: IF p_group_id IS NULL OR p_cross_ref_type IS NULL OR p_epc IS NULL THEN
2905: x_return_status := fnd_api.g_ret_sts_error;
2906: x_return_mesg := fnd_message.get_string('WMS','WMS_EPC_MISSING_VALUES');
2907: RETURN;
2908:
2909: ELSIF p_lpn_id IS NULL AND
2910: (p_item_id IS NULL OR p_serial_number IS NULL ) AND

Line 2914: x_return_mesg := fnd_message.get_string('WMS','WMS_EPC_MISSING_VALUES');

2910: (p_item_id IS NULL OR p_serial_number IS NULL ) AND
2911: (p_gtin IS NULL OR p_gtin_serial IS NULL) THEN
2912:
2913: x_return_status := fnd_api.g_ret_sts_error;
2914: x_return_mesg := fnd_message.get_string('WMS','WMS_EPC_MISSING_VALUES');
2915: RETURN;
2916: END IF;
2917:
2918: INSERT INTO wms_epc( group_id,