DBA Data[Home] [Help]

APPS.MSC_ATP_PVT dependencies on FND_MSG_PUB

Line 5480: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

5476: l_plan_id, UNDO, 1,l_return_status);
5477: END IF;
5478:
5479: END LOOP;
5480: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5481: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
5482: END IF;
5483: -- Error Handling Changes End.
5484:

Line 5481: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');

5477: END IF;
5478:
5479: END LOOP;
5480: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5481: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
5482: END IF;
5483: -- Error Handling Changes End.
5484:
5485: -- INSERT HERE

Line 5631: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

5627: l_plan_id, UNDO, 1,l_return_status);
5628: END IF;
5629: END LOOP;
5630:
5631: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5632: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
5633: END IF;
5634:
5635: -- Error Handling changes - handling for rescheduling case

Line 5632: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');

5628: END IF;
5629: END LOOP;
5630:
5631: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5632: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
5633: END IF;
5634:
5635: -- Error Handling changes - handling for rescheduling case
5636: IF /*(MSC_ATP_PVT.G_INV_CTP = 4) AND */ (x_atp_table.Action(1) = DEMANDMODIFY OR --3720018, commented for support of rescheduling in ODS

Line 5720: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

5716: MSC_ATP_PVT.G_ALLOCATED_ATP := MSC_ATP_PVT.G_ORIG_ALLOC_ATP;
5717: -- End ATP4drp
5718: MSC_ATP_PVT.G_ALLOCATION_METHOD := NVL(l_allocation_method, MSC_ATP_PVT.G_ALLOCATION_METHOD);
5719:
5720: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5721: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
5722: END IF;
5723:
5724: -- 2625800: krajan

Line 5721: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');

5717: -- End ATP4drp
5718: MSC_ATP_PVT.G_ALLOCATION_METHOD := NVL(l_allocation_method, MSC_ATP_PVT.G_ALLOCATION_METHOD);
5719:
5720: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5721: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
5722: END IF;
5723:
5724: -- 2625800: krajan
5725: ---agilent arrival set bug

Line 5784: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

5780: MSC_ATP_DB_UTILS.Remove_Invalid_SD_Rec(l_tmp_pegging_id, null,
5781: l_plan_id, UNDO, 1,l_return_status);
5782: END IF;
5783: END LOOP;
5784: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5785: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
5786: END IF;
5787: -- Error Handling Changes End.
5788: IF /*(MSC_ATP_PVT.G_INV_CTP = 4) AND */ (x_atp_table.Action(1) = DEMANDMODIFY OR --3720018, commented for support of rescheduling in ODS

Line 5785: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');

5781: l_plan_id, UNDO, 1,l_return_status);
5782: END IF;
5783: END LOOP;
5784: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5785: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
5786: END IF;
5787: -- Error Handling Changes End.
5788: IF /*(MSC_ATP_PVT.G_INV_CTP = 4) AND */ (x_atp_table.Action(1) = DEMANDMODIFY OR --3720018, commented for support of rescheduling in ODS
5789: x_atp_table.Action(1) = DEMANDADD OR

Line 5891: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

5887: msc_sch_wb.atp_debug('Schedule: ' || 'ATP_PROCESSING_ERROR ' );
5888: END IF;
5889: END IF;
5890:
5891: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5892: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
5893: END IF;
5894:
5895: -- 2625800: krajan

Line 5892: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');

5888: END IF;
5889: END IF;
5890:
5891: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5892: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
5893: END IF;
5894:
5895: -- 2625800: krajan
5896: ---agilent arrival set bug

Line 5956: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

5952: MSC_ATP_DB_UTILS.Remove_Invalid_SD_Rec(l_tmp_pegging_id, null,
5953: l_plan_id, UNDO, 1,l_return_status);
5954: END IF;
5955: END LOOP;
5956: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5957: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
5958: END IF;
5959: -- Error Handling Changes End.
5960: IF /*(MSC_ATP_PVT.G_INV_CTP = 4) AND */ (x_atp_table.Action(1) = DEMANDMODIFY OR --3720018, commented for support of rescheduling in ODS

Line 5957: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');

5953: l_plan_id, UNDO, 1,l_return_status);
5954: END IF;
5955: END LOOP;
5956: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
5957: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
5958: END IF;
5959: -- Error Handling Changes End.
5960: IF /*(MSC_ATP_PVT.G_INV_CTP = 4) AND */ (x_atp_table.Action(1) = DEMANDMODIFY OR --3720018, commented for support of rescheduling in ODS
5961: x_atp_table.Action(1) = DEMANDADD OR

Line 16164: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

16160: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
16161: IF (p_atp_record.error_code IS NULL) or (p_atp_record.error_code IN (0,61,150)) THEN
16162: p_atp_record.error_code := ATP_INVALID_OBJECTS;
16163: END IF;
16164: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
16165: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'ATP_Check');
16166: END IF;
16167: RAISE MSC_ATP_PUB.ATP_INVALID_OBJECTS_FOUND;
16168: -- Error Handling Insert End

Line 16165: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'ATP_Check');

16161: IF (p_atp_record.error_code IS NULL) or (p_atp_record.error_code IN (0,61,150)) THEN
16162: p_atp_record.error_code := ATP_INVALID_OBJECTS;
16163: END IF;
16164: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
16165: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'ATP_Check');
16166: END IF;
16167: RAISE MSC_ATP_PUB.ATP_INVALID_OBJECTS_FOUND;
16168: -- Error Handling Insert End
16169:

Line 16211: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

16207: END IF;
16208: END IF;
16209: END IF;
16210:
16211: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
16212: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'ATP_Check');
16213: END IF;
16214:
16215: IF l_msg_app='MRP' AND l_msg_name='GEN-DATE OUT OF BOUNDS' THEN

Line 16212: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'ATP_Check');

16208: END IF;
16209: END IF;
16210:
16211: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
16212: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'ATP_Check');
16213: END IF;
16214:
16215: IF l_msg_app='MRP' AND l_msg_name='GEN-DATE OUT OF BOUNDS' THEN
16216: RAISE NO_MATCHING_DATE_IN_CAL;

Line 17304: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

17300: x_atp_table.Error_Code(i) := MSC_ATP_PVT.ATP_PROCESSING_ERROR; -- ATP Processing Error
17301: END IF;
17302: END IF;
17303: END LOOP;
17304: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
17305: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'MSC_ATP_PVT');
17306: END IF;
17307: IF PG_DEBUG in ('Y', 'C') THEN
17308: msc_sch_wb.atp_debug('Call_Schedule: ' || 'error := ' || sqlerrm);

Line 17305: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'MSC_ATP_PVT');

17301: END IF;
17302: END IF;
17303: END LOOP;
17304: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
17305: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'MSC_ATP_PVT');
17306: END IF;
17307: IF PG_DEBUG in ('Y', 'C') THEN
17308: msc_sch_wb.atp_debug('Call_Schedule: ' || 'error := ' || sqlerrm);
17309: END IF;