DBA Data[Home] [Help]

APPS.PO_INTERFACE_S dependencies on FND_MSG_PUB

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

1373:
1374: --
1375: --No need to raise as we are setting the return status and error msg
1376: --raise;
1377: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
1378: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name,
1379: SUBSTRB (SQLERRM , 1 , 200) || ' at location ' || l_progress);
1380: END IF;
1381: x_msg_data := FND_MSG_PUB.GET(p_msg_index => FND_MSG_PUB.G_LAST,

Line 1378: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name,

1374: --
1375: --No need to raise as we are setting the return status and error msg
1376: --raise;
1377: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
1378: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name,
1379: SUBSTRB (SQLERRM , 1 , 200) || ' at location ' || l_progress);
1380: END IF;
1381: x_msg_data := FND_MSG_PUB.GET(p_msg_index => FND_MSG_PUB.G_LAST,
1382: p_encoded => 'F');

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

1377: IF FND_MSG_PUB.check_msg_level(FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
1378: FND_MSG_PUB.add_exc_msg(G_PKG_NAME, l_api_name,
1379: SUBSTRB (SQLERRM , 1 , 200) || ' at location ' || l_progress);
1380: END IF;
1381: x_msg_data := FND_MSG_PUB.GET(p_msg_index => FND_MSG_PUB.G_LAST,
1382: p_encoded => 'F');
1383: --
1384:
1385: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >

Line 2875: fnd_msg_pub.add;

2871: fnd_message.set_token( TOKEN => 'PROC_CALLER'
2872: , VALUE => 'PO_INTERFACE_S.CREATE_PO');
2873: fnd_message.set_token( TOKEN => 'PROC_CALLED'
2874: , VALUE => 'PO_TAX_INTERFACE_PVT.CALCULATE_TAX');
2875: fnd_msg_pub.add;
2876: fnd_message.set_name('PO','PO_AP_TAX_ENGINE_FAILED_WARN');
2877: fnd_msg_pub.add;
2878: END IF;
2879: END IF;

Line 2877: fnd_msg_pub.add;

2873: fnd_message.set_token( TOKEN => 'PROC_CALLED'
2874: , VALUE => 'PO_TAX_INTERFACE_PVT.CALCULATE_TAX');
2875: fnd_msg_pub.add;
2876: fnd_message.set_name('PO','PO_AP_TAX_ENGINE_FAILED_WARN');
2877: fnd_msg_pub.add;
2878: END IF;
2879: END IF;
2880: ELSIF (g_document_subtype = 'RELEASE') THEN
2881: l_progress := '416';

Line 2904: fnd_msg_pub.add;

2900: fnd_message.set_token( TOKEN => 'PROC_CALLER'
2901: , VALUE => 'PO_INTERFACE_S.CREATE_PO');
2902: fnd_message.set_token( TOKEN => 'PROC_CALLED'
2903: , VALUE => 'PO_TAX_INTERFACE_PVT.CALCULATE_TAX');
2904: fnd_msg_pub.add;
2905: fnd_message.set_name('PO','PO_AP_TAX_ENGINE_FAILED_WARN');
2906: fnd_msg_pub.add;
2907: END IF;
2908: l_progress := '417';

Line 2906: fnd_msg_pub.add;

2902: fnd_message.set_token( TOKEN => 'PROC_CALLED'
2903: , VALUE => 'PO_TAX_INTERFACE_PVT.CALCULATE_TAX');
2904: fnd_msg_pub.add;
2905: fnd_message.set_name('PO','PO_AP_TAX_ENGINE_FAILED_WARN');
2906: fnd_msg_pub.add;
2907: END IF;
2908: l_progress := '417';
2909: END IF;
2910: END IF;

Line 2945: FND_MSG_PUB.Add;

2941: Fnd_message.set_token( token => 'PROC_CALLER'
2942: , VALUE => 'PO_INTERFACE_S.CREATE_PO');
2943: Fnd_message.set_token( token => 'PROC_CALLED'
2944: , VALUE => 'OKC_TERMS_CPOY_GRP.COPY_DOC');
2945: FND_MSG_PUB.Add;
2946:
2947: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >
2948: l_msg_count := FND_MSG_PUB.Count_Msg;
2949: FOR i IN 1..l_msg_count LOOP

Line 2948: l_msg_count := FND_MSG_PUB.Count_Msg;

2944: , VALUE => 'OKC_TERMS_CPOY_GRP.COPY_DOC');
2945: FND_MSG_PUB.Add;
2946:
2947: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >
2948: l_msg_count := FND_MSG_PUB.Count_Msg;
2949: FOR i IN 1..l_msg_count LOOP
2950: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2951: p_token => l_progress||'_EXCEPTION_'||i,
2952: p_message => FND_MSG_PUB.Get(p_msg_index=>i,p_encoded =>'F'));

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

2948: l_msg_count := FND_MSG_PUB.Count_Msg;
2949: FOR i IN 1..l_msg_count LOOP
2950: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
2951: p_token => l_progress||'_EXCEPTION_'||i,
2952: p_message => FND_MSG_PUB.Get(p_msg_index=>i,p_encoded =>'F'));
2953: END LOOP;
2954: END IF;
2955: IF interface_cursor%ISOPEN then
2956: CLOSE interface_cursor;

Line 14167: FND_MSG_PUB.Add;

14163: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
14164: p_progress => l_progress);
14165: END IF;
14166: po_message_s.sql_error('Exception of create_price_break()', l_progress,sqlcode);
14167: FND_MSG_PUB.Add;
14168: RAISE unexpected_create_pb_err;
14169: end;
14170:
14171: l_progress := '010';

Line 14352: FND_MSG_PUB.Add;

14348: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
14349: p_progress => l_progress);
14350: END IF;
14351: po_message_s.sql_error('Exception of create_price_break()', l_progress, sqlcode);
14352: FND_MSG_PUB.Add;
14353: RAISE unexpected_create_pb_err;
14354: end;
14355:
14356: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >

Line 14733: IF FND_MSG_PUB.check_msg_level(

14729: END IF;
14730: EXCEPTION
14731:
14732: WHEN FND_API.G_EXC_ERROR THEN
14733: IF FND_MSG_PUB.check_msg_level(
14734: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
14735: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,
14736: p_procedure_name => l_api_name);
14737: END IF;

Line 14734: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN

14730: EXCEPTION
14731:
14732: WHEN FND_API.G_EXC_ERROR THEN
14733: IF FND_MSG_PUB.check_msg_level(
14734: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
14735: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,
14736: p_procedure_name => l_api_name);
14737: END IF;
14738:

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

14731:
14732: WHEN FND_API.G_EXC_ERROR THEN
14733: IF FND_MSG_PUB.check_msg_level(
14734: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
14735: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,
14736: p_procedure_name => l_api_name);
14737: END IF;
14738:
14739: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >

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

14737: END IF;
14738:
14739: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >
14740:
14741: FOR i IN 1..FND_MSG_PUB.count_msg LOOP
14742: l_msg_buf := SUBSTRB(FND_MSG_PUB.get(p_msg_index => i,
14743: p_encoded => FND_API.G_FALSE),
14744: 1, 2000);
14745: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,

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

14738:
14739: IF g_debug_stmt THEN --< Bug 3210331: use proper debugging >
14740:
14741: FOR i IN 1..FND_MSG_PUB.count_msg LOOP
14742: l_msg_buf := SUBSTRB(FND_MSG_PUB.get(p_msg_index => i,
14743: p_encoded => FND_API.G_FALSE),
14744: 1, 2000);
14745: PO_DEBUG.debug_stmt(p_log_head => g_log_head||l_api_name,
14746: p_token => l_progress,

Line 14758: IF FND_MSG_PUB.check_msg_level(

14754: IF g_debug_unexp THEN --< Bug 3210331: use proper debugging >
14755: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
14756: p_progress => l_progress);
14757: END IF;
14758: IF FND_MSG_PUB.check_msg_level(
14759: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
14760: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,
14761: p_procedure_name => l_api_name);
14762: END IF;

Line 14759: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN

14755: PO_DEBUG.debug_exc(p_log_head => g_log_head||l_api_name,
14756: p_progress => l_progress);
14757: END IF;
14758: IF FND_MSG_PUB.check_msg_level(
14759: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
14760: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,
14761: p_procedure_name => l_api_name);
14762: END IF;
14763:

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

14756: p_progress => l_progress);
14757: END IF;
14758: IF FND_MSG_PUB.check_msg_level(
14759: p_message_level => FND_MSG_PUB.g_msg_lvl_unexp_error) THEN
14760: FND_MSG_PUB.add_exc_msg( p_pkg_name => G_PKG_NAME,
14761: p_procedure_name => l_api_name);
14762: END IF;
14763:
14764: RAISE;