186: RAISE FND_API.G_EXC_UNEXPECTED_ERROR;
187: END IF;
188:
189: IF FND_API.to_Boolean(p_init_msg_list) THEN
190: FND_MSG_PUB.initialize;
191: END IF;
192:
193: IF l_debug_on THEN
194: wsh_debug_sv.push (l_module_name);
481: ELSE
482: x_return_status := wsh_util_core.g_ret_sts_success;
483: END IF;
484: --
485: FND_MSG_PUB.Count_And_Get (
486: p_count => x_msg_count,
487: p_data => x_msg_data );
488: --
489: IF l_debug_on THEN
506: END IF;
507:
508: x_return_status := FND_API.G_RET_STS_ERROR;
509: -- Get message count and data
510: FND_MSG_PUB.Count_And_Get (
511: p_count => x_msg_count,
512: p_data => x_msg_data );
513: --
514: IF l_debug_on THEN
532: END IF;
533:
534: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
535: -- Get message count and data
536: FND_MSG_PUB.Count_And_Get(
537: p_count => x_msg_count ,
538: p_data => x_msg_data );
539: --
540: IF l_debug_on THEN
556: CLOSE get_carrier_ser_info;
557: END IF;
558:
559: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
560: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
561: FND_MSG_PUB.Add_Exc_Msg
562: (
563: G_PKG_NAME
564: , '_x_'
557: END IF;
558:
559: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR ;
560: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
561: FND_MSG_PUB.Add_Exc_Msg
562: (
563: G_PKG_NAME
564: , '_x_'
565: );
565: );
566: END IF;
567:
568: -- Get message count and data
569: FND_MSG_PUB.Count_And_Get (
570: p_count => x_msg_count ,
571: p_data => x_msg_data );
572: --
573: IF l_debug_on THEN