DBA Data[Home] [Help]

APPS.PO_INTERFACE_S dependencies on FND_MSG_PUB

Line 1183: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN

1179:
1180: --
1181: --No need to raise as we are setting the return status and error msg
1182: --raise;
1183: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
1184: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name,
1185: SUBSTRB (SQLERRM , 1 , 200) || ' at location ' || l_progress);
1186: END IF;
1187: x_msg_data := FND_MSG_PUB.GET(p_msg_index => FND_MSG_PUB.G_LAST,

Line 1184: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name,

1180: --
1181: --No need to raise as we are setting the return status and error msg
1182: --raise;
1183: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
1184: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name,
1185: SUBSTRB (SQLERRM , 1 , 200) || ' at location ' || l_progress);
1186: END IF;
1187: x_msg_data := FND_MSG_PUB.GET(p_msg_index => FND_MSG_PUB.G_LAST,
1188: p_encoded => 'F');

Line 1187: x_msg_data := FND_MSG_PUB.GET(p_msg_index => FND_MSG_PUB.G_LAST,

1183: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
1184: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name,
1185: SUBSTRB (SQLERRM , 1 , 200) || ' at location ' || l_progress);
1186: END IF;
1187: x_msg_data := FND_MSG_PUB.GET(p_msg_index => FND_MSG_PUB.G_LAST,
1188: p_encoded => 'F');
1189: --
1190:
1191: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >

Line 2542: fnd_msg_pub.add;

2538: fnd_message.set_token( TOKEN => 'PROC_CALLER'
2539: , VALUE => 'PO_INTERFACE_S.CREATE_PO');
2540: fnd_message.set_token( TOKEN => 'PROC_CALLED'
2541: , VALUE => 'PO_TAX_INTERFACE_PVT.CALCULATE_TAX');
2542: fnd_msg_pub.add;
2543: fnd_message.set_name('PO','PO_AP_TAX_ENGINE_FAILED_WARN');
2544: fnd_msg_pub.add;
2545: END IF;
2546: END IF;

Line 2544: fnd_msg_pub.add;

2540: fnd_message.set_token( TOKEN => 'PROC_CALLED'
2541: , VALUE => 'PO_TAX_INTERFACE_PVT.CALCULATE_TAX');
2542: fnd_msg_pub.add;
2543: fnd_message.set_name('PO','PO_AP_TAX_ENGINE_FAILED_WARN');
2544: fnd_msg_pub.add;
2545: END IF;
2546: END IF;
2547: ELSIF (g_document_subtype = 'RELEASE') THEN
2548: l_progress := '416';

Line 2571: fnd_msg_pub.add;

2567: fnd_message.set_token( TOKEN => 'PROC_CALLER'
2568: , VALUE => 'PO_INTERFACE_S.CREATE_PO');
2569: fnd_message.set_token( TOKEN => 'PROC_CALLED'
2570: , VALUE => 'PO_TAX_INTERFACE_PVT.CALCULATE_TAX');
2571: fnd_msg_pub.add;
2572: fnd_message.set_name('PO','PO_AP_TAX_ENGINE_FAILED_WARN');
2573: fnd_msg_pub.add;
2574: END IF;
2575: l_progress := '417';

Line 2573: fnd_msg_pub.add;

2569: fnd_message.set_token( TOKEN => 'PROC_CALLED'
2570: , VALUE => 'PO_TAX_INTERFACE_PVT.CALCULATE_TAX');
2571: fnd_msg_pub.add;
2572: fnd_message.set_name('PO','PO_AP_TAX_ENGINE_FAILED_WARN');
2573: fnd_msg_pub.add;
2574: END IF;
2575: l_progress := '417';
2576: END IF;
2577: END IF;

Line 2612: FND_MSG_PUB.Add;

2608: Fnd_message.set_token( token => 'PROC_CALLER'
2609: , VALUE => 'PO_INTERFACE_S.CREATE_PO');
2610: Fnd_message.set_token( token => 'PROC_CALLED'
2611: , VALUE => 'OKC_TERMS_CPOY_GRP.COPY_DOC');
2612: FND_MSG_PUB.Add;
2613:
2614: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >
2615: l_msg_count := FND_MSG_PUB.Count_Msg;
2616: FOR i IN 1..l_msg_count LOOP

Line 2615: l_msg_count := FND_MSG_PUB.Count_Msg;

2611: , VALUE => 'OKC_TERMS_CPOY_GRP.COPY_DOC');
2612: FND_MSG_PUB.Add;
2613:
2614: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >
2615: l_msg_count := FND_MSG_PUB.Count_Msg;
2616: FOR i IN 1..l_msg_count LOOP
2617: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2618: p_token => l_progress||'_EXCEPTION_'||i,
2619: p_message => FND_MSG_PUB.Get(p_msg_index=>i,p_encoded =>'F'));

Line 2619: p_message => FND_MSG_PUB.Get(p_msg_index=>i,p_encoded =>'F'));

2615: l_msg_count := FND_MSG_PUB.Count_Msg;
2616: FOR i IN 1..l_msg_count LOOP
2617: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2618: p_token => l_progress||'_EXCEPTION_'||i,
2619: p_message => FND_MSG_PUB.Get(p_msg_index=>i,p_encoded =>'F'));
2620: END LOOP;
2621: END IF;
2622: IF interface_cursor%ISOPEN then
2623: CLOSE interface_cursor;

Line 13265: FND_MSG_PUB.Add;

13261: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
13262: p_progress => l_progress);
13263: END IF;
13264: po_message_s.sql_error('Exception of create_price_break()', l_progress,sqlcode);
13265: FND_MSG_PUB.Add;
13266: RAISE unexpected_create_pb_err;
13267: end;
13268:
13269: l_progress := '010';

Line 13450: FND_MSG_PUB.Add;

13446: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
13447: p_progress => l_progress);
13448: END IF;
13449: po_message_s.sql_error('Exception of create_price_break()', l_progress, sqlcode);
13450: FND_MSG_PUB.Add;
13451: RAISE unexpected_create_pb_err;
13452: end;
13453:
13454: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >

Line 13827: IF FND_MSG_PUB.check_msg_level(

13823: END IF;
13824: EXCEPTION
13825:
13826: WHEN FND_API.G_EXC_ERROR THEN
13827: IF FND_MSG_PUB.check_msg_level(
13828: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
13829: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,
13830: p_procedure_name => l_api_name);
13831: END IF;

Line 13828: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN

13824: EXCEPTION
13825:
13826: WHEN FND_API.G_EXC_ERROR THEN
13827: IF FND_MSG_PUB.check_msg_level(
13828: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
13829: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,
13830: p_procedure_name => l_api_name);
13831: END IF;
13832:

Line 13829: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,

13825:
13826: WHEN FND_API.G_EXC_ERROR THEN
13827: IF FND_MSG_PUB.check_msg_level(
13828: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
13829: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,
13830: p_procedure_name => l_api_name);
13831: END IF;
13832:
13833: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >

Line 13835: FOR i IN 1..FND_MSG_PUB.count_msg LOOP

13831: END IF;
13832:
13833: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >
13834:
13835: FOR i IN 1..FND_MSG_PUB.count_msg LOOP
13836: l_msg_buf := SUBSTRB(FND_MSG_PUB.get(p_msg_index => i,
13837: p_encoded => FND_API.G_FALSE),
13838: 1, 2000);
13839: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

Line 13836: l_msg_buf := SUBSTRB(FND_MSG_PUB.get(p_msg_index => i,

13832:
13833: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >
13834:
13835: FOR i IN 1..FND_MSG_PUB.count_msg LOOP
13836: l_msg_buf := SUBSTRB(FND_MSG_PUB.get(p_msg_index => i,
13837: p_encoded => FND_API.G_FALSE),
13838: 1, 2000);
13839: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
13840: p_token => l_progress,

Line 13852: IF FND_MSG_PUB.check_msg_level(

13848: IF g_debug_unexp THEN --< Bug 3210331: use proper debugging >
13849: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
13850: p_progress => l_progress);
13851: END IF;
13852: IF FND_MSG_PUB.check_msg_level(
13853: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
13854: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,
13855: p_procedure_name => l_api_name);
13856: END IF;

Line 13853: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN

13849: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
13850: p_progress => l_progress);
13851: END IF;
13852: IF FND_MSG_PUB.check_msg_level(
13853: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
13854: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,
13855: p_procedure_name => l_api_name);
13856: END IF;
13857:

Line 13854: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,

13850: p_progress => l_progress);
13851: END IF;
13852: IF FND_MSG_PUB.check_msg_level(
13853: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
13854: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,
13855: p_procedure_name => l_api_name);
13856: END IF;
13857:
13858: RAISE;