DBA Data[Home] [Help]

APPS.PO_NEGOTIATIONS4_PVT dependencies on FND_MSG_PUB

Line 338: FND_MSG_PUB.Add;

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

Line 390: FND_MSG_PUB.Add;

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

Line 444: FND_MSG_PUB.Add;

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

Line 492: FND_MSG_PUB.Add;

488:
489: WHEN OTHERS THEN
490: po_message_s.sql_error('Exception of Split_requisitionLines()',
491: l_progress , sqlcode);
492: FND_MSG_PUB.Add;
493: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
494: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
495: 'Exception: select sum of allocated_qty and min of
496: bid_number ');

Line 549: FND_MSG_PUB.Add;

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

Line 616: FND_MSG_PUB.Add;

612:
613: WHEN OTHERS THEN
614: po_message_s.sql_error('Exception of Split_requisitionLines()',
615: l_progress , sqlcode);
616: FND_MSG_PUB.Add;
617: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
618: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
619: 'Exception: inserting remainder req lines into
620: po_req_split_lines_gt ');

Line 666: FND_MSG_PUB.Add;

662:
663: WHEN OTHERS THEN
664: po_message_s.sql_error('Exception of Split_requisitionLines()',
665: l_progress , sqlcode);
666: FND_MSG_PUB.Add;
667: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
668: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
669: 'Exception: stamping bid info for equal allocation
670: ');

Line 710: FND_MSG_PUB.Add;

706:
707: WHEN OTHERS THEN
708: po_message_s.sql_error('Exception of Split_requisitionLines()',
709: l_progress , sqlcode);
710: FND_MSG_PUB.Add;
711: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
712: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
713: 'Exception: updating po_req_split_lines_gt with max
714: line num');

Line 769: FND_MSG_PUB.Add;

765: WHEN OTHERS THEN
766:
767: po_message_s.sql_error('Exception of Split_requisitionLines()',
768: l_progress , sqlcode);
769: FND_MSG_PUB.Add;
770: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
771: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
772: 'Exception: selecting rowid and new_line_num to memory '
773: );

Line 832: FND_MSG_PUB.Add;

828: WHEN OTHERS THEN
829:
830: po_message_s.sql_error('Exception of Split_requisitionLines()',
831: l_progress , sqlcode);
832: FND_MSG_PUB.Add;
833: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
834: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
835: 'Exception: Assign incremental numbers to line num ');
836: END IF;

Line 867: FND_MSG_PUB.Add;

863: WHEN OTHERS THEN
864:
865: po_message_s.sql_error('Exception of Split_requisitionLines()',
866: l_progress , sqlcode);
867: FND_MSG_PUB.Add;
868: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
869: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
870: 'Exception: update po_req_split_lines_gt to set
871: new_line_num');

Line 944: FND_MSG_PUB.Add;

940: WHEN OTHERS THEN
941:
942: po_message_s.sql_error('Exception of Split_requisitionLines()',
943: l_progress , sqlcode);
944: FND_MSG_PUB.Add;
945: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
946: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
947: 'Exception: Collect all the req lines which are eligible to split ');
948: END IF;

Line 1227: FND_MSG_PUB.Add;

1223:
1224: po_message_s.sql_error
1225: ('Exception of Split_requisitionLines()', l_progress ,
1226: sqlcode);
1227: FND_MSG_PUB.Add;
1228: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_UNEXPECTED) THEN
1229: FND_LOG.string(FND_LOG.LEVEL_UNEXPECTED, l_module,
1230: 'Exception: Create all the new requisition lines ');
1231: END IF;

Line 1279: FND_MSG_PUB.Add;

1275:
1276: po_message_s.sql_error
1277: ('Exception of Split_requisitionLines()', l_progress ,
1278: sqlcode);
1279: FND_MSG_PUB.Add;
1280: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_STATEMENT) THEN
1281: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
1282: 'Exception: Mark parent req lines as modified by agent');
1283: END IF;

Line 1395: FND_MSG_PUB.Add;

1391:
1392: po_message_s.sql_error
1393: ('Exception of Split_requisitionLines()', l_progress ,
1394: sqlcode);
1395: FND_MSG_PUB.Add;
1396: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_STATEMENT) THEN
1397: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
1398: 'Exception: Update MTL_SUPPLY');
1399: END IF;

Line 1726: FND_MSG_PUB.Add;

1722:
1723: po_message_s.sql_error
1724: ('Exception of Split_requisitionLines()', l_progress ,
1725: sqlcode);
1726: FND_MSG_PUB.Add;
1727: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_STATEMENT) THEN
1728: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
1729: 'Excption: Create distributions lines for all the
1730: newly created requisition lines');

Line 1760: FND_MSG_PUB.add;

1756: x_return_status => l_return_status
1757: );
1758: IF l_return_status <> FND_API.G_RET_STS_SUCCESS THEN
1759: FND_MESSAGE.set_name('PO','PO_PDOI_TAX_CALCULATION_ERR');
1760: FND_MSG_PUB.add;
1761:
1762: IF l_return_status = FND_API.G_RET_STS_ERROR THEN
1763: RAISE FND_API.g_exc_error;
1764: ELSE

Line 1812: FND_MSG_PUB.Add;

1808:
1809: po_message_s.sql_error
1810: ('Exception of Split_requisitionLines()', l_progress ,
1811: sqlcode);
1812: FND_MSG_PUB.Add;
1813: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_STATEMENT) THEN
1814: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
1815: 'Exception: Collect the info to take care of rounding ');
1816: END IF;

Line 1855: FND_MSG_PUB.Add;

1851: WHEN OTHERS THEN
1852: po_message_s.sql_error
1853: ('Exception of Split_requisitionLines()', l_progress ,
1854: sqlcode);
1855: FND_MSG_PUB.Add;
1856: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_STATEMENT) THEN
1857: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
1858: 'Exception: update to take care of rounding ');
1859: END IF;

Line 1987: FND_MSG_PUB.Count_And_Get

1983: END IF;
1984:
1985: -- Standard call to get message count and if count is 1,
1986: -- get message info.
1987: FND_MSG_PUB.Count_And_Get
1988: ( p_count => x_msg_count ,
1989: p_data => x_msg_data
1990: );
1991:

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

1999:
2000: EXCEPTION
2001: WHEN FND_API.g_exc_unexpected_error THEN
2002: ROLLBACK TO Split_RequisitionLines_PVT;
2003: x_msg_data := FND_MSG_PUB.GET();
2004: x_return_status := FND_API.g_ret_sts_unexp_error;
2005: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_EXCEPTION) THEN
2006: FND_LOG.string(FND_LOG.LEVEL_EXCEPTION, l_module,
2007: 'Exception: UnexpectedError '||x_msg_data||sqlerrm);

Line 2013: FND_MSG_PUB.Count_And_Get

2009:
2010: WHEN FND_API.g_exc_error THEN
2011: ROLLBACK TO Split_RequisitionLines_PVT;
2012: x_return_status := FND_API.g_ret_sts_error;
2013: FND_MSG_PUB.Count_And_Get
2014: ( p_count => x_msg_count ,
2015: p_data => x_msg_data
2016: );
2017: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_EXCEPTION) THEN

Line 2030: FND_MSG_PUB.Count_And_Get(

2026: PO_DEBUG.handle_unexp_error(g_pkg_name,l_api_name,l_progress);
2027:
2028: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2029:
2030: FND_MSG_PUB.Count_And_Get(
2031: p_count => x_msg_count
2032: , p_data => x_msg_data
2033: );
2034:

Line 2687: FND_MSG_PUB.Add;

2683: WHEN OTHERS THEN
2684: po_message_s.sql_error
2685: ('Exception of HANDLE_FUNDS_REVERSAL()', l_progress ,
2686: sqlcode);
2687: FND_MSG_PUB.Add;
2688: IF G_FND_DEBUG = 'Y' THEN
2689: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_EXCEPTION) THEN
2690: FND_LOG.string(FND_LOG.LEVEL_EXCEPTION, l_module,
2691: 'Exception: select req distributions for encumb. adjustmnets');

Line 2766: FND_MSG_PUB.Count_And_Get

2762: END IF;
2763:
2764: -- Standard call to get message count and if count is 1,
2765: -- get message info.
2766: FND_MSG_PUB.Count_And_Get
2767: ( p_count => x_msg_count ,
2768: p_data => x_msg_data
2769: );
2770:

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

2780:
2781: EXCEPTION
2782: WHEN FND_API.g_exc_unexpected_error THEN
2783: ROLLBACK TO HANDLE_FUNDS_REVERSAL_PVT;
2784: x_msg_data := FND_MSG_PUB.GET();
2785: x_return_status := FND_API.g_ret_sts_unexp_error;
2786: IF G_FND_DEBUG = 'Y' THEN
2787: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_EXCEPTION) THEN
2788: FND_LOG.string(FND_LOG.LEVEL_EXCEPTION, l_module,

Line 2795: FND_MSG_PUB.Count_And_Get

2791: END IF;
2792: WHEN FND_API.g_exc_error THEN
2793: ROLLBACK TO HANDLE_FUNDS_REVERSAL_PVT;
2794: x_return_status := FND_API.g_ret_sts_error;
2795: FND_MSG_PUB.Count_And_Get
2796: ( p_count => x_msg_count ,
2797: p_data => x_msg_data
2798: );
2799: IF G_FND_DEBUG = 'Y' THEN

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

2804: END IF;
2805:
2806: WHEN OTHERS THEN
2807: ROLLBACK TO HANDLE_FUNDS_REVERSAL_PVT;
2808: --x_msg_data := FND_MSG_PUB.GET(FND_MSG_PUB.G_LAST);
2809: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2810:
2811: FND_MSG_PUB.Count_And_Get
2812: ( p_count => x_msg_count ,

Line 2811: FND_MSG_PUB.Count_And_Get

2807: ROLLBACK TO HANDLE_FUNDS_REVERSAL_PVT;
2808: --x_msg_data := FND_MSG_PUB.GET(FND_MSG_PUB.G_LAST);
2809: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
2810:
2811: FND_MSG_PUB.Count_And_Get
2812: ( p_count => x_msg_count ,
2813: p_data => x_msg_data
2814: );
2815: IF G_FND_DEBUG = 'Y' THEN

Line 2992: FND_MSG_PUB.Add;

2988: WHEN OTHERS THEN
2989: po_message_s.sql_error
2990: ('Exception of HANDLE_TAX_ADJUSTMENTS()', l_progress ,
2991: sqlcode);
2992: FND_MSG_PUB.Add;
2993: IF G_FND_DEBUG = 'Y' THEN
2994: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_STATEMENT) THEN
2995: FND_LOG.string(FND_LOG.LEVEL_STATEMENT, l_module,
2996: 'Exception: Collect the info to take care of TAX rounding ');

Line 3045: FND_MSG_PUB.Add;

3041: WHEN OTHERS THEN
3042: po_message_s.sql_error
3043: ('Exception of HANDLE_TAX_ADJUSTMENTS()', l_progress ,
3044: sqlcode);
3045: FND_MSG_PUB.Add;
3046: IF G_FND_DEBUG = 'Y' THEN
3047: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_EXCEPTION) THEN
3048: FND_LOG.string(FND_LOG.LEVEL_EXCEPTION, l_module,
3049: 'Exception: update to take care of TAX rounding ');

Line 3075: FND_MSG_PUB.Count_And_Get

3071: END IF;
3072:
3073: -- Standard call to get message count and if count is 1,
3074: -- get message info.
3075: FND_MSG_PUB.Count_And_Get
3076: ( p_count => x_msg_count ,
3077: p_data => x_msg_data
3078: );
3079:

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

3090:
3091: EXCEPTION
3092: WHEN FND_API.g_exc_unexpected_error THEN
3093: ROLLBACK TO HANDLE_TAX_ADJUSTMENTS_PVT;
3094: x_msg_data := FND_MSG_PUB.GET();
3095: x_return_status := FND_API.g_ret_sts_unexp_error;
3096: IF G_FND_DEBUG = 'Y' THEN
3097: IF (FND_LOG.G_CURRENT_RUNTIME_LEVEL <= FND_LOG.LEVEL_EXCEPTION) THEN
3098: FND_LOG.string(FND_LOG.LEVEL_EXCEPTION, l_module,

Line 3106: FND_MSG_PUB.Count_And_Get

3102:
3103: WHEN FND_API.g_exc_error THEN
3104: ROLLBACK TO HANDLE_TAX_ADJUSTMENTS_PVT;
3105: x_return_status := FND_API.g_ret_sts_error;
3106: FND_MSG_PUB.Count_And_Get
3107: ( p_count => x_msg_count ,
3108: p_data => x_msg_data
3109: );
3110: IF G_FND_DEBUG = 'Y' THEN

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

3115: END IF;
3116:
3117: WHEN OTHERS THEN
3118: ROLLBACK TO HANDLE_TAX_ADJUSTMENTS_PVT;
3119: --x_msg_data := FND_MSG_PUB.GET(FND_MSG_PUB.G_LAST);
3120: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
3121:
3122: FND_MSG_PUB.Count_And_Get
3123: ( p_count => x_msg_count ,

Line 3122: FND_MSG_PUB.Count_And_Get

3118: ROLLBACK TO HANDLE_TAX_ADJUSTMENTS_PVT;
3119: --x_msg_data := FND_MSG_PUB.GET(FND_MSG_PUB.G_LAST);
3120: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
3121:
3122: FND_MSG_PUB.Count_And_Get
3123: ( p_count => x_msg_count ,
3124: p_data => x_msg_data
3125: );
3126: IF G_FND_DEBUG = 'Y' THEN