DBA Data[Home] [Help]

APPS.MSC_ATP_PUB dependencies on MSC_ATP_CTO

Line 1232: MSC_ATP_CTO.Check_Lines_For_CTO_ATP (l_atp_rec,

1228: MSC_ATP_PVT.G_REFRESH_NUMBER := l_refresh_number;
1229: --e_cto_rearch: 24x7
1230:
1231:
1232: MSC_ATP_CTO.Check_Lines_For_CTO_ATP (l_atp_rec,
1233: p_session_id,
1234: l_a2m_dblink, --bug3049003 changed from G_DB_PROFILE to l_a2m_dblink
1235: --bug 3632914: If instance is not defined then
1236: --pass instance id as -1 so that error while inserting CTO

Line 1340: MSC_ATP_CTO.G_MODEL_IS_PRESENT := 1;

1336: mrp_atp_pvt.assign_atp_input_rec(l_atp_rec,l_end,x_atp_rec,x_return_status);
1337: l_end := l_atp_rec.inventory_item_id.next(l_end);
1338:
1339: IF l_atp_rec.identifier(l_end) = l_atp_rec.ato_model_line_id(l_end) THEN
1340: MSC_ATP_CTO.G_MODEL_IS_PRESENT := 1;
1341: IF PG_DEBUG in ('Y', 'C') THEN
1342: msc_sch_wb.atp_debug('Call_ATP_No_Commit: ' || 'Model is present');
1343: END IF;
1344: END IF;

Line 1349: MSC_ATP_CTO.G_MODEL_IS_PRESENT := 1;

1345: end loop;
1346: mrp_atp_pvt.assign_atp_input_rec(l_atp_rec,l_end,x_atp_rec,x_return_status);
1347:
1348: IF l_atp_rec.identifier(l_end) = l_atp_rec.ato_model_line_id(l_end) THEN
1349: MSC_ATP_CTO.G_MODEL_IS_PRESENT := 1;
1350: IF PG_DEBUG in ('Y', 'C') THEN
1351: msc_sch_wb.atp_debug('Call_ATP_No_Commit: ' || 'Model is present');
1352: END IF;
1353: END IF;

Line 1470: MSC_ATP_CTO.G_MODEL_IS_PRESENT := 1;

1466: -- complete record, that is, there are some elements that are not initialized before.
1467: -- x_atp_rec := l_atp_rec;
1468:
1469: IF l_atp_rec.identifier(j) = l_atp_rec.ato_model_line_id(j) and l_atp_rec.bom_item_type(j) = 1 THEN
1470: MSC_ATP_CTO.G_MODEL_IS_PRESENT := 1;
1471: msc_sch_wb.atp_debug('Call_ATP_No_Commit: ' || 'Model is present');
1472: END IF;
1473: mrp_atp_pvt.assign_atp_input_rec(l_atp_rec,j,x_atp_rec,x_return_status);
1474:

Line 2255: IF MSC_ATP_CTO.G_MODEL_IS_PRESENT = 1 THEN

2251: -- End of change - Bug 2280196
2252:
2253: ---since we update instead of insert, we need to get the updated data as well.
2254: --but we do it only for PDS case where model is present in the request
2255: IF MSC_ATP_CTO.G_MODEL_IS_PRESENT = 1 THEN
2256: MSC_ATP_UTILS.Get_From_Temp_Table(
2257: null,
2258: p_session_id,
2259: x_atp_rec,

Line 2371: IF MSC_ATP_CTO.G_MODEL_IS_PRESENT = 1 THEN

2367: x_msg_count);
2368:
2369: ---since we update instead of insert, we need to get the updated data as well.
2370: --but we do it only for PDS case where model is present in the request
2371: IF MSC_ATP_CTO.G_MODEL_IS_PRESENT = 1 THEN
2372: MSC_ATP_UTILS.Get_From_Temp_Table(
2373: null,
2374: p_session_id,
2375: --x_atp_rec,