DBA Data[Home] [Help]

APPS.OE_CONFIG_TSO_GRP dependencies on MO_GLOBAL

Line 122: l_current_access_mode := mo_global.Get_access_mode(); -- MOAC

118: -- Check if org context has been set before doing any process
119: -- Set the context if not already or if the org on the line_id is different
120: -- than the org previously set.
121:
122: l_current_access_mode := mo_global.Get_access_mode(); -- MOAC
123: l_current_org_id := mo_global.get_current_org_id();
124:
125: BEGIN
126:

Line 123: l_current_org_id := mo_global.get_current_org_id();

119: -- Set the context if not already or if the org on the line_id is different
120: -- than the org previously set.
121:
122: l_current_access_mode := mo_global.Get_access_mode(); -- MOAC
123: l_current_org_id := mo_global.get_current_org_id();
124:
125: BEGIN
126:
127:

Line 149: Mo_Global.Set_Policy_Context (p_access_mode => 'S', p_org_id => l_org_id);

145: END IF;
146:
147:
148: IF nvl(l_current_org_id,-99) <> l_org_id THEN
149: Mo_Global.Set_Policy_Context (p_access_mode => 'S', p_org_id => l_org_id);
150: l_reset_policy := TRUE;
151: END IF;
152:
153:

Line 190: Mo_Global.Set_Policy_Context (p_access_mode => l_current_access_mode, p_org_id => l_current_org_id);

186: OE_DEBUG_PUB.Add('Config Mode:'||x_config_mode,2);
187: END IF;
188:
189: IF l_reset_policy THEN -- MOAC
190: Mo_Global.Set_Policy_Context (p_access_mode => l_current_access_mode, p_org_id => l_current_org_id);
191: END IF;
192: Print_Time ('Exiting OE_CONFIG_TSO_GRP.Get_MACD_Action_Mode..');
193:
194: EXCEPTION

Line 199: Mo_Global.Set_Policy_Context (p_access_mode => l_current_access_mode, p_org_id => l_current_org_id);

195:
196: WHEN FND_API.G_EXC_ERROR THEN
197:
198: IF l_reset_policy THEN -- MOAC
199: Mo_Global.Set_Policy_Context (p_access_mode => l_current_access_mode, p_org_id => l_current_org_id);
200: END IF;
201: x_return_status := FND_API.G_RET_STS_ERROR;
202: x_config_mode := NULL;
203: IF l_debug_level > 0 THEN

Line 211: Mo_Global.Set_Policy_Context (p_access_mode => l_current_access_mode, p_org_id => l_current_org_id);

207:
208:
209: WHEN OTHERS THEN
210: IF l_reset_policy THEN -- MOAC
211: Mo_Global.Set_Policy_Context (p_access_mode => l_current_access_mode, p_org_id => l_current_org_id);
212: END IF;
213: x_config_mode := NULL;
214: x_return_status := FND_API.G_RET_STS_UNEXP_ERROR;
215: IF l_debug_level > 0 THEN

Line 256: l_org_id := MO_GLOBAL.get_current_org_id;

252: -- Check if org context has been set before doing any process
253: -- If there is no org context set, we stop calling group process order API
254: -- and raise an error though we don't do any validation for the org_id.
255:
256: l_org_id := MO_GLOBAL.get_current_org_id;
257: IF (l_org_id IS NULL OR l_org_id = FND_API.G_MISS_NUM) THEN
258:
259: IF l_debug_level > 0 THEN
260: OE_DEBUG_PUB.Add('Null org id',3);