DBA Data[Home] [Help]

APPS.MSC_ATP_PUB dependencies on MSC_ATP_CTO

Line 1203: MSC_ATP_CTO.Check_Lines_For_CTO_ATP (l_atp_rec,

1199: MSC_ATP_PVT.G_REFRESH_NUMBER := l_refresh_number;
1200: --e_cto_rearch: 24x7
1201:
1202:
1203: MSC_ATP_CTO.Check_Lines_For_CTO_ATP (l_atp_rec,
1204: p_session_id,
1205: l_a2m_dblink, --bug3049003 changed from G_DB_PROFILE to l_a2m_dblink
1206: --bug 3632914: If instance is not defined then
1207: --pass instance id as -1 so that error while inserting CTO

Line 1311: MSC_ATP_CTO.G_MODEL_IS_PRESENT := 1;

1307: mrp_atp_pvt.assign_atp_input_rec(l_atp_rec,l_end,x_atp_rec,x_return_status);
1308: l_end := l_atp_rec.inventory_item_id.next(l_end);
1309:
1310: IF l_atp_rec.identifier(l_end) = l_atp_rec.ato_model_line_id(l_end) THEN
1311: MSC_ATP_CTO.G_MODEL_IS_PRESENT := 1;
1312: IF PG_DEBUG in ('Y', 'C') THEN
1313: msc_sch_wb.atp_debug('Call_ATP_No_Commit: ' || 'Model is present');
1314: END IF;
1315: END IF;

Line 1320: MSC_ATP_CTO.G_MODEL_IS_PRESENT := 1;

1316: end loop;
1317: mrp_atp_pvt.assign_atp_input_rec(l_atp_rec,l_end,x_atp_rec,x_return_status);
1318:
1319: IF l_atp_rec.identifier(l_end) = l_atp_rec.ato_model_line_id(l_end) THEN
1320: MSC_ATP_CTO.G_MODEL_IS_PRESENT := 1;
1321: IF PG_DEBUG in ('Y', 'C') THEN
1322: msc_sch_wb.atp_debug('Call_ATP_No_Commit: ' || 'Model is present');
1323: END IF;
1324: END IF;

Line 1441: MSC_ATP_CTO.G_MODEL_IS_PRESENT := 1;

1437: -- complete record, that is, there are some elements that are not initialized before.
1438: -- x_atp_rec := l_atp_rec;
1439:
1440: IF l_atp_rec.identifier(j) = l_atp_rec.ato_model_line_id(j) and l_atp_rec.bom_item_type(j) = 1 THEN
1441: MSC_ATP_CTO.G_MODEL_IS_PRESENT := 1;
1442: msc_sch_wb.atp_debug('Call_ATP_No_Commit: ' || 'Model is present');
1443: END IF;
1444: mrp_atp_pvt.assign_atp_input_rec(l_atp_rec,j,x_atp_rec,x_return_status);
1445:

Line 2226: IF MSC_ATP_CTO.G_MODEL_IS_PRESENT = 1 THEN

2222: -- End of change - Bug 2280196
2223:
2224: ---since we update instead of insert, we need to get the updated data as well.
2225: --but we do it only for PDS case where model is present in the request
2226: IF MSC_ATP_CTO.G_MODEL_IS_PRESENT = 1 THEN
2227: MSC_ATP_UTILS.Get_From_Temp_Table(
2228: null,
2229: p_session_id,
2230: x_atp_rec,

Line 2342: IF MSC_ATP_CTO.G_MODEL_IS_PRESENT = 1 THEN

2338: x_msg_count);
2339:
2340: ---since we update instead of insert, we need to get the updated data as well.
2341: --but we do it only for PDS case where model is present in the request
2342: IF MSC_ATP_CTO.G_MODEL_IS_PRESENT = 1 THEN
2343: MSC_ATP_UTILS.Get_From_Temp_Table(
2344: null,
2345: p_session_id,
2346: --x_atp_rec,