DBA Data[Home] [Help]

APPS.MSC_ATP_PVT dependencies on FND_MSG_PUB

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

6086: l_plan_id, UNDO, 1,l_return_status);
6087: END IF;
6088:
6089: END LOOP;
6090: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6091: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
6092: END IF;
6093: -- Error Handling Changes End.
6094:

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

6087: END IF;
6088:
6089: END LOOP;
6090: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6091: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
6092: END IF;
6093: -- Error Handling Changes End.
6094:
6095: -- INSERT HERE

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

6239: l_plan_id, UNDO, 1,l_return_status);
6240: END IF;
6241: END LOOP;
6242:
6243: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6244: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
6245: END IF;
6246:
6247: -- Error Handling changes - handling for rescheduling case

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

6240: END IF;
6241: END LOOP;
6242:
6243: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6244: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
6245: END IF;
6246:
6247: -- Error Handling changes - handling for rescheduling case
6248: 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 6334: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN

6330: MSC_ATP_PVT.G_ALLOCATION_METHOD := NVL(l_allocation_method, MSC_ATP_PVT.G_ALLOCATION_METHOD);
6331: --5221865
6332: MSC_ATP_PVT.G_FORWARD_ATP := NVL(l_forward_atp,MSC_ATP_PVT.G_FORWARD_ATP);
6333:
6334: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6335: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
6336: END IF;
6337:
6338: -- 2625800: krajan

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

6331: --5221865
6332: MSC_ATP_PVT.G_FORWARD_ATP := NVL(l_forward_atp,MSC_ATP_PVT.G_FORWARD_ATP);
6333:
6334: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6335: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
6336: END IF;
6337:
6338: -- 2625800: krajan
6339: ---agilent arrival set bug

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

6394: MSC_ATP_DB_UTILS.Remove_Invalid_SD_Rec(l_tmp_pegging_id, null,
6395: l_plan_id, UNDO, 1,l_return_status);
6396: END IF;
6397: END LOOP;
6398: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6399: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
6400: END IF;
6401: -- Error Handling Changes End.
6402: 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 6399: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');

6395: l_plan_id, UNDO, 1,l_return_status);
6396: END IF;
6397: END LOOP;
6398: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6399: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
6400: END IF;
6401: -- Error Handling Changes End.
6402: IF /*(MSC_ATP_PVT.G_INV_CTP = 4) AND */ (x_atp_table.Action(1) = DEMANDMODIFY OR --3720018, commented for support of rescheduling in ODS
6403: x_atp_table.Action(1) = DEMANDADD OR

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

6503: msc_sch_wb.atp_debug('Schedule: ' || 'ATP_PROCESSING_ERROR ' );
6504: END IF;
6505: END IF;
6506:
6507: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6508: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
6509: END IF;
6510:
6511: -- 2625800: krajan

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

6504: END IF;
6505: END IF;
6506:
6507: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6508: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
6509: END IF;
6510:
6511: -- 2625800: krajan
6512: ---agilent arrival set bug

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

6568: MSC_ATP_DB_UTILS.Remove_Invalid_SD_Rec(l_tmp_pegging_id, null,
6569: l_plan_id, UNDO, 1,l_return_status);
6570: END IF;
6571: END LOOP;
6572: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6573: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
6574: END IF;
6575: -- Error Handling Changes End.
6576: 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 6573: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');

6569: l_plan_id, UNDO, 1,l_return_status);
6570: END IF;
6571: END LOOP;
6572: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
6573: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'Schedule');
6574: END IF;
6575: -- Error Handling Changes End.
6576: IF /*(MSC_ATP_PVT.G_INV_CTP = 4) AND */ (x_atp_table.Action(1) = DEMANDMODIFY OR --3720018, commented for support of rescheduling in ODS
6577: x_atp_table.Action(1) = DEMANDADD OR

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

17013: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
17014: IF (p_atp_record.error_code IS NULL) or (p_atp_record.error_code IN (0,61,150)) THEN
17015: p_atp_record.error_code := ATP_INVALID_OBJECTS;
17016: END IF;
17017: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
17018: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'ATP_Check');
17019: END IF;
17020: RAISE MSC_ATP_PUB.ATP_INVALID_OBJECTS_FOUND;
17021: -- Error Handling Insert End

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

17014: IF (p_atp_record.error_code IS NULL) or (p_atp_record.error_code IN (0,61,150)) THEN
17015: p_atp_record.error_code := ATP_INVALID_OBJECTS;
17016: END IF;
17017: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
17018: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'ATP_Check');
17019: END IF;
17020: RAISE MSC_ATP_PUB.ATP_INVALID_OBJECTS_FOUND;
17021: -- Error Handling Insert End
17022:

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

17060: END IF;
17061: END IF;
17062: END IF;
17063:
17064: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
17065: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'ATP_Check');
17066: END IF;
17067:
17068: IF l_msg_app='MRP' AND l_msg_name='GEN-DATE OUT OF BOUNDS' THEN

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

17061: END IF;
17062: END IF;
17063:
17064: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
17065: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'ATP_Check');
17066: END IF;
17067:
17068: IF l_msg_app='MRP' AND l_msg_name='GEN-DATE OUT OF BOUNDS' THEN
17069: RAISE NO_MATCHING_DATE_IN_CAL;

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

18171: x_atp_table.Error_Code(i) := MSC_ATP_PVT.ATP_PROCESSING_ERROR; -- ATP Processing Error
18172: END IF;
18173: END IF;
18174: END LOOP;
18175: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
18176: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'MSC_ATP_PVT');
18177: END IF;
18178: IF PG_DEBUG in ('Y', 'C') THEN
18179: msc_sch_wb.atp_debug('Call_Schedule: ' || 'error := ' || sqlerrm);

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

18172: END IF;
18173: END IF;
18174: END LOOP;
18175: IF FND_MSG_PUB.Check_Msg_Level(FND_MSG_PUB.G_MSG_LVL_UNEXP_ERROR) THEN
18176: FND_MSG_PUB.Add_Exc_Msg(G_PKG_NAME , 'MSC_ATP_PVT');
18177: END IF;
18178: IF PG_DEBUG in ('Y', 'C') THEN
18179: msc_sch_wb.atp_debug('Call_Schedule: ' || 'error := ' || sqlerrm);
18180: END IF;