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 */
69: l_request_group_id NUMBER;
70: l_retcode NUMBER;
71: BEGIN
72:
73: -- Standard Start of API savepoint
74: SAVEPOINT sp_receive_item;
75:
76:
77: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)
91: -- initialize message list
92: fnd_msg_pub.initialize;
93: END IF;
94:
95: -- Standard call to check for call compatibility.
96: IF NOT fnd_api.compatible_api_call (l_api_version_number,
97: p_api_version,
98: l_api_name,
99: g_pkg_name
229: END IF;
230: *****************/
231:
232:
233: -- Standard call to get message count and IF count is get message info.
234: fnd_msg_pub.count_and_get (p_count => x_msg_count,
235: p_data => x_msg_data);
236:
237: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)
390: -- initialize message list
391: fnd_msg_pub.initialize;
392: END IF;
393:
394: -- Standard call to check for call compatibility.
395: IF NOT fnd_api.compatible_api_call (l_api_version_number,
396: p_api_version,
397: l_api_name,
398: g_pkg_name
828: END IF;
829: END LOOP;
830:
831:
832: -- Standard call to get message count and IF count is get message info.
833: fnd_msg_pub.count_and_get (p_count => x_msg_count,
834: p_data => x_msg_data);
835:
836: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)
983: x_progress := '000';
984: l_TIMEOUT := 300;
985: l_ret_code := 0;
986:
987: -- Standard Start of API savepoint
988: SAVEPOINT sp_rcv_req_online;
989:
990: IF fnd_api.to_boolean (p_init_msg_list)
991: THEN
992: -- initialize message list
993: fnd_msg_pub.initialize;
994: END IF;
995:
996: -- Standard call to check for call compatibility.
997: IF NOT fnd_api.compatible_api_call (l_api_version_number,
998: p_api_version,
999: l_api_name,
1000: g_pkg_name
1305: x_return_status := fnd_api.g_ret_sts_error;
1306: --END IF;
1307: END IF;
1308:
1309: -- Standard call to get message count and IF count is get message info.
1310: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1311: p_data => x_msg_data);
1312:
1313: IF (fnd_log.level_procedure >= fnd_log.g_current_runtime_level)