DBA Data[Home] [Help]

APPS.CTO_WIP_WORKFLOW_API_PK dependencies on CTO_MSG_PUB

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

195: else
196: query_wf_activity_status(G_ITEM_TYPE_NAME, TO_CHAR(order_line_id),
197: 'SHIP_LINE', 'SHIP_LINE', v_activity_status_code);
198: if upper(v_activity_status_code) <> 'NOTIFIED' then
199: cto_msg_pub.cto_message('BOM', 'CTO_INVALID_ACTIVITY_STATUS');
200: raise FND_API.G_EXC_ERROR;
201: end if;
202: end if;
203:

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

212: CTO_DEBUG('FIRST_WO_RESERVATION_CREATED',
213: 'Return value from display_wf_status = '||to_char(return_value));
214:
215: if return_value <> 1 then
216: cto_msg_pub.cto_message('BOM', 'CTO_ERROR_FROM_DISPLAY_STATUS');
217: raise FND_API.G_EXC_ERROR;
218: end if;
219:
220: end if;

Line 230: CTO_MSG_PUB.Count_And_Get(

226: IF PG_DEBUG <> 0 THEN
227: oe_debug_pub.add ('first_wo_reservation_created: ' || 'first_wo_reservation_created raised expected error.',1);
228: END IF;
229: x_return_status := FND_API.G_RET_STS_ERROR;
230: CTO_MSG_PUB.Count_And_Get(
231: p_msg_count => x_msg_count,
232: p_msg_data => x_msg_data
233: );
234:

Line 240: CTO_MSG_PUB.Count_And_Get(

236: IF PG_DEBUG <> 0 THEN
237: oe_debug_pub.add ('first_wo_reservation_created: ' || 'first_wo_reservation_created raised unexpected error.',1);
238: END IF;
239: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
240: CTO_MSG_PUB.Count_And_Get(
241: p_msg_count => x_msg_count,
242: p_msg_data => x_msg_data
243: );
244:

Line 253: CTO_MSG_PUB.Count_And_Get(

249: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
250: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
251: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
252: END IF;
253: CTO_MSG_PUB.Count_And_Get(
254: p_msg_count => x_msg_count,
255: p_msg_data => x_msg_data
256: );
257:

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

361: 'UNRESERVE');
362: end if;
363:
364: else
365: cto_msg_pub.cto_message('BOM', 'CTO_INVALID_ACTIVITY_STATUS');
366: raise FND_API.G_EXC_ERROR;
367: end if;
368:
369: -- display proper status to OM form

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

377: CTO_DEBUG('LAST_WO_RESERVATION',
378: 'Return value from display_wf_status = '||to_char(order_line_id));
379:
380: if return_value <> 1 then
381: cto_msg_pub.cto_message('BOM', 'CTO_ERROR_FROM_DISPLAY_STATUS');
382: raise FND_API.G_EXC_ERROR;
383: end if;
384:
385: end if;

Line 395: CTO_MSG_PUB.Count_And_Get(

391: IF PG_DEBUG <> 0 THEN
392: oe_debug_pub.add ('last_wo_reservation_deleted: ' || 'last_wo_reservation_deleted raised expected error.',1);
393: END IF;
394: x_return_status := FND_API.G_RET_STS_ERROR;
395: CTO_MSG_PUB.Count_And_Get(
396: p_msg_count => x_msg_count,
397: p_msg_data => x_msg_data
398: );
399:

Line 406: CTO_MSG_PUB.Count_And_Get(

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

Line 419: CTO_MSG_PUB.Count_And_Get(

415: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
416: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
417: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
418: END IF;
419: CTO_MSG_PUB.Count_And_Get(
420: p_msg_count => x_msg_count,
421: p_msg_data => x_msg_data
422: );
423:

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

484: else
485: query_wf_activity_status(G_ITEM_TYPE_NAME, TO_CHAR(order_line_id),
486: 'SHIP_LINE', 'SHIP_LINE', v_activity_status_code);
487: if upper(v_activity_status_code) <> 'NOTIFIED' then
488: cto_msg_pub.cto_message('BOM', 'CTO_INVALID_ACTIVITY_STATUS');
489: raise FND_API.G_EXC_ERROR;
490: end if;
491: end if;
492:

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

500: CTO_DEBUG('FLOW_CREATION',
501: ' The return value from display_wf_status = '||to_char(return_value));
502:
503: if return_value <> 1 then
504: cto_msg_pub.cto_message('BOM', 'CTO_ERROR_FROM_DISPLAY_STATUS');
505: raise FND_API.G_EXC_ERROR;
506: end if;
507:
508: end if;

Line 518: CTO_MSG_PUB.Count_And_Get(

514: IF PG_DEBUG <> 0 THEN
515: oe_debug_pub.add ('flow_creation: ' || 'flow_creation raised expected error.',1);
516: END IF;
517: x_return_status := FND_API.G_RET_STS_ERROR;
518: CTO_MSG_PUB.Count_And_Get(
519: p_msg_count => x_msg_count,
520: p_msg_data => x_msg_data
521: );
522:

Line 529: CTO_MSG_PUB.Count_And_Get(

525: IF PG_DEBUG <> 0 THEN
526: oe_debug_pub.add ('flow_creation: ' || 'flow_creation raised unexpected error.',1);
527: END IF;
528: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
529: CTO_MSG_PUB.Count_And_Get(
530: p_msg_count => x_msg_count,
531: p_msg_data => x_msg_data
532: );
533:

Line 542: CTO_MSG_PUB.Count_And_Get(

538: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
539: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
540: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
541: END IF;
542: CTO_MSG_PUB.Count_And_Get(
543: p_msg_count => x_msg_count,
544: p_msg_data => x_msg_data
545: );
546:

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

644: 'UNRESERVE');
645: end if;
646:
647: else
648: cto_msg_pub.cto_message('BOM', 'CTO_INVALID_ACTIVITY_STATUS');
649: raise FND_API.G_EXC_ERROR;
650: end if;
651:
652: -- display proper status to OM form

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

659: CTO_DEBUG('FLOW_DELETION',
660: ' Display_wf_status return value = '||to_char(return_value));
661:
662: if return_value <> 1 then
663: cto_msg_pub.cto_message('BOM', 'CTO_ERROR_FROM_DISPLAY_STATUS');
664: raise FND_API.G_EXC_ERROR;
665: end if;
666:
667: end if;

Line 677: CTO_MSG_PUB.Count_And_Get(

673: IF PG_DEBUG <> 0 THEN
674: oe_debug_pub.add ('flow_deletion: ' || 'flow_deletion raised expected error.',1);
675: END IF;
676: x_return_status := FND_API.G_RET_STS_ERROR;
677: CTO_MSG_PUB.Count_And_Get(
678: p_msg_count => x_msg_count,
679: p_msg_data => x_msg_data
680: );
681:

Line 688: CTO_MSG_PUB.Count_And_Get(

684: IF PG_DEBUG <> 0 THEN
685: oe_debug_pub.add ('flow_deletion: ' || 'flow_deletion raised expected error.',1);
686: END IF;
687: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
688: CTO_MSG_PUB.Count_And_Get(
689: p_msg_count => x_msg_count,
690: p_msg_data => x_msg_data
691: );
692:

Line 701: CTO_MSG_PUB.Count_And_Get(

697: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
698: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
699: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME, l_api_name);
700: END IF;
701: CTO_MSG_PUB.Count_And_Get(
702: p_msg_count => x_msg_count,
703: p_msg_data => x_msg_data
704: );
705: