DBA Data[Home] [Help]

APPS.CSD_RECEIVE_PVT dependencies on FND_MSG_PUB

Line 97: fnd_msg_pub.initialize;

93: );
94: IF fnd_api.to_boolean (p_init_msg_list)
95: THEN
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,

Line 150: fnd_msg_pub.ADD;

146:
147: IF (p_receive_tbl (l_index).routing_header_id = -1)
148: THEN
149: fnd_message.set_name ('CSD', 'CSD_AUTO_RECV_NOT_POSSIBLE');
150: fnd_msg_pub.ADD;
151: RAISE fnd_api.g_exc_error;
152: END IF;
153:
154: EXCEPTION

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

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

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

275: WHEN fnd_api.g_exc_error
276: THEN
277: x_return_status := fnd_api.g_ret_sts_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: /*************************88
283: if(l_request_group_id is not null) then

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

298: WHEN fnd_api.g_exc_unexpected_error
299: THEN
300: x_return_status := fnd_api.g_ret_sts_unexp_error;
301: ROLLBACK TO sp_receive_item;
302: fnd_msg_pub.count_and_get (p_count => x_msg_count,
303: p_data => x_msg_data);
304:
305: IF (fnd_log.level_exception >= fnd_log.g_current_runtime_level)
306: THEN

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

313: THEN
314: x_return_status := fnd_api.g_ret_sts_unexp_error;
315: ROLLBACK TO sp_receive_item;
316:
317: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
318: THEN
319: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
320: END IF;
321:

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

315: ROLLBACK TO sp_receive_item;
316:
317: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
318: THEN
319: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
320: END IF;
321:
322: fnd_msg_pub.count_and_get (p_count => x_msg_count,
323: p_data => x_msg_data);

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

318: THEN
319: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
320: END IF;
321:
322: fnd_msg_pub.count_and_get (p_count => x_msg_count,
323: p_data => x_msg_data);
324:
325: IF (fnd_log.level_unexpected >= fnd_log.g_current_runtime_level)
326: THEN

Line 414: fnd_msg_pub.initialize;

410:
411: IF fnd_api.to_boolean (p_init_msg_list)
412: THEN
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,

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

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

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

905: WHEN fnd_api.g_exc_error
906: THEN
907: x_return_status := fnd_api.g_ret_sts_error;
908: ROLLBACK ;
909: fnd_msg_pub.count_and_get (p_count => x_msg_count,
910: p_data => x_msg_data);
911:
912: IF (fnd_log.level_error >= fnd_log.g_current_runtime_level)
913: THEN

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

920: WHEN fnd_api.g_exc_unexpected_error
921: THEN
922: x_return_status := fnd_api.g_ret_sts_unexp_error;
923: ROLLBACK ;
924: fnd_msg_pub.count_and_get (p_count => x_msg_count,
925: p_data => x_msg_data);
926:
927: IF (fnd_log.level_exception >= fnd_log.g_current_runtime_level)
928: THEN

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

936: THEN
937: x_return_status := fnd_api.g_ret_sts_unexp_error;
938: ROLLBACK ;
939:
940: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
941: THEN
942: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
943: END IF;
944:

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

938: ROLLBACK ;
939:
940: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
941: THEN
942: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
943: END IF;
944:
945: fnd_msg_pub.count_and_get (p_count => x_msg_count,
946: p_data => x_msg_data);

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

941: THEN
942: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
943: END IF;
944:
945: fnd_msg_pub.count_and_get (p_count => x_msg_count,
946: p_data => x_msg_data);
947:
948: IF (fnd_log.level_unexpected >= fnd_log.g_current_runtime_level)
949: THEN

Line 1052: fnd_msg_pub.initialize;

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,

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

1113:
1114: IF l_ret_code <> 0 THEN
1115: IF (fnd_log.level_error >= fnd_log.g_current_runtime_level)
1116: THEN
1117: FOR l_index IN 1 .. fnd_msg_pub.count_msg
1118: LOOP
1119: fnd_msg_pub.get (p_msg_index => l_index,
1120: p_encoded => 'F',
1121: p_data => l_MESSAGE,

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

1115: IF (fnd_log.level_error >= fnd_log.g_current_runtime_level)
1116: THEN
1117: FOR l_index IN 1 .. fnd_msg_pub.count_msg
1118: LOOP
1119: fnd_msg_pub.get (p_msg_index => l_index,
1120: p_encoded => 'F',
1121: p_data => l_MESSAGE,
1122: p_msg_index_out => l_msg_index_out
1123: );

Line 1131: --FND_MSG_PUB.ADD;

1127: );
1128: END LOOP;
1129: END IF;
1130: --FND_MESSAGE.SET_NAME('CSD', 'CSD_RECEIVE_ERROR');
1131: --FND_MSG_PUB.ADD;
1132: --RAISE FND_API.G_EXC_ERROR;
1133: END IF;
1134:
1135: -- dbms_output.put_line('outcome=[-'||outcome||'-]');

Line 1171: fnd_msg_pub.ADD;

1167: fnd_message.set_token ('PROGRAM', l_str2);
1168: fnd_message.set_token ('REQUEST', p_request_group_id);
1169: fnd_message.set_token ('REASON', l_str1);
1170: --fnd_message.show;
1171: fnd_msg_pub.ADD;
1172: x_return_status := fnd_api.g_ret_sts_error;
1173: END IF;
1174: ELSIF (l_Ret_code = 2)
1175: THEN

Line 1216: fnd_msg_pub.ADD;

1212: fnd_log.MESSAGE (fnd_log.level_error,
1213: 'CSD.PLSQL.CSD_RECEIVE_PVT.RCV_REQ_ONLINE');
1214: END IF;
1215:
1216: fnd_msg_pub.ADD;
1217: x_return_status := fnd_api.g_ret_sts_error;
1218: END IF;
1219: ELSIF (l_ret_code = 3 OR (l_outcome IN ('WARNING', 'ERROR')))
1220: THEN

Line 1359: FND_MSG_PUB.add;

1355: END IF;
1356:
1357: FND_MESSAGE.SET_NAME('CSD','CSD_AUTO_RCV_ERROR');
1358: FND_MESSAGE.SET_TOKEN('RCV_ERROR',l_Str1);
1359: FND_MSG_PUB.add;
1360:
1361: IF (fnd_log.level_event >= fnd_log.g_current_runtime_level)
1362: THEN
1363: fnd_log.STRING (fnd_log.level_event,

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

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

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

1408: WHEN fnd_api.g_exc_error
1409: THEN
1410: x_return_status := fnd_api.g_ret_sts_error;
1411: ROLLBACK TO sp_rcv_req_online;
1412: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1413: p_data => x_msg_data);
1414:
1415: IF (fnd_log.level_error >= fnd_log.g_current_runtime_level)
1416: THEN

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

1422: WHEN fnd_api.g_exc_unexpected_error
1423: THEN
1424: x_return_status := fnd_api.g_ret_sts_unexp_error;
1425: ROLLBACK TO sp_rcv_req_online;
1426: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1427: p_data => x_msg_data);
1428:
1429: IF (fnd_log.level_exception >= fnd_log.g_current_runtime_level)
1430: THEN

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

1437: THEN
1438: x_return_status := fnd_api.g_ret_sts_unexp_error;
1439: ROLLBACK TO sp_rcv_req_online;
1440:
1441: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
1442: THEN
1443: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1444: END IF;
1445:

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

1439: ROLLBACK TO sp_rcv_req_online;
1440:
1441: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
1442: THEN
1443: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1444: END IF;
1445:
1446: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1447: p_data => x_msg_data);

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

1442: THEN
1443: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1444: END IF;
1445:
1446: fnd_msg_pub.count_and_get (p_count => x_msg_count,
1447: p_data => x_msg_data);
1448:
1449: IF (fnd_log.level_unexpected >= fnd_log.g_current_runtime_level)
1450: THEN

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

1622: THEN
1623: x_return_status := fnd_api.g_ret_sts_unexp_error;
1624: ROLLBACK;
1625:
1626: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
1627: THEN
1628: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1629: END IF;
1630:

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

1624: ROLLBACK;
1625:
1626: IF fnd_msg_pub.check_msg_level (fnd_msg_pub.g_msg_lvl_unexp_error)
1627: THEN
1628: fnd_msg_pub.add_exc_msg (g_pkg_name, l_api_name);
1629: END IF;
1630:
1631: IF (fnd_log.level_unexpected >= fnd_log.g_current_runtime_level)
1632: THEN

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

1842: l_count NUMBER;
1843: l_msg VARCHAR2 (2000);
1844: l_index_out NUMBER;
1845: BEGIN
1846: l_count := fnd_msg_pub.count_msg ();
1847:
1848: IF (l_count > 0)
1849: THEN
1850: FOR i IN 1 .. l_count

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

1848: IF (l_count > 0)
1849: THEN
1850: FOR i IN 1 .. l_count
1851: LOOP
1852: fnd_msg_pub.get (p_msg_index => i,
1853: p_encoded => 'F',
1854: p_data => l_msg,
1855: p_msg_index_out => l_index_out
1856: );