DBA Data[Home] [Help]

APPS.CSD_RECEIVE_PVT dependencies on FND_MSG_PUB

Line 92: fnd_msg_pub.initialize;

88: );
89: IF fnd_api.to_boolean (p_init_msg_list)
90: THEN
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,

Line 142: fnd_msg_pub.ADD;

138:
139: IF (p_receive_tbl (l_index).routing_header_id = -1)
140: THEN
141: fnd_message.set_name ('CSD', 'CSD_AUTO_RECV_NOT_POSSIBLE');
142: fnd_msg_pub.ADD;
143: RAISE fnd_api.g_exc_error;
144: END IF;
145:
146: END LOOP;

Line 234: fnd_msg_pub.count_and_get (p_count => x_msg_count,

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)
238: THEN

Line 256: fnd_msg_pub.count_and_get (p_count => x_msg_count,

252: WHEN fnd_api.g_exc_error
253: THEN
254: x_return_status := fnd_api.g_ret_sts_error;
255: ROLLBACK TO sp_receive_item;
256: fnd_msg_pub.count_and_get (p_count => x_msg_count,
257: p_data => x_msg_data);
258:
259: /*************************88
260: if(l_request_group_id is not null) then

Line 279: fnd_msg_pub.count_and_get (p_count => x_msg_count,

275: WHEN fnd_api.g_exc_unexpected_error
276: THEN
277: x_return_status := fnd_api.g_ret_sts_unexp_error;
278: ROLLBACK TO sp_receive_item;
279: fnd_msg_pub.count_and_get (p_count => x_msg_count,
280: p_data => x_msg_data);
281:
282: IF (fnd_log.level_exception >= fnd_log.g_current_runtime_level)
283: THEN

Line 294: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)

290: THEN
291: x_return_status := fnd_api.g_ret_sts_unexp_error;
292: ROLLBACK TO sp_receive_item;
293:
294: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
295: THEN
296: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
297: END IF;
298:

Line 296: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);

292: ROLLBACK TO sp_receive_item;
293:
294: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
295: THEN
296: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
297: END IF;
298:
299: fnd_msg_pub.count_and_get (p_count => x_msg_count,
300: p_data => x_msg_data);

Line 299: fnd_msg_pub.count_and_get (p_count => x_msg_count,

295: THEN
296: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
297: END IF;
298:
299: fnd_msg_pub.count_and_get (p_count => x_msg_count,
300: p_data => x_msg_data);
301:
302: IF (fnd_log.level_unexpected >= fnd_log.g_current_runtime_level)
303: THEN

Line 391: fnd_msg_pub.initialize;

387:
388: IF fnd_api.to_boolean (p_init_msg_list)
389: THEN
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,

Line 833: fnd_msg_pub.count_and_get (p_count => x_msg_count,

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)
837: THEN

Line 852: fnd_msg_pub.count_and_get (p_count => x_msg_count,

848: WHEN fnd_api.g_exc_error
849: THEN
850: x_return_status := fnd_api.g_ret_sts_error;
851: ROLLBACK ;
852: fnd_msg_pub.count_and_get (p_count => x_msg_count,
853: p_data => x_msg_data);
854:
855: IF (fnd_log.level_error >= fnd_log.g_current_runtime_level)
856: THEN

Line 867: fnd_msg_pub.count_and_get (p_count => x_msg_count,

863: WHEN fnd_api.g_exc_unexpected_error
864: THEN
865: x_return_status := fnd_api.g_ret_sts_unexp_error;
866: ROLLBACK ;
867: fnd_msg_pub.count_and_get (p_count => x_msg_count,
868: p_data => x_msg_data);
869:
870: IF (fnd_log.level_exception >= fnd_log.g_current_runtime_level)
871: THEN

Line 883: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)

879: THEN
880: x_return_status := fnd_api.g_ret_sts_unexp_error;
881: ROLLBACK ;
882:
883: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
884: THEN
885: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
886: END IF;
887:

Line 885: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);

881: ROLLBACK ;
882:
883: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
884: THEN
885: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
886: END IF;
887:
888: fnd_msg_pub.count_and_get (p_count => x_msg_count,
889: p_data => x_msg_data);

Line 888: fnd_msg_pub.count_and_get (p_count => x_msg_count,

884: THEN
885: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
886: END IF;
887:
888: fnd_msg_pub.count_and_get (p_count => x_msg_count,
889: p_data => x_msg_data);
890:
891: IF (fnd_log.level_unexpected >= fnd_log.g_current_runtime_level)
892: THEN

Line 993: fnd_msg_pub.initialize;

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,

Line 1053: FOR l_index IN 1 .. fnd_msg_pub.count_msg

1049:
1050: IF l_ret_code <> 0 THEN
1051: IF (fnd_log.level_error >= fnd_log.g_current_runtime_level)
1052: THEN
1053: FOR l_index IN 1 .. fnd_msg_pub.count_msg
1054: LOOP
1055: fnd_msg_pub.get (p_msg_index => l_index,
1056: p_encoded => 'F',
1057: p_data => l_MESSAGE,

Line 1055: fnd_msg_pub.get (p_msg_index => l_index,

1051: IF (fnd_log.level_error >= fnd_log.g_current_runtime_level)
1052: THEN
1053: FOR l_index IN 1 .. fnd_msg_pub.count_msg
1054: LOOP
1055: fnd_msg_pub.get (p_msg_index => l_index,
1056: p_encoded => 'F',
1057: p_data => l_MESSAGE,
1058: p_msg_index_out => l_msg_index_out
1059: );

Line 1067: --FND_MSG_PUB.ADD;

1063: );
1064: END LOOP;
1065: END IF;
1066: --FND_MESSAGE.SET_NAME('CSD', 'CSD_RECEIVE_ERROR');
1067: --FND_MSG_PUB.ADD;
1068: --RAISE FND_API.G_EXC_ERROR;
1069: END IF;
1070:
1071: -- dbms_output.put_line('outcome=[-'||outcome||'-]');

Line 1107: fnd_msg_pub.ADD;

1103: fnd_message.set_token ('PROGRAM', l_str2);
1104: fnd_message.set_token ('REQUEST', p_request_group_id);
1105: fnd_message.set_token ('REASON', l_str1);
1106: --fnd_message.show;
1107: fnd_msg_pub.ADD;
1108: x_return_status := fnd_api.g_ret_sts_error;
1109: END IF;
1110: ELSIF (l_Ret_code = 2)
1111: THEN

Line 1152: fnd_msg_pub.ADD;

1148: fnd_log.MESSAGE (fnd_log.level_error,
1149: 'CSD.PLSQL.CSD_RECEIVE_PVT.RCV_REQ_ONLINE');
1150: END IF;
1151:
1152: fnd_msg_pub.ADD;
1153: x_return_status := fnd_api.g_ret_sts_error;
1154: END IF;
1155: ELSIF (l_ret_code = 3 OR (l_outcome IN ('WARNING', 'ERROR')))
1156: THEN

Line 1295: FND_MSG_PUB.add;

1291: END IF;
1292:
1293: FND_MESSAGE.SET_NAME('CSD','CSD_AUTO_RCV_ERROR');
1294: FND_MESSAGE.SET_TOKEN('RCV_ERROR',l_Str1);
1295: FND_MSG_PUB.add;
1296:
1297: IF (fnd_log.level_event >= fnd_log.g_current_runtime_level)
1298: THEN
1299: fnd_log.STRING (fnd_log.level_event,

Line 1310: fnd_msg_pub.count_and_get (p_count => x_msg_count,

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)
1314: THEN

Line 1325: fnd_msg_pub.count_and_get (p_count => x_msg_count,

1321: WHEN fnd_api.g_exc_error
1322: THEN
1323: x_return_status := fnd_api.g_ret_sts_error;
1324: ROLLBACK TO sp_rcv_req_online;
1325: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1326: p_data => x_msg_data);
1327:
1328: IF (fnd_log.level_error >= fnd_log.g_current_runtime_level)
1329: THEN

Line 1339: fnd_msg_pub.count_and_get (p_count => x_msg_count,

1335: WHEN fnd_api.g_exc_unexpected_error
1336: THEN
1337: x_return_status := fnd_api.g_ret_sts_unexp_error;
1338: ROLLBACK TO sp_rcv_req_online;
1339: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1340: p_data => x_msg_data);
1341:
1342: IF (fnd_log.level_exception >= fnd_log.g_current_runtime_level)
1343: THEN

Line 1354: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)

1350: THEN
1351: x_return_status := fnd_api.g_ret_sts_unexp_error;
1352: ROLLBACK TO sp_rcv_req_online;
1353:
1354: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
1355: THEN
1356: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1357: END IF;
1358:

Line 1356: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);

1352: ROLLBACK TO sp_rcv_req_online;
1353:
1354: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
1355: THEN
1356: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1357: END IF;
1358:
1359: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1360: p_data => x_msg_data);

Line 1359: fnd_msg_pub.count_and_get (p_count => x_msg_count,

1355: THEN
1356: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1357: END IF;
1358:
1359: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1360: p_data => x_msg_data);
1361:
1362: IF (fnd_log.level_unexpected >= fnd_log.g_current_runtime_level)
1363: THEN

Line 1539: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)

1535: THEN
1536: x_return_status := fnd_api.g_ret_sts_unexp_error;
1537: ROLLBACK;
1538:
1539: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
1540: THEN
1541: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1542: END IF;
1543:

Line 1541: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);

1537: ROLLBACK;
1538:
1539: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
1540: THEN
1541: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1542: END IF;
1543:
1544: IF (fnd_log.level_unexpected >= fnd_log.g_current_runtime_level)
1545: THEN

Line 1759: l_count := fnd_msg_pub.count_msg ();

1755: l_count NUMBER;
1756: l_msg VARCHAR2 (2000);
1757: l_index_out NUMBER;
1758: BEGIN
1759: l_count := fnd_msg_pub.count_msg ();
1760:
1761: IF (l_count > 0)
1762: THEN
1763: FOR i IN 1 .. l_count

Line 1765: fnd_msg_pub.get (p_msg_index => i,

1761: IF (l_count > 0)
1762: THEN
1763: FOR i IN 1 .. l_count
1764: LOOP
1765: fnd_msg_pub.get (p_msg_index => i,
1766: p_encoded => 'F',
1767: p_data => l_msg,
1768: p_msg_index_out => l_index_out
1769: );