DBA Data[Home] [Help]

APPS.MSC_ATP_PUB dependencies on FND_MSG_PUB

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

781: x_atp_rec.Error_Code(i) := MSC_ATP_PVT.ATP_INVALID_OBJECTS;
782: END IF;
783: END LOOP;
784: -- Step 3 : Add error to UI display stack
785: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
786: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Call_ATP');
787: END IF;
788: x_return_status := NVL(x_return_status, FND_API.G_RET_STS_ERROR);
789: IF PG_DEBUG in ('Y', 'C') THEN

Line 786: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Call_ATP');

782: END IF;
783: END LOOP;
784: -- Step 3 : Add error to UI display stack
785: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
786: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Call_ATP');
787: END IF;
788: x_return_status := NVL(x_return_status, FND_API.G_RET_STS_ERROR);
789: IF PG_DEBUG in ('Y', 'C') THEN
790: msc_sch_wb.atp_debug('Call_ATP: ' || 'Return Status in excpetion : '||x_return_status);

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

820: IF ((NVL(x_atp_rec.Error_Code(i), -1)) in (-1,0,61,150)) THEN
821: x_atp_rec.Error_Code(i) := MSC_ATP_PVT.ATP_PROCESSING_ERROR;
822: END IF;
823: END LOOP;
824: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
825: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Call_ATP');
826: END IF;
827: -- End Error Handling Fix
828:

Line 825: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Call_ATP');

821: x_atp_rec.Error_Code(i) := MSC_ATP_PVT.ATP_PROCESSING_ERROR;
822: END IF;
823: END LOOP;
824: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
825: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Call_ATP');
826: END IF;
827: -- End Error Handling Fix
828:
829: -- Bug 2387242 : krajan

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

2742: IF PG_DEBUG in ('Y', 'C') THEN
2743: msc_sch_wb.atp_debug('Rows deleted from msc_atp_src_profile_temp:'|| sql%rowcount);
2744: END IF;
2745:
2746: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2747: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Call_ATP_No_Commit');
2748: END IF;
2749:
2750: --- now we put the record back into temp table.

Line 2747: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Call_ATP_No_Commit');

2743: msc_sch_wb.atp_debug('Rows deleted from msc_atp_src_profile_temp:'|| sql%rowcount);
2744: END IF;
2745:
2746: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2747: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Call_ATP_No_Commit');
2748: END IF;
2749:
2750: --- now we put the record back into temp table.
2751: --- ATP inquiry gets data from mrp_atp_schedule_temp table.

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

2830: IF NVL (x_atp_rec.error_code(i),-1) in (-1,0,61,150) THEN
2831: x_atp_rec.Error_Code(i) := MSC_ATP_PVT.ATP_PROCESSING_ERROR;
2832: END IF;
2833: END LOOP;
2834: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2835: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Call_ATP_No_Commit');
2836: END IF;
2837: -- End Error Handling Changes
2838:

Line 2835: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Call_ATP_No_Commit');

2831: x_atp_rec.Error_Code(i) := MSC_ATP_PVT.ATP_PROCESSING_ERROR;
2832: END IF;
2833: END LOOP;
2834: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
2835: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Call_ATP_No_Commit');
2836: END IF;
2837: -- End Error Handling Changes
2838:
2839: --- now we put the record back into temp table.