DBA Data[Home] [Help]

APPS.WMS_PUTAWAY_UTILS dependencies on FND_MESSAGE

Line 3975: fnd_message.set_name('WMS', 'WMS_LPN_UNAVAIL');

3971: WHEN record_locked THEN
3972: debug(' LPN Already locked by someone else', l_proc_name,1);
3973: x_return_status := fnd_api.g_ret_sts_error;
3974:
3975: fnd_message.set_name('WMS', 'WMS_LPN_UNAVAIL');
3976: fnd_msg_pub.ADD;
3977: fnd_msg_pub.count_and_get(p_encoded => fnd_api.g_false, p_count => x_msg_count, p_data => x_msg_data);
3978:
3979: WHEN OTHERS THEN

Line 4220: FND_MESSAGE.SET_NAME('WMS','WMS_NO_TASKS');

4216: IF l_rec_count = 0 THEN
4217: l_progress := '225';
4218: -- No Tasks found for the data passed
4219: -- Set error message and raise error handle it in exception block.
4220: FND_MESSAGE.SET_NAME('WMS','WMS_NO_TASKS');
4221: fnd_msg_pub.ADD;
4222: -- Instead of raising an error, return with success
4223: RETURN;
4224: END IF;

Line 5877: fnd_message.set_name('WMS','WMS_PUTAWAY_LPN_LOCKED');

5873: l_username := NULL;
5874: END;
5875:
5876: IF (l_username IS NOT NULL) THEN
5877: fnd_message.set_name('WMS','WMS_PUTAWAY_LPN_LOCKED');
5878: fnd_message.set_token('USER',l_username);
5879: fnd_msg_pub.ADD;
5880: fnd_message.set_name('WMS','WMS_CONT_INVALID_LPN');
5881: fnd_msg_pub.ADD;

Line 5878: fnd_message.set_token('USER',l_username);

5874: END;
5875:
5876: IF (l_username IS NOT NULL) THEN
5877: fnd_message.set_name('WMS','WMS_PUTAWAY_LPN_LOCKED');
5878: fnd_message.set_token('USER',l_username);
5879: fnd_msg_pub.ADD;
5880: fnd_message.set_name('WMS','WMS_CONT_INVALID_LPN');
5881: fnd_msg_pub.ADD;
5882: END IF;

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

5876: IF (l_username IS NOT NULL) THEN
5877: fnd_message.set_name('WMS','WMS_PUTAWAY_LPN_LOCKED');
5878: fnd_message.set_token('USER',l_username);
5879: fnd_msg_pub.ADD;
5880: fnd_message.set_name('WMS','WMS_CONT_INVALID_LPN');
5881: fnd_msg_pub.ADD;
5882: END IF;
5883:
5884: END IF;

Line 6286: -- FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');

6282:
6283:
6284: IF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
6285: -- IF x_msg_count = 0 THEN
6286: -- FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');
6287: -- FND_MSG_PUB.ADD;
6288: -- END IF;
6289: RAISE FND_API.g_exc_unexpected_error;
6290:

Line 6293: -- FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');

6289: RAISE FND_API.g_exc_unexpected_error;
6290:
6291: ELSIF x_return_status = FND_API.G_RET_STS_ERROR THEN
6292: -- IF x_msg_count = 0 THEN
6293: -- FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');
6294: -- FND_MSG_PUB.ADD;
6295: -- END IF;
6296: RAISE FND_API.G_EXC_ERROR;
6297: END IF;

Line 6324: FND_MESSAGE.SET_NAME('WMS','WMS_ALLOCATE_FAIL');

6320: IF (l_msg_count IS NULL OR l_msg_count = 0) THEN
6321: -- use default message if there are no message on stack
6322: -- first reset message stack
6323: fnd_msg_pub.initialize();
6324: FND_MESSAGE.SET_NAME('WMS','WMS_ALLOCATE_FAIL');
6325: FND_MSG_PUB.ADD;
6326: ELSIF l_msg_count > 1 THEN
6327: FOR i IN 2 .. l_msg_count LOOP
6328: fnd_msg_pub.delete_msg(i);

Line 6858: -- FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');

6854:
6855:
6856: IF l_x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
6857: -- IF (x_msg_count = 0) THEN
6858: -- FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');
6859: -- FND_MSG_PUB.ADD;
6860: -- END IF;
6861: RAISE FND_API.g_exc_unexpected_error;
6862: ELSIF l_x_return_status = FND_API.G_RET_STS_ERROR THEN

Line 6864: -- FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');

6860: -- END IF;
6861: RAISE FND_API.g_exc_unexpected_error;
6862: ELSIF l_x_return_status = FND_API.G_RET_STS_ERROR THEN
6863: -- IF (x_msg_count = 0 ) THEN
6864: -- FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');
6865: -- FND_MSG_PUB.ADD;
6866: -- END IF;
6867: RAISE FND_API.G_EXC_ERROR;
6868: END IF;

Line 6909: FND_MESSAGE.SET_NAME('WMS','WMS_ALLOCATE_FAIL');

6905: IF (l_msg_count IS NULL OR l_msg_count = 0) THEN
6906: -- use default message if there are no message on stack
6907: -- first reset message stack
6908: fnd_msg_pub.initialize();
6909: FND_MESSAGE.SET_NAME('WMS','WMS_ALLOCATE_FAIL');
6910: FND_MSG_PUB.ADD;
6911: ELSIF l_msg_count > 1 THEN
6912: FOR i IN 2 .. l_msg_count LOOP
6913: fnd_msg_pub.delete_msg(i);

Line 6947: FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');

6943: IF l_debug = 1 THEN
6944: debug('TM call for pack unpack faluire');
6945: debug('Failure message ' || x_msg_data);
6946: END IF;
6947: FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');
6948: RAISE FND_API.G_EXC_ERROR;
6949: END IF;
6950: END IF;
6951:

Line 6981: fnd_message.set_name('WMS', 'WMS_NO_EMP_FOR_USR');

6977: WHEN OTHERS THEN
6978: IF (l_debug = 1) THEN
6979: DEBUG('There is no employee id tied to the user','load_lpn',9);
6980: END IF;
6981: fnd_message.set_name('WMS', 'WMS_NO_EMP_FOR_USR');
6982: fnd_msg_pub.ADD;
6983: RAISE fnd_api.g_exc_error;
6984: END;
6985:

Line 7077: fnd_message.set_name('WMS', 'WMS_NO_EMP_FOR_USR');

7073: WHEN OTHERS THEN
7074: IF (l_debug = 1) THEN
7075: DEBUG('There is no employee id tied to the user','transfer_contents',9);
7076: END IF;
7077: fnd_message.set_name('WMS', 'WMS_NO_EMP_FOR_USR');
7078: fnd_msg_pub.ADD;
7079: RAISE fnd_api.g_exc_error;
7080: END;
7081: debug('Calling complete_atf_load for:'||p_from_lpn_id);

Line 7209: fnd_message.set_name('INV', 'INV_RCV_PARAM');

7205: BEGIN
7206: inv_rcv_common_apis.init_startup_values(l_from_org);
7207: EXCEPTION
7208: WHEN NO_DATA_FOUND THEN
7209: fnd_message.set_name('INV', 'INV_RCV_PARAM');
7210: fnd_msg_pub.ADD;
7211: RAISE fnd_api.g_exc_error;
7212: END;
7213:

Line 7585: FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');

7581: IF l_debug = 1 THEN
7582: debug('TM call for pack unpack faluire');
7583: debug('Failure message ' || x_msg_data);
7584: END IF;
7585: FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');
7586: RAISE FND_API.G_EXC_ERROR;
7587: END IF;
7588:
7589: l_batch_seq := l_batch_seq + 1;

Line 7674: FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');

7670: IF l_debug = 1 THEN
7671: debug('TM call for pack unpack faluire');
7672: debug('Failure message ' || x_msg_data);
7673: END IF;
7674: FND_MESSAGE.SET_NAME('WMS','WMS_LOG_EXCEPTION_FAIL');
7675: RAISE FND_API.G_EXC_ERROR;
7676: END IF; -- if l_ret<> 0
7677:
7678: l_batch_seq := l_batch_seq + 1;

Line 7985: fnd_message.set_name('WMS', 'WMS_NO_EMP_FOR_USR');

7981: WHEN OTHERS THEN
7982: IF (l_debug = 1) THEN
7983: DEBUG('There is no employee id tied to the user','transfer_contents',9);
7984: END IF;
7985: fnd_message.set_name('WMS', 'WMS_NO_EMP_FOR_USR');
7986: fnd_msg_pub.ADD;
7987: RAISE fnd_api.g_exc_error;
7988: END;
7989:

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

8009: IF (l_debug = 1) THEN
8010: DEBUG('from LPN not found in WMS_LICENSE_PLATE_NUMBERS',
8011: 'transfer_contents',9);
8012: END IF;
8013: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_LPN');
8014: fnd_msg_pub.ADD;
8015: RAISE fnd_api.g_exc_error;
8016: END;
8017:

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

8035: IF (l_debug = 1) THEN
8036: DEBUG('INTO LPN not found in WMS_LICENSE_PLATE_NUMBERS',
8037: 'transfer_contents',9);
8038: END IF;
8039: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_LPN');
8040: fnd_msg_pub.ADD;
8041: RAISE fnd_api.g_exc_error;
8042: END;
8043:

Line 8072: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_LPN_CONTEXT');

8068: IF (l_debug = 1) THEN
8069: DEBUG('Invalid context for from_lpn_id',
8070: 'transfer_contents', 9);
8071: END IF;
8072: fnd_message.set_name('WMS', 'WMS_CONT_INVALID_LPN_CONTEXT');
8073: fnd_msg_pub.ADD;
8074: RAISE fnd_api.g_exc_error;
8075: END IF;
8076:

Line 8150: FND_MESSAGE.SET_NAME('WMS','WMS_ALLOCATE_FAIL');

8146: IF (l_msg_count IS NULL OR l_msg_count = 0) THEN
8147: -- use default message if there are no message on stack
8148: -- first reset message stack
8149: fnd_msg_pub.initialize();
8150: FND_MESSAGE.SET_NAME('WMS','WMS_ALLOCATE_FAIL');
8151: FND_MSG_PUB.ADD;
8152: ELSIF l_msg_count > 1 THEN
8153: FOR i IN 2 .. l_msg_count LOOP
8154: fnd_msg_pub.delete_msg(i);

Line 8214: FND_MESSAGE.SET_NAME('WMS','WMS_ALLOCATE_FAIL');

8210: IF (l_txn_tmp_id_tb.COUNT = 0) THEN
8211: IF (l_debug = 1) THEN
8212: debug('No MMTT returned!','transfer_contents',9);
8213: END IF;
8214: FND_MESSAGE.SET_NAME('WMS','WMS_ALLOCATE_FAIL');
8215: FND_MSG_PUB.ADD;
8216: RAISE fnd_api.g_exc_error;
8217: END IF;
8218: ELSE

Line 9201: fnd_message.set_name('WMS', 'WMS_TASK_ERROR');

9197: COMMIT;
9198:
9199: EXCEPTION
9200: WHEN OTHERS THEN
9201: fnd_message.set_name('WMS', 'WMS_TASK_ERROR');
9202: fnd_msg_pub.add;
9203: x_return_status := fnd_api.g_ret_sts_unexp_error;
9204: IF (l_debug = 1) THEN
9205: debug('Exception occured after l_progress ='|| l_progress, 'transfer_contents', 9);

Line 9808: fnd_message.set_name('WMS', 'WMS_TASK_ERROR');

9804: WHEN OTHERS THEN
9805: IF (l_debug = 1) THEN
9806: DEBUG('Error fetching MMTTs for the current group. Cannot drop', l_proc_name, 1);
9807: END IF;
9808: fnd_message.set_name('WMS', 'WMS_TASK_ERROR');
9809: fnd_msg_pub.add;
9810: RAISE FND_API.G_EXC_ERROR;
9811: END;
9812: ELSE

Line 10414: fnd_message.set_name('WMS', 'WMS_TASK_ERROR');

10410: DEBUG('complete_putaway_wrapper: Progress: ' || l_progress || 'No. of tasks for this group: ' || l_temp_id_tbl.COUNT, l_proc_name);
10411: END IF;
10412:
10413: IF (l_temp_id_tbl.COUNT = 0) THEN
10414: fnd_message.set_name('WMS', 'WMS_TASK_ERROR');
10415: fnd_msg_pub.ADD;
10416: END IF;
10417:
10418: IF (p_drop_type = G_DT_ITEM_DROP) THEN

Line 11054: fnd_message.set_name('WMS', 'WMS_TD_TXNMGR_ERROR');

11050: IF x_return_status = FND_API.G_RET_STS_ERROR THEN
11051: IF (l_debug = 1) THEN
11052: DEBUG('complete_putaway_wrapper: Encountered g_exc_error while calling receiving manager;'|| to_char(sysdate, 'YYYY-MM-DD HH:DD:SS'), 4);
11053: END IF;
11054: fnd_message.set_name('WMS', 'WMS_TD_TXNMGR_ERROR');
11055: fnd_msg_pub.add;
11056: RAISE FND_API.G_EXC_ERROR;
11057: END IF;
11058:

Line 11063: fnd_message.set_name('WMS', 'WMS_TD_TXNMGR_ERROR');

11059: IF x_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
11060: IF (l_debug = 1) THEN
11061: DEBUG('complete_putaway_wrapper: Encountered g_exc_unexp_error while calling receiving manager;'|| to_char(sysdate, 'YYYY-MM-DD HH:DD:SS'), 4);
11062: END IF;
11063: fnd_message.set_name('WMS', 'WMS_TD_TXNMGR_ERROR');
11064: fnd_msg_pub.add;
11065: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
11066: END IF;
11067:

Line 11152: fnd_message.set_name('WMS', 'WMS_TD_TXNMGR_ERROR');

11148: debug('complete_putaway_wrapper: Txn Message ' || x_msg_data, l_proc_name);
11149: END IF;
11150:
11151: IF (l_txn_ret <> 0) THEN
11152: fnd_message.set_name('WMS', 'WMS_TD_TXNMGR_ERROR');
11153: fnd_msg_pub.ADD;
11154: RAISE fnd_api.g_exc_unexpected_error;
11155: END IF;
11156: END IF; --END IF call the managers based on lpn_context

Line 11450: FND_MESSAGE.SET_NAME('WMS', 'WMS_TD_CREATE_LPN_ERROR');

11446: ELSE
11447: IF (l_debug = 1) THEN
11448: debug('Failure returned from wms_container_pub.create_lpn API','validate_into_lpn',9);
11449: END IF;
11450: FND_MESSAGE.SET_NAME('WMS', 'WMS_TD_CREATE_LPN_ERROR');
11451: FND_MSG_PUB.ADD;
11452: RAISE fnd_api.g_exc_error;
11453: END IF;
11454: l_progress := '60';

Line 11595: FND_MESSAGE.SET_NAME('WMS','WMS_NO_LPN_LOAD_ALLOWED');

11591: x_validation_passed := 'N';
11592: IF (l_debug = 1) THEN
11593: debug('Into LPN validation failed!','validate_into_lpn',9);
11594: END IF;
11595: FND_MESSAGE.SET_NAME('WMS','WMS_NO_LPN_LOAD_ALLOWED');
11596: FND_MSG_PUB.ADD;
11597: RAISE fnd_api.g_exc_error;
11598: ELSE
11599: x_validation_passed := 'Y';

Line 11695: fnd_message.set_name('WMS', 'WMS_LOOSE_TO_LPN');

11691:
11692: IF l_allowed = 'N' THEN
11693: x_return_status := fnd_api.g_ret_sts_error;
11694: x_validation_passed := 'N';
11695: fnd_message.set_name('WMS', 'WMS_LOOSE_TO_LPN');
11696: fnd_msg_pub.ADD;
11697: RETURN;
11698: END IF;
11699: END IF;