DBA Data[Home] [Help]

APPS.PO_MODIFY_REQUISITION_PVT dependencies on FND_MESSAGE

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

193: po_moac_utils_pvt.set_org_context(l_old_org_id);
194:
195: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
196: FND_MSG_PUB.Add;
197: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
198: x_msg_data := FND_MESSAGE.get;
199: x_error_msg_tbl.extend(1);
200: x_error_msg_tbl(x_error_msg_tbl.count) := x_msg_data;
201: x_return_status := FND_API.g_ret_sts_error;

Line 198: x_msg_data := FND_MESSAGE.get;

194:
195: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
196: FND_MSG_PUB.Add;
197: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
198: x_msg_data := FND_MESSAGE.get;
199: x_error_msg_tbl.extend(1);
200: x_error_msg_tbl(x_error_msg_tbl.count) := x_msg_data;
201: x_return_status := FND_API.g_ret_sts_error;
202:

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

214: BEGIN
215: -- Log a debug message, add the error the the API message list.
216: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
217: FND_MSG_PUB.Add;
218: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
219: x_msg_data := FND_MESSAGE.get;
220: x_error_msg_tbl.extend(1);
221: x_error_msg_tbl(x_error_msg_tbl.count) := x_msg_data;
222:

Line 219: x_msg_data := FND_MESSAGE.get;

215: -- Log a debug message, add the error the the API message list.
216: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
217: FND_MSG_PUB.Add;
218: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
219: x_msg_data := FND_MESSAGE.get;
220: x_error_msg_tbl.extend(1);
221: x_error_msg_tbl(x_error_msg_tbl.count) := x_msg_data;
222:
223: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

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

767: BEGIN
768: -- Log a debug message, add the error the the API message list.
769: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
770: FND_MSG_PUB.Add;
771: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
772: x_msg_data := FND_MESSAGE.get;
773: x_error_msg_tbl.extend(1);
774: x_error_msg_tbl(x_error_msg_tbl.count) := x_msg_data;
775: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 772: x_msg_data := FND_MESSAGE.get;

768: -- Log a debug message, add the error the the API message list.
769: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
770: FND_MSG_PUB.Add;
771: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
772: x_msg_data := FND_MESSAGE.get;
773: x_error_msg_tbl.extend(1);
774: x_error_msg_tbl(x_error_msg_tbl.count) := x_msg_data;
775: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
776: IF (PO_LOG.d_exc)

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

944: x_return_status => l_return_status);
945:
946: --
947: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
948: l_tax_message := FND_MESSAGE.get_string('PO','PO_TAX_CALCULATION')||' : ' ;
949:
950: FOR i IN 1..po_tax_interface_pvt.G_TAX_ERRORS_TBL.MESSAGE_TEXT.COUNT LOOP
951: l_message_text := l_tax_message || po_tax_interface_pvt.G_TAX_ERRORS_TBL.message_text(i);
952: FND_MESSAGE.set_name('PO','PO_CUSTOM_MSG');

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

948: l_tax_message := FND_MESSAGE.get_string('PO','PO_TAX_CALCULATION')||' : ' ;
949:
950: FOR i IN 1..po_tax_interface_pvt.G_TAX_ERRORS_TBL.MESSAGE_TEXT.COUNT LOOP
951: l_message_text := l_tax_message || po_tax_interface_pvt.G_TAX_ERRORS_TBL.message_text(i);
952: FND_MESSAGE.set_name('PO','PO_CUSTOM_MSG');
953: FND_MESSAGE.set_token('TRANSLATED_TOKEN',l_message_text);
954: FND_MSG_PUB.Add;
955: END LOOP;
956:

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

949:
950: FOR i IN 1..po_tax_interface_pvt.G_TAX_ERRORS_TBL.MESSAGE_TEXT.COUNT LOOP
951: l_message_text := l_tax_message || po_tax_interface_pvt.G_TAX_ERRORS_TBL.message_text(i);
952: FND_MESSAGE.set_name('PO','PO_CUSTOM_MSG');
953: FND_MESSAGE.set_token('TRANSLATED_TOKEN',l_message_text);
954: FND_MSG_PUB.Add;
955: END LOOP;
956:
957: RAISE FND_API.G_EXC_ERROR;

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

956:
957: RAISE FND_API.G_EXC_ERROR;
958:
959: ELSIF l_return_status = FND_API.G_RET_STS_UNEXP_ERROR THEN
960: FND_MESSAGE.set_name('PO','PO_PDOI_TAX_CALCULATION_ERR');
961: FND_MSG_PUB.Add;
962: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
963: END IF;--l_return_status
964: --

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

1053: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
1054: FND_MSG_PUB.Add;
1055: END IF;
1056:
1057: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1058: x_msg_data := FND_MESSAGE.get;
1059: x_error_msg_tbl.extend(1);
1060: x_error_msg_tbl(x_error_msg_tbl.COUNT) := x_msg_data;
1061:

Line 1058: x_msg_data := FND_MESSAGE.get;

1054: FND_MSG_PUB.Add;
1055: END IF;
1056:
1057: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1058: x_msg_data := FND_MESSAGE.get;
1059: x_error_msg_tbl.extend(1);
1060: x_error_msg_tbl(x_error_msg_tbl.COUNT) := x_msg_data;
1061:
1062: x_return_status := FND_API.g_ret_sts_unexp_error;

Line 1087: FND_MESSAGE.set_encoded(encoded_message =>

1083: ,p_online_report_id => l_online_report_id);
1084: END IF;
1085:
1086: FOR i IN 1..FND_MSG_PUB.count_msg loop
1087: FND_MESSAGE.set_encoded(encoded_message =>
1088: FND_MSG_PUB.get(p_msg_index => i));
1089: x_error_msg_tbl.extend(1);
1090: x_error_msg_tbl(i) := FND_MESSAGE.get;
1091: END LOOP;

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

1086: FOR i IN 1..FND_MSG_PUB.count_msg loop
1087: FND_MESSAGE.set_encoded(encoded_message =>
1088: FND_MSG_PUB.get(p_msg_index => i));
1089: x_error_msg_tbl.extend(1);
1090: x_error_msg_tbl(i) := FND_MESSAGE.get;
1091: END LOOP;
1092: --
1093: --Set the return status at the end so that the call to add
1094: --online report msgs onto the stack doesn't override the value set

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

1107: BEGIN
1108: -- Log a debug message, add the error the the API message list.
1109: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
1110: FND_MSG_PUB.Add;
1111: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1112: x_msg_data := FND_MESSAGE.get;
1113: x_error_msg_tbl.extend(1);
1114: x_error_msg_tbl(1) := x_msg_data;
1115: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 1112: x_msg_data := FND_MESSAGE.get;

1108: -- Log a debug message, add the error the the API message list.
1109: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
1110: FND_MSG_PUB.Add;
1111: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1112: x_msg_data := FND_MESSAGE.get;
1113: x_error_msg_tbl.extend(1);
1114: x_error_msg_tbl(1) := x_msg_data;
1115: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1116: IF (PO_LOG.d_exc)

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

1322: WHEN OTHERS THEN
1323:
1324: po_message_s.sql_error(g_pkg_name, l_module, d_progress, SQLCODE, SQLERRM);
1325: FND_MSG_PUB.Add;
1326: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1327:
1328: ROLLBACK TO CALL_FUNDS_REVERSAL_PVT;
1329: x_msg_data := FND_MESSAGE.get;
1330: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;

Line 1329: x_msg_data := FND_MESSAGE.get;

1325: FND_MSG_PUB.Add;
1326: FND_MESSAGE.set_encoded(encoded_message =>FND_MSG_PUB.GET());
1327:
1328: ROLLBACK TO CALL_FUNDS_REVERSAL_PVT;
1329: x_msg_data := FND_MESSAGE.get;
1330: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
1331:
1332: FND_MSG_PUB.Count_And_Get(p_count => x_msg_count,
1333: p_data => x_msg_data);