DBA Data[Home] [Help]

APPS.MSC_ATP_CTO dependencies on MSC_ATP_PUB

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

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

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

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

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

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

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

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

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

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