DBA Data[Home] [Help]

APPS.PO_NEGOTIATIONS4_PVT dependencies on FND_MSG_PUB

Line 340: FND_MSG_PUB.Add;

336:
337: WHEN OTHERS THEN
338: po_message_s.sql_error('Exception of Split_requisitionLines()',
339: l_progress , sqlcode);
340: FND_MSG_PUB.Add;
341: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
342: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
343: 'Exception: update po_req_split_lines_gt for
344: quantity and status ');

Line 392: FND_MSG_PUB.Add;

388:
389: WHEN OTHERS THEN
390: po_message_s.sql_error('Exception of Split_requisitionLines()',
391: l_progress , sqlcode);
392: FND_MSG_PUB.Add;
393: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
394: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
395: 'Exception: update po_req_split_lines_gt for
396: withdrawn lines ');

Line 446: FND_MSG_PUB.Add;

442: EXCEPTION
443:
444: WHEN OTHERS THEN
445: po_message_s.sql_error('Exception of Split_requisitionLines()', l_progress , sqlcode);
446: FND_MSG_PUB.Add;
447: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
448: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module, 'Exception: update po_req_split_lines_gt for Services lines');
449: END IF;
450: RAISE;

Line 500: FND_MSG_PUB.Add;

496: EXCEPTION
497:
498: WHEN OTHERS THEN
499: po_message_s.sql_error('Exception of Split_requisitionLines()', l_progress , sqlcode);
500: FND_MSG_PUB.Add;
501: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
502: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module, 'Exception: update po_req_split_lines_gt for CLM lines');
503: END IF;
504: RAISE;

Line 548: FND_MSG_PUB.Add;

544:
545: WHEN OTHERS THEN
546: po_message_s.sql_error('Exception of Split_requisitionLines()',
547: l_progress , sqlcode);
548: FND_MSG_PUB.Add;
549: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
550: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
551: 'Exception: select sum of allocated_qty and min of
552: bid_number ');

Line 605: FND_MSG_PUB.Add;

601:
602: WHEN OTHERS THEN
603: po_message_s.sql_error('Exception of Split_requisitionLines()',
604: l_progress , sqlcode);
605: FND_MSG_PUB.Add;
606: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
607: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
608: 'Exception: updating po_req_split_lines_gt with sum of
609: allocated_qty and min of bid_number etc.. ');

Line 689: FND_MSG_PUB.Add;

685:
686: WHEN OTHERS THEN
687: po_message_s.sql_error('Exception of Split_requisitionLines()',
688: l_progress , sqlcode);
689: FND_MSG_PUB.Add;
690: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
691: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
692: 'Exception: inserting remainder req lines into
693: po_req_split_lines_gt ');

Line 739: FND_MSG_PUB.Add;

735:
736: WHEN OTHERS THEN
737: po_message_s.sql_error('Exception of Split_requisitionLines()',
738: l_progress , sqlcode);
739: FND_MSG_PUB.Add;
740: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
741: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
742: 'Exception: stamping bid info for equal allocation
743: ');

Line 783: FND_MSG_PUB.Add;

779:
780: WHEN OTHERS THEN
781: po_message_s.sql_error('Exception of Split_requisitionLines()',
782: l_progress , sqlcode);
783: FND_MSG_PUB.Add;
784: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
785: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
786: 'Exception: updating po_req_split_lines_gt with max
787: line num');

Line 842: FND_MSG_PUB.Add;

838: WHEN OTHERS THEN
839:
840: po_message_s.sql_error('Exception of Split_requisitionLines()',
841: l_progress , sqlcode);
842: FND_MSG_PUB.Add;
843: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
844: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
845: 'Exception: selecting rowid and new_line_num to memory '
846: );

Line 905: FND_MSG_PUB.Add;

901: WHEN OTHERS THEN
902:
903: po_message_s.sql_error('Exception of Split_requisitionLines()',
904: l_progress , sqlcode);
905: FND_MSG_PUB.Add;
906: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
907: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
908: 'Exception: Assign incremental numbers to line num ');
909: END IF;

Line 940: FND_MSG_PUB.Add;

936: WHEN OTHERS THEN
937:
938: po_message_s.sql_error('Exception of Split_requisitionLines()',
939: l_progress , sqlcode);
940: FND_MSG_PUB.Add;
941: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
942: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
943: 'Exception: update po_req_split_lines_gt to set
944: new_line_num');

Line 1017: FND_MSG_PUB.Add;

1013: WHEN OTHERS THEN
1014:
1015: po_message_s.sql_error('Exception of Split_requisitionLines()',
1016: l_progress , sqlcode);
1017: FND_MSG_PUB.Add;
1018: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
1019: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
1020: 'Exception: Collect all the req lines which are eligible to split ');
1021: END IF;

Line 1302: FND_MSG_PUB.Add;

1298:
1299: po_message_s.sql_error
1300: ('Exception of Split_requisitionLines()', l_progress ,
1301: sqlcode);
1302: FND_MSG_PUB.Add;
1303: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
1304: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
1305: 'Exception: Create all the new requisition lines ');
1306: END IF;

Line 1354: FND_MSG_PUB.Add;

1350:
1351: po_message_s.sql_error
1352: ('Exception of Split_requisitionLines()', l_progress ,
1353: sqlcode);
1354: FND_MSG_PUB.Add;
1355: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_STATEMENT) THEN
1356: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
1357: 'Exception: Mark parent req lines as modified by agent');
1358: END IF;

Line 1476: FND_MSG_PUB.Add;

1472:
1473: po_message_s.sql_error
1474: ('Exception of Split_requisitionLines()', l_progress ,
1475: sqlcode);
1476: FND_MSG_PUB.Add;
1477: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_STATEMENT) THEN
1478: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
1479: 'Exception: Update MTL_SUPPLY');
1480: END IF;

Line 1807: FND_MSG_PUB.Add;

1803:
1804: po_message_s.sql_error
1805: ('Exception of Split_requisitionLines()', l_progress ,
1806: sqlcode);
1807: FND_MSG_PUB.Add;
1808: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_STATEMENT) THEN
1809: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
1810: 'Excption: Create distributions lines for all the
1811: newly created requisition lines');

Line 1841: FND_MSG_PUB.add;

1837: x_return_status => l_return_status
1838: );
1839: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1840: FND_MESSAGE.set_name('PO','PO_PDOI_TAX_CALCULATION_ERR');
1841: FND_MSG_PUB.add;
1842:
1843: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
1844: RAISE FND_API.g_exc_error;
1845: ELSE

Line 1893: FND_MSG_PUB.Add;

1889:
1890: po_message_s.sql_error
1891: ('Exception of Split_requisitionLines()', l_progress ,
1892: sqlcode);
1893: FND_MSG_PUB.Add;
1894: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_STATEMENT) THEN
1895: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
1896: 'Exception: Collect the info to take care of rounding ');
1897: END IF;

Line 1936: FND_MSG_PUB.Add;

1932: WHEN OTHERS THEN
1933: po_message_s.sql_error
1934: ('Exception of Split_requisitionLines()', l_progress ,
1935: sqlcode);
1936: FND_MSG_PUB.Add;
1937: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_STATEMENT) THEN
1938: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
1939: 'Exception: update to take care of rounding ');
1940: END IF;

Line 2068: FND_MSG_PUB.Count_And_Get

2064: END IF;
2065:
2066: -- Standard call to get message count and if count is 1,
2067: -- get message info.
2068: FND_MSG_PUB.Count_And_Get
2069: ( p_count => x_msg_count ,
2070: p_data => x_msg_data
2071: );
2072:

Line 2084: x_msg_data := FND_MSG_PUB.GET();

2080:
2081: EXCEPTION
2082: WHEN FND_API.g_exc_unexpected_error THEN
2083: ROLLBACK TO Split_RequisitionLines_PVT;
2084: x_msg_data := FND_MSG_PUB.GET();
2085: x_return_status := FND_API.g_ret_sts_unexp_error;
2086: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_EXCEPTION) THEN
2087: FND_LOG.string(FND_LOG.LEVEL_EXCEPTION, l_module,
2088: 'Exception: UnexpectedError '||x_msg_data||sqlerrm);

Line 2094: FND_MSG_PUB.Count_And_Get

2090:
2091: WHEN FND_API.g_exc_error THEN
2092: ROLLBACK TO Split_RequisitionLines_PVT;
2093: x_return_status := FND_API.g_ret_sts_error;
2094: FND_MSG_PUB.Count_And_Get
2095: ( p_count => x_msg_count ,
2096: p_data => x_msg_data
2097: );
2098: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_EXCEPTION) THEN

Line 2111: FND_MSG_PUB.Count_And_Get(

2107: PO_DEBUG.handle_unexp_error(g_pkg_name,l_api_name,l_progress);
2108:
2109: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2110:
2111: FND_MSG_PUB.Count_And_Get(
2112: p_count => x_msg_count
2113: , p_data => x_msg_data
2114: );
2115:

Line 2777: FND_MSG_PUB.Add;

2773: WHEN OTHERS THEN
2774: po_message_s.sql_error
2775: ('Exception of HANDLE_FUNDS_REVERSAL()', l_progress ,
2776: sqlcode);
2777: FND_MSG_PUB.Add;
2778: IF G_FND_DEBUG = 'Y' THEN
2779: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_EXCEPTION) THEN
2780: FND_LOG.string(FND_LOG.LEVEL_EXCEPTION, l_module,
2781: 'Exception: select req distributions for encumb. adjustmnets');

Line 2856: FND_MSG_PUB.Count_And_Get

2852: END IF;
2853:
2854: -- Standard call to get message count and if count is 1,
2855: -- get message info.
2856: FND_MSG_PUB.Count_And_Get
2857: ( p_count => x_msg_count ,
2858: p_data => x_msg_data
2859: );
2860:

Line 2874: x_msg_data := FND_MSG_PUB.GET();

2870:
2871: EXCEPTION
2872: WHEN FND_API.g_exc_unexpected_error THEN
2873: ROLLBACK TO HANDLE_FUNDS_REVERSAL_PVT;
2874: x_msg_data := FND_MSG_PUB.GET();
2875: x_return_status := FND_API.g_ret_sts_unexp_error;
2876: IF G_FND_DEBUG = 'Y' THEN
2877: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_EXCEPTION) THEN
2878: FND_LOG.string(FND_LOG.LEVEL_EXCEPTION, l_module,

Line 2885: FND_MSG_PUB.Count_And_Get

2881: END IF;
2882: WHEN FND_API.g_exc_error THEN
2883: ROLLBACK TO HANDLE_FUNDS_REVERSAL_PVT;
2884: x_return_status := FND_API.g_ret_sts_error;
2885: FND_MSG_PUB.Count_And_Get
2886: ( p_count => x_msg_count ,
2887: p_data => x_msg_data
2888: );
2889: IF G_FND_DEBUG = 'Y' THEN

Line 2898: --x_msg_data := FND_MSG_PUB.GET(FND_MSG_PUB.G_LAST);

2894: END IF;
2895:
2896: WHEN OTHERS THEN
2897: ROLLBACK TO HANDLE_FUNDS_REVERSAL_PVT;
2898: --x_msg_data := FND_MSG_PUB.GET(FND_MSG_PUB.G_LAST);
2899: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2900:
2901: FND_MSG_PUB.Count_And_Get
2902: ( p_count => x_msg_count ,

Line 2901: FND_MSG_PUB.Count_And_Get

2897: ROLLBACK TO HANDLE_FUNDS_REVERSAL_PVT;
2898: --x_msg_data := FND_MSG_PUB.GET(FND_MSG_PUB.G_LAST);
2899: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2900:
2901: FND_MSG_PUB.Count_And_Get
2902: ( p_count => x_msg_count ,
2903: p_data => x_msg_data
2904: );
2905: IF G_FND_DEBUG = 'Y' THEN

Line 3082: FND_MSG_PUB.Add;

3078: WHEN OTHERS THEN
3079: po_message_s.sql_error
3080: ('Exception of HANDLE_TAX_ADJUSTMENTS()', l_progress ,
3081: sqlcode);
3082: FND_MSG_PUB.Add;
3083: IF G_FND_DEBUG = 'Y' THEN
3084: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_STATEMENT) THEN
3085: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
3086: 'Exception: Collect the info to take care of TAX rounding ');

Line 3135: FND_MSG_PUB.Add;

3131: WHEN OTHERS THEN
3132: po_message_s.sql_error
3133: ('Exception of HANDLE_TAX_ADJUSTMENTS()', l_progress ,
3134: sqlcode);
3135: FND_MSG_PUB.Add;
3136: IF G_FND_DEBUG = 'Y' THEN
3137: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_EXCEPTION) THEN
3138: FND_LOG.string(FND_LOG.LEVEL_EXCEPTION, l_module,
3139: 'Exception: update to take care of TAX rounding ');

Line 3165: FND_MSG_PUB.Count_And_Get

3161: END IF;
3162:
3163: -- Standard call to get message count and if count is 1,
3164: -- get message info.
3165: FND_MSG_PUB.Count_And_Get
3166: ( p_count => x_msg_count ,
3167: p_data => x_msg_data
3168: );
3169:

Line 3184: x_msg_data := FND_MSG_PUB.GET();

3180:
3181: EXCEPTION
3182: WHEN FND_API.g_exc_unexpected_error THEN
3183: ROLLBACK TO HANDLE_TAX_ADJUSTMENTS_PVT;
3184: x_msg_data := FND_MSG_PUB.GET();
3185: x_return_status := FND_API.g_ret_sts_unexp_error;
3186: IF G_FND_DEBUG = 'Y' THEN
3187: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_EXCEPTION) THEN
3188: FND_LOG.string(FND_LOG.LEVEL_EXCEPTION, l_module,

Line 3196: FND_MSG_PUB.Count_And_Get

3192:
3193: WHEN FND_API.g_exc_error THEN
3194: ROLLBACK TO HANDLE_TAX_ADJUSTMENTS_PVT;
3195: x_return_status := FND_API.g_ret_sts_error;
3196: FND_MSG_PUB.Count_And_Get
3197: ( p_count => x_msg_count ,
3198: p_data => x_msg_data
3199: );
3200: IF G_FND_DEBUG = 'Y' THEN

Line 3209: --x_msg_data := FND_MSG_PUB.GET(FND_MSG_PUB.G_LAST);

3205: END IF;
3206:
3207: WHEN OTHERS THEN
3208: ROLLBACK TO HANDLE_TAX_ADJUSTMENTS_PVT;
3209: --x_msg_data := FND_MSG_PUB.GET(FND_MSG_PUB.G_LAST);
3210: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
3211:
3212: FND_MSG_PUB.Count_And_Get
3213: ( p_count => x_msg_count ,

Line 3212: FND_MSG_PUB.Count_And_Get

3208: ROLLBACK TO HANDLE_TAX_ADJUSTMENTS_PVT;
3209: --x_msg_data := FND_MSG_PUB.GET(FND_MSG_PUB.G_LAST);
3210: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
3211:
3212: FND_MSG_PUB.Count_And_Get
3213: ( p_count => x_msg_count ,
3214: p_data => x_msg_data
3215: );
3216: IF G_FND_DEBUG = 'Y' THEN