DBA Data[Home] [Help]

APPS.OE_ORDER_PUB dependencies on MO_GLOBAL

Line 237: MO_GLOBAL.validate_orgid_pub_api(org_id=>l_org_id , status=>l_return_status);

233: if l_debug_level > 0 then
234: oe_debug_pub.add('Entering set_context');
235: oe_debug_pub.add('Org_id is '||nvl(p_org_id,-1));
236: end if;
237: MO_GLOBAL.validate_orgid_pub_api(org_id=>l_org_id , status=>l_return_status);
238: if l_debug_level > 0 then
239: oe_debug_pub.add('After call to mo_global.validate_orgid_pub_api Org_id'||l_org_id|| 'Return status'||nvl(l_return_status,'?'));
240: end if;
241: --If return status is O then we need not do anythinf (backward compatibility)

Line 239: oe_debug_pub.add('After call to mo_global.validate_orgid_pub_api Org_id'||l_org_id|| 'Return status'||nvl(l_return_status,'?'));

235: oe_debug_pub.add('Org_id is '||nvl(p_org_id,-1));
236: end if;
237: MO_GLOBAL.validate_orgid_pub_api(org_id=>l_org_id , status=>l_return_status);
238: if l_debug_level > 0 then
239: oe_debug_pub.add('After call to mo_global.validate_orgid_pub_api Org_id'||l_org_id|| 'Return status'||nvl(l_return_status,'?'));
240: end if;
241: --If return status is O then we need not do anythinf (backward compatibility)
242: --If return status is F then raise error
243: --If return status is S (in case org_id was passed to process order API) then set context to the passed org_id

Line 246: --Status C means current_org_id and D means default org_id ,even if mo_global returns C we will get default org_id

242: --If return status is F then raise error
243: --If return status is S (in case org_id was passed to process order API) then set context to the passed org_id
244: --If return status is C/D ( in case org_id was not passed to process order API) then check for default org_id
245: -- and if this is null raise error else set context to the default org_id .
246: --Status C means current_org_id and D means default org_id ,even if mo_global returns C we will get default org_id
247: if l_return_status ='O' then
248: null;
249: elsif l_return_status='F' then
250: raise FND_API.G_EXC_ERROR;

Line 252: If p_org_id is null then -- In this case we will look at org_id passed to process order API and not that which is returned by mo_global.validate_pub_api

248: null;
249: elsif l_return_status='F' then
250: raise FND_API.G_EXC_ERROR;
251: else
252: If p_org_id is null then -- In this case we will look at org_id passed to process order API and not that which is returned by mo_global.validate_pub_api
253: if l_debug_level > 0 then
254: oe_debug_pub.add('Before call to mo_utils.get_default_orgid');
255: end if;
256: l_org_id :=mo_utils.get_default_org_id ;

Line 264: MO_GLOBAL.set_policy_context('S',l_org_id);

260: if l_org_id is null then
261: raise FND_API.G_EXC_ERROR;
262: end if;
263: end if;
264: MO_GLOBAL.set_policy_context('S',l_org_id);
265: OE_GLOBALS.Set_Context();
266: end if;
267: end ;
268:

Line 2456: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api

2452: ELSE
2453: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
2454: -- call value_to_id to get org_id
2455: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
2456: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
2457: /*
2458: ELSE
2459: -- Both p_org_id and p_operating_unit are not passed in.
2460: l_org_id := MO_UTILS.get_default_org_id ;

Line 2466: -- call new API : MO_GLOBAL.validate_orgid_pub_api

2462: END IF;
2463: END IF;
2464:
2465: -- Validate Org_Id
2466: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2467: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2468: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2469: -- without adding code to call MO_GLOBAL.init
2470: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures

Line 2467: -- Instead of calling old function - MO_GLOBAL.check_valid_org

2463: END IF;
2464:
2465: -- Validate Org_Id
2466: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2467: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2468: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2469: -- without adding code to call MO_GLOBAL.init
2470: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures
2471: /* MO_GLOBAL.validate_orgid_pub_api

Line 2468: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

2464:
2465: -- Validate Org_Id
2466: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2467: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2468: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2469: -- without adding code to call MO_GLOBAL.init
2470: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures
2471: /* MO_GLOBAL.validate_orgid_pub_api
2472: ( ORG_ID => l_org_id

Line 2469: -- without adding code to call MO_GLOBAL.init

2465: -- Validate Org_Id
2466: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2467: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2468: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2469: -- without adding code to call MO_GLOBAL.init
2470: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures
2471: /* MO_GLOBAL.validate_orgid_pub_api
2472: ( ORG_ID => l_org_id
2473: , Status => l_return_status

Line 2470: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures

2466: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2467: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2468: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2469: -- without adding code to call MO_GLOBAL.init
2470: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures
2471: /* MO_GLOBAL.validate_orgid_pub_api
2472: ( ORG_ID => l_org_id
2473: , Status => l_return_status
2474: ) ;*/

Line 2471: /* MO_GLOBAL.validate_orgid_pub_api

2467: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2468: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2469: -- without adding code to call MO_GLOBAL.init
2470: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures
2471: /* MO_GLOBAL.validate_orgid_pub_api
2472: ( ORG_ID => l_org_id
2473: , Status => l_return_status
2474: ) ;*/
2475: /* IF(l_return_status ='F') THEN

Line 2486: -- MO_GLOBAL.set_policy_context('S',l_org_id);

2482: -- Call MO set_policy_context to set application context by sending
2483: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
2484: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
2485: --
2486: -- MO_GLOBAL.set_policy_context('S',l_org_id);
2487: -- OE_GLOBALS.Set_Context();
2488: --Moved the logic to set context to new procedure set_context
2489: set_context(p_org_id =>l_org_id);
2490: -- From now on, we are in single access mode.

Line 2636: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api

2632: ELSE
2633: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
2634: -- call value_to_id to get org_id
2635: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
2636: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
2637: /*
2638: ELSE
2639: -- Both p_org_id and p_operating_unit are not passed in.
2640: l_org_id := MO_UTILS.get_default_org_id ;

Line 2646: -- call new API : MO_GLOBAL.validate_orgid_pub_api

2642: END IF;
2643: END IF;
2644:
2645: -- Validate Org_Id
2646: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2647: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2648: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2649: -- without adding code to call MO_GLOBAL.init
2650:

Line 2647: -- Instead of calling old function - MO_GLOBAL.check_valid_org

2643: END IF;
2644:
2645: -- Validate Org_Id
2646: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2647: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2648: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2649: -- without adding code to call MO_GLOBAL.init
2650:
2651: /* MO_GLOBAL.validate_orgid_pub_api

Line 2648: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

2644:
2645: -- Validate Org_Id
2646: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2647: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2648: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2649: -- without adding code to call MO_GLOBAL.init
2650:
2651: /* MO_GLOBAL.validate_orgid_pub_api
2652: ( ORG_ID => l_org_id

Line 2649: -- without adding code to call MO_GLOBAL.init

2645: -- Validate Org_Id
2646: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2647: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2648: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2649: -- without adding code to call MO_GLOBAL.init
2650:
2651: /* MO_GLOBAL.validate_orgid_pub_api
2652: ( ORG_ID => l_org_id
2653: , Status => l_return_status

Line 2651: /* MO_GLOBAL.validate_orgid_pub_api

2647: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2648: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2649: -- without adding code to call MO_GLOBAL.init
2650:
2651: /* MO_GLOBAL.validate_orgid_pub_api
2652: ( ORG_ID => l_org_id
2653: , Status => l_return_status
2654: ) ;*/
2655: /* IF(l_return_status ='F') THEN

Line 2666: --MO_GLOBAL.set_policy_context('S',l_org_id);

2662: -- Call MO set_policy_context to set application context by sending
2663: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
2664: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
2665: --
2666: --MO_GLOBAL.set_policy_context('S',l_org_id);
2667: --OE_GLOBALS.Set_Context();
2668: --Moved the logic to set context to new procedure set_context
2669: set_context(p_org_id =>l_org_id);
2670:

Line 2819: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api

2815: ELSE
2816: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
2817: -- call value_to_id to get org_id
2818: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
2819: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
2820: /*
2821: ELSE
2822: -- Both p_org_id and p_operating_unit are not passed in.
2823: l_org_id := MO_UTILS.get_default_org_id ;

Line 2829: -- call new API : MO_GLOBAL.validate_orgid_pub_api

2825: END IF;
2826: END IF;
2827:
2828: -- Validate Org_Id
2829: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2830: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2831: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2832: -- without adding code to call MO_GLOBAL.init
2833:

Line 2830: -- Instead of calling old function - MO_GLOBAL.check_valid_org

2826: END IF;
2827:
2828: -- Validate Org_Id
2829: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2830: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2831: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2832: -- without adding code to call MO_GLOBAL.init
2833:
2834: /*MO_GLOBAL.validate_orgid_pub_api

Line 2831: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

2827:
2828: -- Validate Org_Id
2829: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2830: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2831: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2832: -- without adding code to call MO_GLOBAL.init
2833:
2834: /*MO_GLOBAL.validate_orgid_pub_api
2835: ( ORG_ID => l_org_id

Line 2832: -- without adding code to call MO_GLOBAL.init

2828: -- Validate Org_Id
2829: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2830: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2831: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2832: -- without adding code to call MO_GLOBAL.init
2833:
2834: /*MO_GLOBAL.validate_orgid_pub_api
2835: ( ORG_ID => l_org_id
2836: , Status => l_return_status

Line 2834: /*MO_GLOBAL.validate_orgid_pub_api

2830: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2831: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2832: -- without adding code to call MO_GLOBAL.init
2833:
2834: /*MO_GLOBAL.validate_orgid_pub_api
2835: ( ORG_ID => l_org_id
2836: , Status => l_return_status
2837: ) ;*/
2838: /*IF(l_return_status ='F') THEN

Line 2849: --MO_GLOBAL.set_policy_context('S',l_org_id);

2845: -- Call MO set_policy_context to set application context by sending
2846: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
2847: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
2848: --
2849: --MO_GLOBAL.set_policy_context('S',l_org_id);
2850: --OE_GLOBALS.Set_Context();
2851: --Moved the logic to set context to new procedure set_context
2852: set_context(p_org_id =>l_org_id);
2853:

Line 3006: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api

3002: ELSE
3003: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
3004: -- call value_to_id to get org_id
3005: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
3006: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
3007: /*
3008: ELSE
3009: -- Both p_org_id and p_operating_unit are not passed in.
3010: l_org_id := MO_UTILS.get_default_org_id ;

Line 3016: -- call new API : MO_GLOBAL.validate_orgid_pub_api

3012: END IF;
3013: END IF;
3014:
3015: -- Validate Org_Id
3016: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3017: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3018: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3019: -- without adding code to call MO_GLOBAL.init
3020:

Line 3017: -- Instead of calling old function - MO_GLOBAL.check_valid_org

3013: END IF;
3014:
3015: -- Validate Org_Id
3016: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3017: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3018: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3019: -- without adding code to call MO_GLOBAL.init
3020:
3021: /* MO_GLOBAL.validate_orgid_pub_api

Line 3018: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

3014:
3015: -- Validate Org_Id
3016: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3017: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3018: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3019: -- without adding code to call MO_GLOBAL.init
3020:
3021: /* MO_GLOBAL.validate_orgid_pub_api
3022: ( ORG_ID => l_org_id

Line 3019: -- without adding code to call MO_GLOBAL.init

3015: -- Validate Org_Id
3016: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3017: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3018: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3019: -- without adding code to call MO_GLOBAL.init
3020:
3021: /* MO_GLOBAL.validate_orgid_pub_api
3022: ( ORG_ID => l_org_id
3023: , Status => l_return_status

Line 3021: /* MO_GLOBAL.validate_orgid_pub_api

3017: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3018: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3019: -- without adding code to call MO_GLOBAL.init
3020:
3021: /* MO_GLOBAL.validate_orgid_pub_api
3022: ( ORG_ID => l_org_id
3023: , Status => l_return_status
3024: ) ;*/
3025: /* IF(l_return_status ='F') THEN

Line 3036: --MO_GLOBAL.set_policy_context('S',l_org_id);

3032: -- Call MO set_policy_context to set application context by sending
3033: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3034: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3035: --
3036: --MO_GLOBAL.set_policy_context('S',l_org_id);
3037: --OE_GLOBALS.Set_Context();
3038: --Moved the logic to set context to new procedure set_context
3039: set_context(p_org_id =>l_org_id);
3040:

Line 3198: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api

3194: ELSE
3195: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
3196: -- call value_to_id to get org_id
3197: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
3198: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
3199: /*
3200: ELSE
3201: -- Both p_org_id and p_operating_unit are not passed in.
3202: l_org_id := MO_UTILS.get_default_org_id ;

Line 3208: -- call new API : MO_GLOBAL.validate_orgid_pub_api

3204: END IF;
3205: END IF;
3206:
3207: -- Validate Org_Id
3208: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3209: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3210: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3211: -- without adding code to call MO_GLOBAL.init
3212:

Line 3209: -- Instead of calling old function - MO_GLOBAL.check_valid_org

3205: END IF;
3206:
3207: -- Validate Org_Id
3208: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3209: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3210: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3211: -- without adding code to call MO_GLOBAL.init
3212:
3213: /*MO_GLOBAL.validate_orgid_pub_api

Line 3210: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

3206:
3207: -- Validate Org_Id
3208: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3209: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3210: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3211: -- without adding code to call MO_GLOBAL.init
3212:
3213: /*MO_GLOBAL.validate_orgid_pub_api
3214: ( ORG_ID => l_org_id

Line 3211: -- without adding code to call MO_GLOBAL.init

3207: -- Validate Org_Id
3208: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3209: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3210: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3211: -- without adding code to call MO_GLOBAL.init
3212:
3213: /*MO_GLOBAL.validate_orgid_pub_api
3214: ( ORG_ID => l_org_id
3215: , Status => l_return_status

Line 3213: /*MO_GLOBAL.validate_orgid_pub_api

3209: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3210: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3211: -- without adding code to call MO_GLOBAL.init
3212:
3213: /*MO_GLOBAL.validate_orgid_pub_api
3214: ( ORG_ID => l_org_id
3215: , Status => l_return_status
3216: ) ;*/
3217: /*IF(l_return_status ='F') THEN

Line 3228: --MO_GLOBAL.set_policy_context('S',l_org_id);

3224: -- Call MO set_policy_context to set application context by sending
3225: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3226: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3227: --
3228: --MO_GLOBAL.set_policy_context('S',l_org_id);
3229: --OE_GLOBALS.Set_Context();
3230: --Moved the logic to set context to new procedure set_context
3231: set_context(p_org_id =>l_org_id);
3232:

Line 3398: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api

3394: ELSE
3395: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
3396: -- call value_to_id to get org_id
3397: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
3398: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
3399: /*
3400: ELSE
3401: -- Both p_org_id and p_operating_unit are not passed in.
3402: l_org_id := MO_UTILS.get_default_org_id ;

Line 3408: -- call new API : MO_GLOBAL.validate_orgid_pub_api

3404: END IF;
3405: END IF;
3406:
3407: -- Validate Org_Id
3408: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3409: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3410: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3411: -- without adding code to call MO_GLOBAL.init
3412:

Line 3409: -- Instead of calling old function - MO_GLOBAL.check_valid_org

3405: END IF;
3406:
3407: -- Validate Org_Id
3408: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3409: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3410: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3411: -- without adding code to call MO_GLOBAL.init
3412:
3413: /*MO_GLOBAL.validate_orgid_pub_api

Line 3410: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

3406:
3407: -- Validate Org_Id
3408: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3409: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3410: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3411: -- without adding code to call MO_GLOBAL.init
3412:
3413: /*MO_GLOBAL.validate_orgid_pub_api
3414: ( ORG_ID => l_org_id

Line 3411: -- without adding code to call MO_GLOBAL.init

3407: -- Validate Org_Id
3408: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3409: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3410: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3411: -- without adding code to call MO_GLOBAL.init
3412:
3413: /*MO_GLOBAL.validate_orgid_pub_api
3414: ( ORG_ID => l_org_id
3415: , Status => l_return_status

Line 3413: /*MO_GLOBAL.validate_orgid_pub_api

3409: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3410: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3411: -- without adding code to call MO_GLOBAL.init
3412:
3413: /*MO_GLOBAL.validate_orgid_pub_api
3414: ( ORG_ID => l_org_id
3415: , Status => l_return_status
3416: ) ;*/
3417: /*IF(l_return_status ='F') THEN

Line 3428: --MO_GLOBAL.set_policy_context('S',l_org_id);

3424: -- Call MO set_policy_context to set application context by sending
3425: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3426: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3427: --
3428: --MO_GLOBAL.set_policy_context('S',l_org_id);
3429: --OE_GLOBALS.Set_Context();
3430: --Moved the logic to set context to new procedure set_context
3431: set_context(p_org_id =>l_org_id);
3432:

Line 3760: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api

3756: ELSE
3757: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
3758: -- call value_to_id to get org_id
3759: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
3760: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
3761: /*
3762: ELSE
3763: -- Both p_org_id and p_operating_unit are not passed in.
3764: l_org_id := MO_UTILS.get_default_org_id ;

Line 3770: -- call new API : MO_GLOBAL.validate_orgid_pub_api

3766: END IF;
3767: END IF;
3768:
3769: -- Validate Org_Id
3770: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3771: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3772: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3773: -- without adding code to call MO_GLOBAL.init
3774:

Line 3771: -- Instead of calling old function - MO_GLOBAL.check_valid_org

3767: END IF;
3768:
3769: -- Validate Org_Id
3770: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3771: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3772: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3773: -- without adding code to call MO_GLOBAL.init
3774:
3775: /* MO_GLOBAL.validate_orgid_pub_api

Line 3772: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

3768:
3769: -- Validate Org_Id
3770: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3771: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3772: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3773: -- without adding code to call MO_GLOBAL.init
3774:
3775: /* MO_GLOBAL.validate_orgid_pub_api
3776: ( ORG_ID => l_org_id

Line 3773: -- without adding code to call MO_GLOBAL.init

3769: -- Validate Org_Id
3770: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3771: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3772: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3773: -- without adding code to call MO_GLOBAL.init
3774:
3775: /* MO_GLOBAL.validate_orgid_pub_api
3776: ( ORG_ID => l_org_id
3777: , Status => l_return_status

Line 3775: /* MO_GLOBAL.validate_orgid_pub_api

3771: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3772: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3773: -- without adding code to call MO_GLOBAL.init
3774:
3775: /* MO_GLOBAL.validate_orgid_pub_api
3776: ( ORG_ID => l_org_id
3777: , Status => l_return_status
3778: ) ;*/
3779: /*IF(l_return_status ='F') THEN

Line 3790: --MO_GLOBAL.set_policy_context('S',l_org_id);

3786: -- Call MO set_policy_context to set application context by sending
3787: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3788: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3789: --
3790: --MO_GLOBAL.set_policy_context('S',l_org_id);
3791: --OE_GLOBALS.Set_Context();
3792: --Moved the logic to set context to new procedure set_context
3793: set_context(p_org_id =>l_org_id);
3794:

Line 4212: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api

4208: ELSE
4209: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
4210: -- call value_to_id to get org_id
4211: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
4212: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
4213: /*
4214: ELSE
4215: -- Both p_org_id and p_operating_unit are not passed in.
4216: l_org_id := MO_UTILS.get_default_org_id ;

Line 4222: -- call new API : MO_GLOBAL.validate_orgid_pub_api

4218: END IF;
4219: END IF;
4220:
4221: -- Validate Org_Id
4222: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4223: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4224: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4225: -- without adding code to call MO_GLOBAL.init
4226:

Line 4223: -- Instead of calling old function - MO_GLOBAL.check_valid_org

4219: END IF;
4220:
4221: -- Validate Org_Id
4222: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4223: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4224: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4225: -- without adding code to call MO_GLOBAL.init
4226:
4227: /* MO_GLOBAL.validate_orgid_pub_api

Line 4224: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

4220:
4221: -- Validate Org_Id
4222: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4223: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4224: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4225: -- without adding code to call MO_GLOBAL.init
4226:
4227: /* MO_GLOBAL.validate_orgid_pub_api
4228: ( ORG_ID => l_org_id

Line 4225: -- without adding code to call MO_GLOBAL.init

4221: -- Validate Org_Id
4222: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4223: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4224: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4225: -- without adding code to call MO_GLOBAL.init
4226:
4227: /* MO_GLOBAL.validate_orgid_pub_api
4228: ( ORG_ID => l_org_id
4229: , Status => l_return_status

Line 4227: /* MO_GLOBAL.validate_orgid_pub_api

4223: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4224: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4225: -- without adding code to call MO_GLOBAL.init
4226:
4227: /* MO_GLOBAL.validate_orgid_pub_api
4228: ( ORG_ID => l_org_id
4229: , Status => l_return_status
4230: ) ;*/
4231: /*IF(l_return_status ='F') THEN

Line 4242: --MO_GLOBAL.set_policy_context('S',l_org_id);

4238: -- Call MO set_policy_context to set application context by sending
4239: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4240: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4241: --
4242: --MO_GLOBAL.set_policy_context('S',l_org_id);
4243: --OE_GLOBALS.Set_Context();
4244: --Moved the logic to set context to new procedure set_context
4245: set_context(p_org_id =>l_org_id);
4246:

Line 4491: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api

4487: ELSE
4488: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
4489: -- call value_to_id to get org_id
4490: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
4491: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
4492: /*
4493: ELSE
4494: -- Both p_org_id and p_operating_unit are not passed in.
4495: l_org_id := MO_UTILS.get_default_org_id ;

Line 4501: -- call new API : MO_GLOBAL.validate_orgid_pub_api

4497: END IF;
4498: END IF;
4499:
4500: -- Validate Org_Id
4501: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4502: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4503: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4504: -- without adding code to call MO_GLOBAL.init
4505:

Line 4502: -- Instead of calling old function - MO_GLOBAL.check_valid_org

4498: END IF;
4499:
4500: -- Validate Org_Id
4501: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4502: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4503: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4504: -- without adding code to call MO_GLOBAL.init
4505:
4506: /* MO_GLOBAL.validate_orgid_pub_api

Line 4503: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

4499:
4500: -- Validate Org_Id
4501: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4502: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4503: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4504: -- without adding code to call MO_GLOBAL.init
4505:
4506: /* MO_GLOBAL.validate_orgid_pub_api
4507: ( ORG_ID => l_org_id

Line 4504: -- without adding code to call MO_GLOBAL.init

4500: -- Validate Org_Id
4501: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4502: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4503: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4504: -- without adding code to call MO_GLOBAL.init
4505:
4506: /* MO_GLOBAL.validate_orgid_pub_api
4507: ( ORG_ID => l_org_id
4508: , Status => l_return_status

Line 4506: /* MO_GLOBAL.validate_orgid_pub_api

4502: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4503: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4504: -- without adding code to call MO_GLOBAL.init
4505:
4506: /* MO_GLOBAL.validate_orgid_pub_api
4507: ( ORG_ID => l_org_id
4508: , Status => l_return_status
4509: ) ;*/
4510: /*IF(l_return_status ='F') THEN

Line 4521: --MO_GLOBAL.set_policy_context('S',l_org_id);

4517: -- Call MO set_policy_context to set application context by sending
4518: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4519: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4520: --
4521: --MO_GLOBAL.set_policy_context('S',l_org_id);
4522: --OE_GLOBALS.Set_Context();
4523: --Moved the logic to set context to new procedure set_context
4524: set_context(p_org_id =>l_org_id);
4525:

Line 4744: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api

4740: ELSE
4741: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
4742: -- call value_to_id to get org_id
4743: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
4744: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
4745:
4746: ELSE
4747: -- Both p_org_id and p_operating_unit are not passed in.
4748: -- This is required since this procedure is called from process order

Line 4750: l_org_id := MO_GLOBAL.get_current_org_id;

4746: ELSE
4747: -- Both p_org_id and p_operating_unit are not passed in.
4748: -- This is required since this procedure is called from process order
4749: -- The mo init is already run and the org id is not passed
4750: l_org_id := MO_GLOBAL.get_current_org_id;
4751:
4752: END IF;
4753: END IF;
4754:

Line 4756: -- call new API : MO_GLOBAL.validate_orgid_pub_api

4752: END IF;
4753: END IF;
4754:
4755: -- Validate Org_Id
4756: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4757: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4758: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4759: -- without adding code to call MO_GLOBAL.init
4760:

Line 4757: -- Instead of calling old function - MO_GLOBAL.check_valid_org

4753: END IF;
4754:
4755: -- Validate Org_Id
4756: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4757: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4758: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4759: -- without adding code to call MO_GLOBAL.init
4760:
4761: /* MO_GLOBAL.validate_orgid_pub_api

Line 4758: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

4754:
4755: -- Validate Org_Id
4756: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4757: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4758: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4759: -- without adding code to call MO_GLOBAL.init
4760:
4761: /* MO_GLOBAL.validate_orgid_pub_api
4762: ( ORG_ID => l_org_id

Line 4759: -- without adding code to call MO_GLOBAL.init

4755: -- Validate Org_Id
4756: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4757: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4758: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4759: -- without adding code to call MO_GLOBAL.init
4760:
4761: /* MO_GLOBAL.validate_orgid_pub_api
4762: ( ORG_ID => l_org_id
4763: , Status => l_return_status

Line 4761: /* MO_GLOBAL.validate_orgid_pub_api

4757: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4758: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4759: -- without adding code to call MO_GLOBAL.init
4760:
4761: /* MO_GLOBAL.validate_orgid_pub_api
4762: ( ORG_ID => l_org_id
4763: , Status => l_return_status
4764: ) ;*/
4765: /*IF(l_return_status ='F') THEN

Line 4776: --MO_GLOBAL.set_policy_context('S',l_org_id);

4772: -- Call MO set_policy_context to set application context by sending
4773: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4774: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4775: --
4776: --MO_GLOBAL.set_policy_context('S',l_org_id);
4777: --OE_GLOBALS.Set_Context();
4778: --Moved the logic to set context to new procedure set_context
4779: set_context(p_org_id =>l_org_id);
4780:

Line 4892: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api

4888: ELSE
4889: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
4890: -- call value_to_id to get org_id
4891: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
4892: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
4893:
4894: ELSE
4895: -- Both p_org_id and p_operating_unit are not passed in.
4896: --this is required since some APIs such as process order will

Line 4898: l_org_id := MO_GLOBAL.get_current_org_id;

4894: ELSE
4895: -- Both p_org_id and p_operating_unit are not passed in.
4896: --this is required since some APIs such as process order will
4897: -- set the org already so no need to pass org id agai
4898: l_org_id := MO_GLOBAL.get_current_org_id;
4899:
4900: END IF;
4901: END IF;
4902:

Line 4904: -- call new API : MO_GLOBAL.validate_orgid_pub_api

4900: END IF;
4901: END IF;
4902:
4903: -- Validate Org_Id
4904: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4905: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4906: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4907: -- without adding code to call MO_GLOBAL.init
4908:

Line 4905: -- Instead of calling old function - MO_GLOBAL.check_valid_org

4901: END IF;
4902:
4903: -- Validate Org_Id
4904: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4905: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4906: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4907: -- without adding code to call MO_GLOBAL.init
4908:
4909: /*MO_GLOBAL.validate_orgid_pub_api

Line 4906: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

4902:
4903: -- Validate Org_Id
4904: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4905: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4906: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4907: -- without adding code to call MO_GLOBAL.init
4908:
4909: /*MO_GLOBAL.validate_orgid_pub_api
4910: ( ORG_ID => l_org_id

Line 4907: -- without adding code to call MO_GLOBAL.init

4903: -- Validate Org_Id
4904: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4905: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4906: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4907: -- without adding code to call MO_GLOBAL.init
4908:
4909: /*MO_GLOBAL.validate_orgid_pub_api
4910: ( ORG_ID => l_org_id
4911: , Status => l_return_status

Line 4909: /*MO_GLOBAL.validate_orgid_pub_api

4905: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4906: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4907: -- without adding code to call MO_GLOBAL.init
4908:
4909: /*MO_GLOBAL.validate_orgid_pub_api
4910: ( ORG_ID => l_org_id
4911: , Status => l_return_status
4912: ) ;*/
4913: /*IF(l_return_status ='F') THEN

Line 4924: --MO_GLOBAL.set_policy_context('S',l_org_id);

4920: -- Call MO set_policy_context to set application context by sending
4921: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4922: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4923: --
4924: --MO_GLOBAL.set_policy_context('S',l_org_id);
4925: --OE_GLOBALS.Set_Context();
4926: --Moved the logic to set context to new procedure set_context
4927: set_context(p_org_id =>l_org_id);
4928:

Line 5038: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api

5034: ELSE
5035: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
5036: -- call value_to_id to get org_id
5037: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
5038: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
5039: /*
5040: ELSE
5041: -- Both p_org_id and p_operating_unit are not passed in.
5042: l_org_id := MO_UTILS.get_default_org_id ;

Line 5048: -- call new API : MO_GLOBAL.validate_orgid_pub_api

5044: END IF;
5045: END IF;
5046:
5047: -- Validate Org_Id
5048: -- call new API : MO_GLOBAL.validate_orgid_pub_api
5049: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5050: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5051: -- without adding code to call MO_GLOBAL.init
5052:

Line 5049: -- Instead of calling old function - MO_GLOBAL.check_valid_org

5045: END IF;
5046:
5047: -- Validate Org_Id
5048: -- call new API : MO_GLOBAL.validate_orgid_pub_api
5049: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5050: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5051: -- without adding code to call MO_GLOBAL.init
5052:
5053: /*MO_GLOBAL.validate_orgid_pub_api

Line 5050: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

5046:
5047: -- Validate Org_Id
5048: -- call new API : MO_GLOBAL.validate_orgid_pub_api
5049: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5050: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5051: -- without adding code to call MO_GLOBAL.init
5052:
5053: /*MO_GLOBAL.validate_orgid_pub_api
5054: ( ORG_ID => l_org_id

Line 5051: -- without adding code to call MO_GLOBAL.init

5047: -- Validate Org_Id
5048: -- call new API : MO_GLOBAL.validate_orgid_pub_api
5049: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5050: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5051: -- without adding code to call MO_GLOBAL.init
5052:
5053: /*MO_GLOBAL.validate_orgid_pub_api
5054: ( ORG_ID => l_org_id
5055: , Status => l_return_status

Line 5053: /*MO_GLOBAL.validate_orgid_pub_api

5049: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5050: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5051: -- without adding code to call MO_GLOBAL.init
5052:
5053: /*MO_GLOBAL.validate_orgid_pub_api
5054: ( ORG_ID => l_org_id
5055: , Status => l_return_status
5056: ) ;*/
5057: /*IF(l_return_status ='F') THEN

Line 5068: --MO_GLOBAL.set_policy_context('S',l_org_id);

5064: -- Call MO set_policy_context to set application context by sending
5065: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
5066: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
5067: --
5068: --MO_GLOBAL.set_policy_context('S',l_org_id);
5069: --OE_GLOBALS.Set_Context();
5070: --Moved the logic to set context to new procedure set_context
5071: set_context(p_org_id =>l_org_id);
5072: