39: -- Standard Start of API savepoint
40: SAVEPOINT Get_TotalActCharges_Pvt;
41:
42: -- Standard call to check for call compatibility.
43: IF NOT FND_API.Compatible_API_Call (l_api_version,
44: p_api_version,
45: l_api_name,
46: G_PKG_NAME)
47: THEN
44: p_api_version,
45: l_api_name,
46: G_PKG_NAME)
47: THEN
48: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
49: END IF;
50:
51: -- Initialize message list if p_init_msg_list is set to TRUE.
52: IF FND_API.to_Boolean(p_init_msg_list) THEN
48: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
49: END IF;
50:
51: -- Initialize message list if p_init_msg_list is set to TRUE.
52: IF FND_API.to_Boolean(p_init_msg_list) THEN
53: FND_MSG_PUB.initialize;
54: END IF;
55:
56: -- Initialize API return status to success
53: FND_MSG_PUB.initialize;
54: END IF;
55:
56: -- Initialize API return status to success
57: x_return_status := FND_API.G_RET_STS_SUCCESS;
58:
59: --
60: -- Begin API Body
61: --
64: -- End API Body
65: --
66:
67: -- Standard check of p_commit.
68: IF FND_API.To_Boolean( p_commit ) THEN
69: COMMIT WORK;
70: END IF;
71:
72: -- Standard call to get message count and IF count is get message info.
72: -- Standard call to get message count and IF count is get message info.
73: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
74: p_data => x_msg_data );
75: EXCEPTION
76: WHEN FND_API.G_EXC_ERROR THEN
77: ROLLBACK TO Get_TotalActCharges_Pvt;
78: x_return_status := FND_API.G_RET_STS_ERROR ;
79: FND_MSG_PUB.Count_And_Get
80: (p_count => x_msg_count,
74: p_data => x_msg_data );
75: EXCEPTION
76: WHEN FND_API.G_EXC_ERROR THEN
77: ROLLBACK TO Get_TotalActCharges_Pvt;
78: x_return_status := FND_API.G_RET_STS_ERROR ;
79: FND_MSG_PUB.Count_And_Get
80: (p_count => x_msg_count,
81: p_data => x_msg_data
82: );
79: FND_MSG_PUB.Count_And_Get
80: (p_count => x_msg_count,
81: p_data => x_msg_data
82: );
83: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
84: ROLLBACK TO Get_TotalActCharges_Pvt;
85: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
86: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
87: p_data => x_msg_data );
81: p_data => x_msg_data
82: );
83: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
84: ROLLBACK TO Get_TotalActCharges_Pvt;
85: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
86: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
87: p_data => x_msg_data );
88: WHEN OTHERS THEN
89: ROLLBACK TO Get_TotalActCharges_Pvt;
86: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
87: p_data => x_msg_data );
88: WHEN OTHERS THEN
89: ROLLBACK TO Get_TotalActCharges_Pvt;
90: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
91: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
92: THEN
93: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME ,
94: l_api_name );
131: -- Standard Start of API savepoint
132: SAVEPOINT Get_TotalEstCharges_Pvt;
133:
134: -- Standard call to check for call compatibility.
135: IF NOT FND_API.Compatible_API_Call (l_api_version,
136: p_api_version,
137: l_api_name,
138: G_PKG_NAME)
139: THEN
136: p_api_version,
137: l_api_name,
138: G_PKG_NAME)
139: THEN
140: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
141: END IF;
142:
143: -- Initialize message list if p_init_msg_list is set to TRUE.
144: IF FND_API.to_Boolean(p_init_msg_list) THEN
140: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
141: END IF;
142:
143: -- Initialize message list if p_init_msg_list is set to TRUE.
144: IF FND_API.to_Boolean(p_init_msg_list) THEN
145: FND_MSG_PUB.initialize;
146: END IF;
147:
148: -- Initialize API return status to success
145: FND_MSG_PUB.initialize;
146: END IF;
147:
148: -- Initialize API return status to success
149: x_return_status := FND_API.G_RET_STS_SUCCESS;
150:
151: --
152: -- Begin API Body
153: --
156: -- End API Body
157: --
158:
159: -- Standard check of p_commit.
160: IF FND_API.To_Boolean( p_commit ) THEN
161: COMMIT WORK;
162: END IF;
163:
164: -- Standard call to get message count and IF count is get message info.
164: -- Standard call to get message count and IF count is get message info.
165: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
166: p_data => x_msg_data );
167: EXCEPTION
168: WHEN FND_API.G_EXC_ERROR THEN
169: ROLLBACK TO Get_TotalEstCharges_Pvt;
170: x_return_status := FND_API.G_RET_STS_ERROR ;
171: FND_MSG_PUB.Count_And_Get
172: (p_count => x_msg_count,
166: p_data => x_msg_data );
167: EXCEPTION
168: WHEN FND_API.G_EXC_ERROR THEN
169: ROLLBACK TO Get_TotalEstCharges_Pvt;
170: x_return_status := FND_API.G_RET_STS_ERROR ;
171: FND_MSG_PUB.Count_And_Get
172: (p_count => x_msg_count,
173: p_data => x_msg_data
174: );
171: FND_MSG_PUB.Count_And_Get
172: (p_count => x_msg_count,
173: p_data => x_msg_data
174: );
175: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
176: ROLLBACK TO Get_TotalEstCharges_Pvt;
177: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
178: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
179: p_data => x_msg_data );
173: p_data => x_msg_data
174: );
175: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
176: ROLLBACK TO Get_TotalEstCharges_Pvt;
177: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
178: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
179: p_data => x_msg_data );
180: WHEN OTHERS THEN
181: ROLLBACK TO Get_TotalEstCharges_Pvt;
178: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
179: p_data => x_msg_data );
180: WHEN OTHERS THEN
181: ROLLBACK TO Get_TotalEstCharges_Pvt;
182: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
183: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
184: THEN
185: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME ,
186: l_api_name );
230: -- Standard Start of API savepoint
231: SAVEPOINT Compare_EstChargesAndCosts_Pvt;
232:
233: -- Standard call to check for call compatibility.
234: IF NOT FND_API.Compatible_API_Call (l_api_version,
235: p_api_version,
236: l_api_name,
237: G_PKG_NAME)
238: THEN
235: p_api_version,
236: l_api_name,
237: G_PKG_NAME)
238: THEN
239: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
240: END IF;
241:
242: -- Initialize message list if p_init_msg_list is set to TRUE.
243: IF FND_API.to_Boolean(p_init_msg_list) THEN
239: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
240: END IF;
241:
242: -- Initialize message list if p_init_msg_list is set to TRUE.
243: IF FND_API.to_Boolean(p_init_msg_list) THEN
244: FND_MSG_PUB.initialize;
245: END IF;
246:
247: -- Initialize API return status to success
244: FND_MSG_PUB.initialize;
245: END IF;
246:
247: -- Initialize API return status to success
248: x_return_status := FND_API.G_RET_STS_SUCCESS;
249:
250: --
251: -- Begin API Body
252: --
255: -- End API Body
256: --
257:
258: -- Standard check of p_commit.
259: IF FND_API.To_Boolean( p_commit ) THEN
260: COMMIT WORK;
261: END IF;
262:
263: -- Standard call to get message count and IF count is get message info.
263: -- Standard call to get message count and IF count is get message info.
264: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
265: p_data => x_msg_data );
266: EXCEPTION
267: WHEN FND_API.G_EXC_ERROR THEN
268: ROLLBACK TO Compare_EstChargesAndCosts_Pvt;
269: x_return_status := FND_API.G_RET_STS_ERROR ;
270: FND_MSG_PUB.Count_And_Get
271: (p_count => x_msg_count,
265: p_data => x_msg_data );
266: EXCEPTION
267: WHEN FND_API.G_EXC_ERROR THEN
268: ROLLBACK TO Compare_EstChargesAndCosts_Pvt;
269: x_return_status := FND_API.G_RET_STS_ERROR ;
270: FND_MSG_PUB.Count_And_Get
271: (p_count => x_msg_count,
272: p_data => x_msg_data
273: );
270: FND_MSG_PUB.Count_And_Get
271: (p_count => x_msg_count,
272: p_data => x_msg_data
273: );
274: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
275: ROLLBACK TO Compare_EstChargesAndCosts_Pvt;
276: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
277: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
278: p_data => x_msg_data );
272: p_data => x_msg_data
273: );
274: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
275: ROLLBACK TO Compare_EstChargesAndCosts_Pvt;
276: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
277: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
278: p_data => x_msg_data );
279: WHEN OTHERS THEN
280: ROLLBACK TO Compare_EstChargesAndCosts_Pvt;
277: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
278: p_data => x_msg_data );
279: WHEN OTHERS THEN
280: ROLLBACK TO Compare_EstChargesAndCosts_Pvt;
281: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
282: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
283: THEN
284: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME ,
285: l_api_name );
329: -- Standard Start of API savepoint
330: SAVEPOINT Compare_ActChargesAndCosts_Pvt;
331:
332: -- Standard call to check for call compatibility.
333: IF NOT FND_API.Compatible_API_Call (l_api_version,
334: p_api_version,
335: l_api_name,
336: G_PKG_NAME)
337: THEN
334: p_api_version,
335: l_api_name,
336: G_PKG_NAME)
337: THEN
338: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
339: END IF;
340:
341: -- Initialize message list if p_init_msg_list is set to TRUE.
342: IF FND_API.to_Boolean(p_init_msg_list) THEN
338: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
339: END IF;
340:
341: -- Initialize message list if p_init_msg_list is set to TRUE.
342: IF FND_API.to_Boolean(p_init_msg_list) THEN
343: FND_MSG_PUB.initialize;
344: END IF;
345:
346: -- Initialize API return status to success
343: FND_MSG_PUB.initialize;
344: END IF;
345:
346: -- Initialize API return status to success
347: x_return_status := FND_API.G_RET_STS_SUCCESS;
348:
349: --
350: -- Begin API Body
351: --
354: -- End API Body
355: --
356:
357: -- Standard check of p_commit.
358: IF FND_API.To_Boolean( p_commit ) THEN
359: COMMIT WORK;
360: END IF;
361:
362: -- Standard call to get message count and IF count is get message info.
362: -- Standard call to get message count and IF count is get message info.
363: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
364: p_data => x_msg_data );
365: EXCEPTION
366: WHEN FND_API.G_EXC_ERROR THEN
367: ROLLBACK TO Compare_ActChargesAndCosts_Pvt;
368: x_return_status := FND_API.G_RET_STS_ERROR ;
369: FND_MSG_PUB.Count_And_Get
370: (p_count => x_msg_count,
364: p_data => x_msg_data );
365: EXCEPTION
366: WHEN FND_API.G_EXC_ERROR THEN
367: ROLLBACK TO Compare_ActChargesAndCosts_Pvt;
368: x_return_status := FND_API.G_RET_STS_ERROR ;
369: FND_MSG_PUB.Count_And_Get
370: (p_count => x_msg_count,
371: p_data => x_msg_data
372: );
369: FND_MSG_PUB.Count_And_Get
370: (p_count => x_msg_count,
371: p_data => x_msg_data
372: );
373: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
374: ROLLBACK TO Compare_ActChargesAndCosts_Pvt;
375: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
376: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
377: p_data => x_msg_data );
371: p_data => x_msg_data
372: );
373: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
374: ROLLBACK TO Compare_ActChargesAndCosts_Pvt;
375: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
376: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
377: p_data => x_msg_data );
378: WHEN OTHERS THEN
379: ROLLBACK TO Compare_ActChargesAndCosts_Pvt;
376: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
377: p_data => x_msg_data );
378: WHEN OTHERS THEN
379: ROLLBACK TO Compare_ActChargesAndCosts_Pvt;
380: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
381: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
382: THEN
383: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME ,
384: l_api_name );
429: -- Standard Start of API savepoint
430: SAVEPOINT Compare_EstAndActCharges_Pvt;
431:
432: -- Standard call to check for call compatibility.
433: IF NOT FND_API.Compatible_API_Call (l_api_version,
434: p_api_version,
435: l_api_name,
436: G_PKG_NAME)
437: THEN
434: p_api_version,
435: l_api_name,
436: G_PKG_NAME)
437: THEN
438: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
439: END IF;
440:
441: -- Initialize message list if p_init_msg_list is set to TRUE.
442: IF FND_API.to_Boolean(p_init_msg_list) THEN
438: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
439: END IF;
440:
441: -- Initialize message list if p_init_msg_list is set to TRUE.
442: IF FND_API.to_Boolean(p_init_msg_list) THEN
443: FND_MSG_PUB.initialize;
444: END IF;
445:
446: -- Initialize API return status to success
443: FND_MSG_PUB.initialize;
444: END IF;
445:
446: -- Initialize API return status to success
447: x_return_status := FND_API.G_RET_STS_SUCCESS;
448:
449: --
450: -- Begin API Body
451: --
454: -- End API Body
455: --
456:
457: -- Standard check of p_commit.
458: IF FND_API.To_Boolean( p_commit ) THEN
459: COMMIT WORK;
460: END IF;
461:
462: -- Standard call to get message count and IF count is get message info.
462: -- Standard call to get message count and IF count is get message info.
463: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
464: p_data => x_msg_data );
465: EXCEPTION
466: WHEN FND_API.G_EXC_ERROR THEN
467: ROLLBACK TO Compare_EstAndActCharges_Pvt;
468: x_return_status := FND_API.G_RET_STS_ERROR ;
469: FND_MSG_PUB.Count_And_Get
470: (p_count => x_msg_count,
464: p_data => x_msg_data );
465: EXCEPTION
466: WHEN FND_API.G_EXC_ERROR THEN
467: ROLLBACK TO Compare_EstAndActCharges_Pvt;
468: x_return_status := FND_API.G_RET_STS_ERROR ;
469: FND_MSG_PUB.Count_And_Get
470: (p_count => x_msg_count,
471: p_data => x_msg_data
472: );
469: FND_MSG_PUB.Count_And_Get
470: (p_count => x_msg_count,
471: p_data => x_msg_data
472: );
473: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
474: ROLLBACK TO Compare_EstAndActCharges_Pvt;
475: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
476: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
477: p_data => x_msg_data );
471: p_data => x_msg_data
472: );
473: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
474: ROLLBACK TO Compare_EstAndActCharges_Pvt;
475: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
476: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
477: p_data => x_msg_data );
478: WHEN OTHERS THEN
479: ROLLBACK TO Compare_EstAndActCharges_Pvt;
476: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
477: p_data => x_msg_data );
478: WHEN OTHERS THEN
479: ROLLBACK TO Compare_EstAndActCharges_Pvt;
480: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
481: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
482: THEN
483: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME ,
484: l_api_name );
537: -- Standard Start of API savepoint
538: SAVEPOINT Get_InvItemCostAnalysis_Pvt;
539:
540: -- Standard call to check for call compatibility.
541: IF NOT FND_API.Compatible_API_Call (l_api_version,
542: p_api_version,
543: l_api_name,
544: G_PKG_NAME)
545: THEN
542: p_api_version,
543: l_api_name,
544: G_PKG_NAME)
545: THEN
546: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
547: END IF;
548:
549: -- Initialize message list if p_init_msg_list is set to TRUE.
550: IF FND_API.to_Boolean(p_init_msg_list) THEN
546: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
547: END IF;
548:
549: -- Initialize message list if p_init_msg_list is set to TRUE.
550: IF FND_API.to_Boolean(p_init_msg_list) THEN
551: FND_MSG_PUB.initialize;
552: END IF;
553:
554: -- Initialize API return status to success
551: FND_MSG_PUB.initialize;
552: END IF;
553:
554: -- Initialize API return status to success
555: x_return_status := FND_API.G_RET_STS_SUCCESS;
556:
557: --
558: -- Begin API Body
559: --
562: -- End API Body
563: --
564:
565: -- Standard check of p_commit.
566: IF FND_API.To_Boolean( p_commit ) THEN
567: COMMIT WORK;
568: END IF;
569:
570: -- Standard call to get message count and IF count is get message info.
570: -- Standard call to get message count and IF count is get message info.
571: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
572: p_data => x_msg_data );
573: EXCEPTION
574: WHEN FND_API.G_EXC_ERROR THEN
575: ROLLBACK TO Get_InvItemCostAnalysis_Pvt;
576: x_return_status := FND_API.G_RET_STS_ERROR ;
577: FND_MSG_PUB.Count_And_Get
578: (p_count => x_msg_count,
572: p_data => x_msg_data );
573: EXCEPTION
574: WHEN FND_API.G_EXC_ERROR THEN
575: ROLLBACK TO Get_InvItemCostAnalysis_Pvt;
576: x_return_status := FND_API.G_RET_STS_ERROR ;
577: FND_MSG_PUB.Count_And_Get
578: (p_count => x_msg_count,
579: p_data => x_msg_data
580: );
577: FND_MSG_PUB.Count_And_Get
578: (p_count => x_msg_count,
579: p_data => x_msg_data
580: );
581: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
582: ROLLBACK TO Get_InvItemCostAnalysis_Pvt;
583: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
584: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
585: p_data => x_msg_data );
579: p_data => x_msg_data
580: );
581: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
582: ROLLBACK TO Get_InvItemCostAnalysis_Pvt;
583: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
584: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
585: p_data => x_msg_data );
586: WHEN OTHERS THEN
587: ROLLBACK TO Get_InvItemCostAnalysis_Pvt;
584: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
585: p_data => x_msg_data );
586: WHEN OTHERS THEN
587: ROLLBACK TO Get_InvItemCostAnalysis_Pvt;
588: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
589: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
590: THEN
591: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME ,
592: l_api_name );
645: -- Standard Start of API savepoint
646: SAVEPOINT Get_ResItemCostAnalysis_Pvt;
647:
648: -- Standard call to check for call compatibility.
649: IF NOT FND_API.Compatible_API_Call (l_api_version,
650: p_api_version,
651: l_api_name,
652: G_PKG_NAME)
653: THEN
650: p_api_version,
651: l_api_name,
652: G_PKG_NAME)
653: THEN
654: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
655: END IF;
656:
657: -- Initialize message list if p_init_msg_list is set to TRUE.
658: IF FND_API.to_Boolean(p_init_msg_list) THEN
654: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
655: END IF;
656:
657: -- Initialize message list if p_init_msg_list is set to TRUE.
658: IF FND_API.to_Boolean(p_init_msg_list) THEN
659: FND_MSG_PUB.initialize;
660: END IF;
661:
662: -- Initialize API return status to success
659: FND_MSG_PUB.initialize;
660: END IF;
661:
662: -- Initialize API return status to success
663: x_return_status := FND_API.G_RET_STS_SUCCESS;
664:
665: --
666: -- Begin API Body
667: --
670: -- End API Body
671: --
672:
673: -- Standard check of p_commit.
674: IF FND_API.To_Boolean( p_commit ) THEN
675: COMMIT WORK;
676: END IF;
677:
678: -- Standard call to get message count and IF count is get message info.
678: -- Standard call to get message count and IF count is get message info.
679: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
680: p_data => x_msg_data );
681: EXCEPTION
682: WHEN FND_API.G_EXC_ERROR THEN
683: ROLLBACK TO Get_ResItemCostAnalysis_Pvt;
684: x_return_status := FND_API.G_RET_STS_ERROR ;
685: FND_MSG_PUB.Count_And_Get
686: (p_count => x_msg_count,
680: p_data => x_msg_data );
681: EXCEPTION
682: WHEN FND_API.G_EXC_ERROR THEN
683: ROLLBACK TO Get_ResItemCostAnalysis_Pvt;
684: x_return_status := FND_API.G_RET_STS_ERROR ;
685: FND_MSG_PUB.Count_And_Get
686: (p_count => x_msg_count,
687: p_data => x_msg_data
688: );
685: FND_MSG_PUB.Count_And_Get
686: (p_count => x_msg_count,
687: p_data => x_msg_data
688: );
689: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
690: ROLLBACK TO Get_ResItemCostAnalysis_Pvt;
691: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
692: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
693: p_data => x_msg_data );
687: p_data => x_msg_data
688: );
689: WHEN FND_API.G_EXC_UNEXPECTED_ERROR THEN
690: ROLLBACK TO Get_ResItemCostAnalysis_Pvt;
691: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
692: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
693: p_data => x_msg_data );
694: WHEN OTHERS THEN
695: ROLLBACK TO Get_ResItemCostAnalysis_Pvt;
692: FND_MSG_PUB.Count_And_Get (p_count => x_msg_count,
693: p_data => x_msg_data );
694: WHEN OTHERS THEN
695: ROLLBACK TO Get_ResItemCostAnalysis_Pvt;
696: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
697: IF FND_MSG_PUB.Check_Msg_Level (FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR)
698: THEN
699: FND_MSG_PUB.Add_Exc_Msg (G_PKG_NAME ,
700: l_api_name );