DBA Data[Home] [Help]

APPS.CTO_WIP_WORKFLOW_API_PK dependencies on CTO_MSG_PUB

Line 204: cto_msg_pub.cto_message('BOM', 'CTO_INVALID_ACTIVITY_STATUS');

200: else
201: query_wf_activity_status(G_ITEM_TYPE_NAME, TO_CHAR(order_line_id),
202: 'SHIP_LINE', 'SHIP_LINE', v_activity_status_code);
203: if upper(v_activity_status_code) <> 'NOTIFIED' then
204: cto_msg_pub.cto_message('BOM', 'CTO_INVALID_ACTIVITY_STATUS');
205: raise FND_API.G_EXC_ERROR;
206: end if;
207: end if;
208:

Line 221: cto_msg_pub.cto_message('BOM', 'CTO_ERROR_FROM_DISPLAY_STATUS');

217: CTO_DEBUG('FIRST_WO_RESERVATION_CREATED',
218: 'Return value from display_wf_status = '||to_char(return_value));
219:
220: if return_value <> 1 then
221: cto_msg_pub.cto_message('BOM', 'CTO_ERROR_FROM_DISPLAY_STATUS');
222: raise FND_API.G_EXC_ERROR;
223: end if;
224:
225: end if;

Line 235: CTO_MSG_PUB.Count_And_Get(

231: IF PG_DEBUG <> 0 THEN
232: oe_debug_pub.add ('first_wo_reservation_created: ' || 'first_wo_reservation_created raised expected error.',1);
233: END IF;
234: x_return_status := FND_API.G_RET_STS_ERROR;
235: CTO_MSG_PUB.Count_And_Get(
236: p_msg_count => x_msg_count,
237: p_msg_data => x_msg_data
238: );
239:

Line 245: CTO_MSG_PUB.Count_And_Get(

241: IF PG_DEBUG <> 0 THEN
242: oe_debug_pub.add ('first_wo_reservation_created: ' || 'first_wo_reservation_created raised unexpected error.',1);
243: END IF;
244: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
245: CTO_MSG_PUB.Count_And_Get(
246: p_msg_count => x_msg_count,
247: p_msg_data => x_msg_data
248: );
249:

Line 258: CTO_MSG_PUB.Count_And_Get(

254: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
255: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
256: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
257: END IF;
258: CTO_MSG_PUB.Count_And_Get(
259: p_msg_count => x_msg_count,
260: p_msg_data => x_msg_data
261: );
262:

Line 375: cto_msg_pub.cto_message('BOM', 'CTO_INVALID_ACTIVITY_STATUS');

371: 'UNRESERVE');
372: end if;
373:
374: else
375: cto_msg_pub.cto_message('BOM', 'CTO_INVALID_ACTIVITY_STATUS');
376: raise FND_API.G_EXC_ERROR;
377: end if;
378:
379: -- display proper status to OM form

Line 391: cto_msg_pub.cto_message('BOM', 'CTO_ERROR_FROM_DISPLAY_STATUS');

387: CTO_DEBUG('LAST_WO_RESERVATION',
388: 'Return value from display_wf_status = '||to_char(order_line_id));
389:
390: if return_value <> 1 then
391: cto_msg_pub.cto_message('BOM', 'CTO_ERROR_FROM_DISPLAY_STATUS');
392: raise FND_API.G_EXC_ERROR;
393: end if;
394:
395: end if;

Line 405: CTO_MSG_PUB.Count_And_Get(

401: IF PG_DEBUG <> 0 THEN
402: oe_debug_pub.add ('last_wo_reservation_deleted: ' || 'last_wo_reservation_deleted raised expected error.',1);
403: END IF;
404: x_return_status := FND_API.G_RET_STS_ERROR;
405: CTO_MSG_PUB.Count_And_Get(
406: p_msg_count => x_msg_count,
407: p_msg_data => x_msg_data
408: );
409:

Line 416: CTO_MSG_PUB.Count_And_Get(

412: IF PG_DEBUG <> 0 THEN
413: oe_debug_pub.add ('last_wo_reservation_deleted: ' || 'last_wo_reservation_deleted raised unexpected error.',1);
414: END IF;
415: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
416: CTO_MSG_PUB.Count_And_Get(
417: p_msg_count => x_msg_count,
418: p_msg_data => x_msg_data
419: );
420:

Line 429: CTO_MSG_PUB.Count_And_Get(

425: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
426: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
427: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
428: END IF;
429: CTO_MSG_PUB.Count_And_Get(
430: p_msg_count => x_msg_count,
431: p_msg_data => x_msg_data
432: );
433:

Line 503: cto_msg_pub.cto_message('BOM', 'CTO_INVALID_ACTIVITY_STATUS');

499: else
500: query_wf_activity_status(G_ITEM_TYPE_NAME, TO_CHAR(order_line_id),
501: 'SHIP_LINE', 'SHIP_LINE', v_activity_status_code);
502: if upper(v_activity_status_code) <> 'NOTIFIED' then
503: cto_msg_pub.cto_message('BOM', 'CTO_INVALID_ACTIVITY_STATUS');
504: raise FND_API.G_EXC_ERROR;
505: end if;
506: end if;
507:

Line 519: cto_msg_pub.cto_message('BOM', 'CTO_ERROR_FROM_DISPLAY_STATUS');

515: CTO_DEBUG('FLOW_CREATION',
516: ' The return value from display_wf_status = '||to_char(return_value));
517:
518: if return_value <> 1 then
519: cto_msg_pub.cto_message('BOM', 'CTO_ERROR_FROM_DISPLAY_STATUS');
520: raise FND_API.G_EXC_ERROR;
521: end if;
522:
523: end if;

Line 533: CTO_MSG_PUB.Count_And_Get(

529: IF PG_DEBUG <> 0 THEN
530: oe_debug_pub.add ('flow_creation: ' || 'flow_creation raised expected error.',1);
531: END IF;
532: x_return_status := FND_API.G_RET_STS_ERROR;
533: CTO_MSG_PUB.Count_And_Get(
534: p_msg_count => x_msg_count,
535: p_msg_data => x_msg_data
536: );
537:

Line 544: CTO_MSG_PUB.Count_And_Get(

540: IF PG_DEBUG <> 0 THEN
541: oe_debug_pub.add ('flow_creation: ' || 'flow_creation raised unexpected error.',1);
542: END IF;
543: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
544: CTO_MSG_PUB.Count_And_Get(
545: p_msg_count => x_msg_count,
546: p_msg_data => x_msg_data
547: );
548:

Line 557: CTO_MSG_PUB.Count_And_Get(

553: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
554: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
555: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
556: END IF;
557: CTO_MSG_PUB.Count_And_Get(
558: p_msg_count => x_msg_count,
559: p_msg_data => x_msg_data
560: );
561:

Line 668: cto_msg_pub.cto_message('BOM', 'CTO_INVALID_ACTIVITY_STATUS');

664: 'UNRESERVE');
665: end if;
666:
667: else
668: cto_msg_pub.cto_message('BOM', 'CTO_INVALID_ACTIVITY_STATUS');
669: raise FND_API.G_EXC_ERROR;
670: end if;
671:
672: -- display proper status to OM form

Line 683: cto_msg_pub.cto_message('BOM', 'CTO_ERROR_FROM_DISPLAY_STATUS');

679: CTO_DEBUG('FLOW_DELETION',
680: ' Display_wf_status return value = '||to_char(return_value));
681:
682: if return_value <> 1 then
683: cto_msg_pub.cto_message('BOM', 'CTO_ERROR_FROM_DISPLAY_STATUS');
684: raise FND_API.G_EXC_ERROR;
685: end if;
686:
687: end if;

Line 697: CTO_MSG_PUB.Count_And_Get(

693: IF PG_DEBUG <> 0 THEN
694: oe_debug_pub.add ('flow_deletion: ' || 'flow_deletion raised expected error.',1);
695: END IF;
696: x_return_status := FND_API.G_RET_STS_ERROR;
697: CTO_MSG_PUB.Count_And_Get(
698: p_msg_count => x_msg_count,
699: p_msg_data => x_msg_data
700: );
701:

Line 708: CTO_MSG_PUB.Count_And_Get(

704: IF PG_DEBUG <> 0 THEN
705: oe_debug_pub.add ('flow_deletion: ' || 'flow_deletion raised expected error.',1);
706: END IF;
707: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
708: CTO_MSG_PUB.Count_And_Get(
709: p_msg_count => x_msg_count,
710: p_msg_data => x_msg_data
711: );
712:

Line 721: CTO_MSG_PUB.Count_And_Get(

717: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
718: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
719: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
720: END IF;
721: CTO_MSG_PUB.Count_And_Get(
722: p_msg_count => x_msg_count,
723: p_msg_data => x_msg_data
724: );
725: