DBA Data[Home] [Help]

APPS.PO_MODIFY_REQUISITION_PVT dependencies on FND_MESSAGE

Line 253: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());

249: po_moac_utils_pvt.set_org_context(l_old_org_id);
250:
251: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
252: FND_MSG_PUB.Add;
253: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
254: x_msg_data := FND_MESSAGE.get;
255: x_error_msg_tbl.extend(1);
256: x_error_msg_tbl(x_error_msg_tbl.count) := x_msg_data;
257: x_return_status := FND_API.g_ret_sts_error;

Line 254: x_msg_data := FND_MESSAGE.get;

250:
251: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
252: FND_MSG_PUB.Add;
253: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
254: x_msg_data := FND_MESSAGE.get;
255: x_error_msg_tbl.extend(1);
256: x_error_msg_tbl(x_error_msg_tbl.count) := x_msg_data;
257: x_return_status := FND_API.g_ret_sts_error;
258:

Line 274: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());

270: BEGIN
271: -- Log a debug message, add the error the the API message list.
272: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
273: FND_MSG_PUB.Add;
274: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
275: x_msg_data := FND_MESSAGE.get;
276: x_error_msg_tbl.extend(1);
277: x_error_msg_tbl(x_error_msg_tbl.count) := x_msg_data;
278:

Line 275: x_msg_data := FND_MESSAGE.get;

271: -- Log a debug message, add the error the the API message list.
272: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
273: FND_MSG_PUB.Add;
274: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
275: x_msg_data := FND_MESSAGE.get;
276: x_error_msg_tbl.extend(1);
277: x_error_msg_tbl(x_error_msg_tbl.count) := x_msg_data;
278:
279: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 1212: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());

1208: BEGIN
1209: -- Log a debug message, add the error the the API message list.
1210: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
1211: FND_MSG_PUB.Add;
1212: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1213: x_msg_data := FND_MESSAGE.get;
1214: x_error_msg_tbl.extend(1);
1215: x_error_msg_tbl(x_error_msg_tbl.count) := x_msg_data;
1216: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 1213: x_msg_data := FND_MESSAGE.get;

1209: -- Log a debug message, add the error the the API message list.
1210: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
1211: FND_MSG_PUB.Add;
1212: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1213: x_msg_data := FND_MESSAGE.get;
1214: x_error_msg_tbl.extend(1);
1215: x_error_msg_tbl(x_error_msg_tbl.count) := x_msg_data;
1216: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1217: IF (PO_LOG.d_exc)

Line 1391: l_tax_message := FND_MESSAGE.get_string('PO','PO_TAX_CALCULATION')||' : ' ;

1387: x_return_status => l_return_status);
1388:
1389: --
1390: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
1391: l_tax_message := FND_MESSAGE.get_string('PO','PO_TAX_CALCULATION')||' : ' ;
1392:
1393: FOR i IN 1..po_tax_interface_pvt.G_TAX_ERRORS_TBL.MESSAGE_TEXT.COUNT LOOP
1394: l_message_text := l_tax_message || po_tax_interface_pvt.G_TAX_ERRORS_TBL.message_text(i);
1395: FND_MESSAGE.set_name('PO','PO_CUSTOM_MSG');

Line 1395: FND_MESSAGE.set_name('PO','PO_CUSTOM_MSG');

1391: l_tax_message := FND_MESSAGE.get_string('PO','PO_TAX_CALCULATION')||' : ' ;
1392:
1393: FOR i IN 1..po_tax_interface_pvt.G_TAX_ERRORS_TBL.MESSAGE_TEXT.COUNT LOOP
1394: l_message_text := l_tax_message || po_tax_interface_pvt.G_TAX_ERRORS_TBL.message_text(i);
1395: FND_MESSAGE.set_name('PO','PO_CUSTOM_MSG');
1396: FND_MESSAGE.set_token('TRANSLATED_TOKEN',l_message_text);
1397: FND_MSG_PUB.Add;
1398: END LOOP;
1399:

Line 1396: FND_MESSAGE.set_token('TRANSLATED_TOKEN',l_message_text);

1392:
1393: FOR i IN 1..po_tax_interface_pvt.G_TAX_ERRORS_TBL.MESSAGE_TEXT.COUNT LOOP
1394: l_message_text := l_tax_message || po_tax_interface_pvt.G_TAX_ERRORS_TBL.message_text(i);
1395: FND_MESSAGE.set_name('PO','PO_CUSTOM_MSG');
1396: FND_MESSAGE.set_token('TRANSLATED_TOKEN',l_message_text);
1397: FND_MSG_PUB.Add;
1398: END LOOP;
1399:
1400: RAISE FND_API.G_EXC_ERROR;

Line 1403: FND_MESSAGE.set_name('PO','PO_PDOI_TAX_CALCULATION_ERR');

1399:
1400: RAISE FND_API.G_EXC_ERROR;
1401:
1402: ELSIF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
1403: FND_MESSAGE.set_name('PO','PO_PDOI_TAX_CALCULATION_ERR');
1404: FND_MSG_PUB.Add;
1405: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
1406: END IF;--l_return_status
1407: --

Line 1530: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());

1526: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
1527: FND_MSG_PUB.Add;
1528: END IF;
1529:
1530: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1531: x_msg_data := FND_MESSAGE.get;
1532: x_error_msg_tbl.extend(1);
1533: x_error_msg_tbl(x_error_msg_tbl.COUNT) := x_msg_data;
1534:

Line 1531: x_msg_data := FND_MESSAGE.get;

1527: FND_MSG_PUB.Add;
1528: END IF;
1529:
1530: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1531: x_msg_data := FND_MESSAGE.get;
1532: x_error_msg_tbl.extend(1);
1533: x_error_msg_tbl(x_error_msg_tbl.COUNT) := x_msg_data;
1534:
1535: x_return_status := FND_API.g_ret_sts_unexp_error;

Line 1560: FND_MESSAGE.set_encoded(encoded_message =>

1556: ,p_online_report_id => l_online_report_id);
1557: END IF;
1558:
1559: FOR i IN 1..FND_MSG_PUB.count_msg loop
1560: FND_MESSAGE.set_encoded(encoded_message =>
1561: FND_MSG_PUB.get(p_msg_index => i));
1562: x_error_msg_tbl.extend(1);
1563: x_error_msg_tbl(i) := FND_MESSAGE.get;
1564: END LOOP;

Line 1563: x_error_msg_tbl(i) := FND_MESSAGE.get;

1559: FOR i IN 1..FND_MSG_PUB.count_msg loop
1560: FND_MESSAGE.set_encoded(encoded_message =>
1561: FND_MSG_PUB.get(p_msg_index => i));
1562: x_error_msg_tbl.extend(1);
1563: x_error_msg_tbl(i) := FND_MESSAGE.get;
1564: END LOOP;
1565: --
1566: --Set the return status at the end so that the call to add
1567: --online report msgs onto the stack doesn't override the value set

Line 1584: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());

1580: BEGIN
1581: -- Log a debug message, add the error the the API message list.
1582: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
1583: FND_MSG_PUB.Add;
1584: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1585: x_msg_data := FND_MESSAGE.get;
1586: x_error_msg_tbl.extend(1);
1587: x_error_msg_tbl(1) := x_msg_data;
1588: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 1585: x_msg_data := FND_MESSAGE.get;

1581: -- Log a debug message, add the error the the API message list.
1582: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
1583: FND_MSG_PUB.Add;
1584: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1585: x_msg_data := FND_MESSAGE.get;
1586: x_error_msg_tbl.extend(1);
1587: x_error_msg_tbl(1) := x_msg_data;
1588: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1589: IF (PO_LOG.d_exc)

Line 1799: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());

1795: WHEN OTHERS THEN
1796:
1797: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
1798: FND_MSG_PUB.Add;
1799: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1800:
1801: ROLLBACK TO CALL_FUNDS_REVERSAL_PVT;
1802: x_msg_data := FND_MESSAGE.get;
1803: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 1802: x_msg_data := FND_MESSAGE.get;

1798: FND_MSG_PUB.Add;
1799: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1800:
1801: ROLLBACK TO CALL_FUNDS_REVERSAL_PVT;
1802: x_msg_data := FND_MESSAGE.get;
1803: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1804:
1805: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
1806: p_data => x_msg_data);