DBA Data[Home] [Help]

APPS.MSC_ATP_CTO dependencies on MSC_ATP_PUB

Line 80: MSC_ATP_PUB.G_ATP_CHECK := 'Y';

76: --we do this step when we need to make it
77: --populate_cto_bom(p_session_id, p_dblink);
78: ELSE
79: --- Call from 724. Always enable ATP
80: MSC_ATP_PUB.G_ATP_CHECK := 'Y';
81: END IF;
82:
83: ---now check if non atpable item exist or not
84: IF MSC_ATP_PUB.G_ATP_CHECK = 'N' THEN

Line 84: IF MSC_ATP_PUB.G_ATP_CHECK = 'N' THEN

80: MSC_ATP_PUB.G_ATP_CHECK := 'Y';
81: END IF;
82:
83: ---now check if non atpable item exist or not
84: IF MSC_ATP_PUB.G_ATP_CHECK = 'N' THEN
85: IF PG_DEBUG in ('Y', 'C') THEN
86: msc_sch_wb.atp_debug('***** Check if any ATPAble item exisst or not ****');
87: END IF;
88: select count(*)

Line 104: MSC_ATP_PUB.G_ATP_CHECK := 'Y';

100: msc_sch_wb.atp_debug('***** After check for ATPable item, l_atp_count := ' || l_atp_count );
101: END IF;
102:
103: IF l_atp_count > 0 THEN
104: MSC_ATP_PUB.G_ATP_CHECK := 'Y';
105: END IF;
106:
107:
108: END IF;

Line 115: IF (p_dblink is null and MSC_ATP_PVT.G_CALLING_MODULE <> 724) or MSC_ATP_PUB.G_ATP_CHECK = 'N' THEN

111: --- now we need to populte the data back into atp_rec_type if
112: --- 1. single database setup
113: --- 2. distributed setup and no items are atpable
114:
115: IF (p_dblink is null and MSC_ATP_PVT.G_CALLING_MODULE <> 724) or MSC_ATP_PUB.G_ATP_CHECK = 'N' THEN
116: IF PG_DEBUG in ('Y', 'C') THEN
117: msc_sch_wb.atp_debug('***** db link is null or no itmes are atpable, get the data');
118: END IF;
119:

Line 237: MSC_ATP_PUB.G_ATP_CHECK := 'Y';

233: msc_sch_wb.atp_debug(' ATPable models are present, call cto api for matching');
234: END IF;
235: BEGIN
236: --some atpable model is there. We need to go to destonation. st the atp check flag
237: MSC_ATP_PUB.G_ATP_CHECK := 'Y';
238: --CTO team has asked for this. The need to differentiate between calls from GOP or other modules
239:
240: l_source := 'GOP';
241: --call cto api for matching and other information