31:
32: /*-----------------------------------------------------------------------------------------------------------*/
33: /* procedure name: RECEIVE_ITEM */
34: /* description : Populates the Receive open interface tables and calls the Receive processor. This handles */
35: /* all types of receives a) Direct b) Standard */
36: /* Called from : CSDREPLN.pld. logistics tab.*/
37: /* Input Parm : p_api_version NUMBER Required Api Version number */
38: /* p_init_msg_list VARCHAR2 Optional Initializes message stack if fnd_api.g_true, */
39: /* default value is fnd_api.g_false */
74: l_counter number := 1;
75: -- end changes,subhat, for bug#9058678
76: BEGIN
77:
78: -- Standard Start of API savepoint
79: SAVEPOINT sp_receive_item;
80:
81:
82: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)
96: -- initialize message list
97: fnd_msg_pub.initialize;
98: END IF;
99:
100: -- Standard call to check for call compatibility.
101: IF NOT fnd_api.compatible_api_call (l_api_version_number,
102: p_api_version,
103: l_api_name,
104: g_pkg_name
252: END IF;
253: *****************/
254:
255:
256: -- Standard call to get message count and IF count is get message info.
257: fnd_msg_pub.count_and_get (p_count => x_msg_count,
258: p_data => x_msg_data);
259:
260: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)
413: -- initialize message list
414: fnd_msg_pub.initialize;
415: END IF;
416:
417: -- Standard call to check for call compatibility.
418: IF NOT fnd_api.compatible_api_call (l_api_version_number,
419: p_api_version,
420: l_api_name,
421: g_pkg_name
885: END IF;
886: END LOOP;
887:
888:
889: -- Standard call to get message count and IF count is get message info.
890: fnd_msg_pub.count_and_get (p_count => x_msg_count,
891: p_data => x_msg_data);
892:
893: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)
1042: x_progress := '000';
1043: l_TIMEOUT := 300;
1044: l_ret_code := 0;
1045:
1046: -- Standard Start of API savepoint
1047: SAVEPOINT sp_rcv_req_online;
1048:
1049: IF fnd_api.to_boolean (p_init_msg_list)
1050: THEN
1051: -- initialize message list
1052: fnd_msg_pub.initialize;
1053: END IF;
1054:
1055: -- Standard call to check for call compatibility.
1056: IF NOT fnd_api.compatible_api_call (l_api_version_number,
1057: p_api_version,
1058: l_api_name,
1059: g_pkg_name
1392: csd_bulk_receive_pvt.g_conc_req_id := l_req_id;
1393:
1394: end if;
1395: -- end 12.1.2 Bulk Receive ER FP, subhat..
1396: -- Standard call to get message count and IF count is get message info.
1397: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1398: p_data => x_msg_data);
1399:
1400: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)