DBA Data[Home] [Help]

APPS.OE_ORDER_PUB dependencies on MO_GLOBAL

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

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

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

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

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

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

Line 256: 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

252: null;
253: elsif l_return_status='F' then
254: raise FND_API.G_EXC_ERROR;
255: else
256: 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
257: if l_debug_level > 0 then
258: oe_debug_pub.add('Before call to mo_utils.get_default_orgid');
259: end if;
260: l_org_id :=mo_utils.get_default_org_id ;

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

264: if l_org_id is null then
265: raise FND_API.G_EXC_ERROR;
266: end if;
267: end if;
268: MO_GLOBAL.set_policy_context('S',l_org_id);
269: OE_GLOBALS.Set_Context();
270: end if;
271: end ;
272:

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

2574: ELSE
2575: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
2576: -- call value_to_id to get org_id
2577: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
2578: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
2579: /*
2580: ELSE
2581: -- Both p_org_id and p_operating_unit are not passed in.
2582: l_org_id := MO_UTILS.get_default_org_id ;

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

2584: END IF;
2585: END IF;
2586:
2587: -- Validate Org_Id
2588: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2589: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2590: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2591: -- without adding code to call MO_GLOBAL.init
2592: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures

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

2585: END IF;
2586:
2587: -- Validate Org_Id
2588: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2589: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2590: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2591: -- without adding code to call MO_GLOBAL.init
2592: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures
2593: /* MO_GLOBAL.validate_orgid_pub_api

Line 2590: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

2586:
2587: -- Validate Org_Id
2588: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2589: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2590: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2591: -- without adding code to call MO_GLOBAL.init
2592: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures
2593: /* MO_GLOBAL.validate_orgid_pub_api
2594: ( ORG_ID => l_org_id

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

2587: -- Validate Org_Id
2588: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2589: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2590: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2591: -- without adding code to call MO_GLOBAL.init
2592: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures
2593: /* MO_GLOBAL.validate_orgid_pub_api
2594: ( ORG_ID => l_org_id
2595: , Status => l_return_status

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

2588: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2589: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2590: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2591: -- without adding code to call MO_GLOBAL.init
2592: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures
2593: /* MO_GLOBAL.validate_orgid_pub_api
2594: ( ORG_ID => l_org_id
2595: , Status => l_return_status
2596: ) ;*/

Line 2593: /* MO_GLOBAL.validate_orgid_pub_api

2589: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2590: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2591: -- without adding code to call MO_GLOBAL.init
2592: --Calling MO_GLOBAL.validate_orgid_pub_api has been shifted to set_context as it has to be called by all procedures
2593: /* MO_GLOBAL.validate_orgid_pub_api
2594: ( ORG_ID => l_org_id
2595: , Status => l_return_status
2596: ) ;*/
2597: /* IF(l_return_status ='F') THEN

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

2604: -- Call MO set_policy_context to set application context by sending
2605: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
2606: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
2607: --
2608: -- MO_GLOBAL.set_policy_context('S',l_org_id);
2609: -- OE_GLOBALS.Set_Context();
2610: --Moved the logic to set context to new procedure set_context
2611: set_context(p_org_id =>l_org_id);
2612: -- From now on, we are in single access mode.

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

2767: ELSE
2768: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
2769: -- call value_to_id to get org_id
2770: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
2771: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
2772: /*
2773: ELSE
2774: -- Both p_org_id and p_operating_unit are not passed in.
2775: l_org_id := MO_UTILS.get_default_org_id ;

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

2777: END IF;
2778: END IF;
2779:
2780: -- Validate Org_Id
2781: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2782: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2783: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2784: -- without adding code to call MO_GLOBAL.init
2785:

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

2778: END IF;
2779:
2780: -- Validate Org_Id
2781: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2782: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2783: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2784: -- without adding code to call MO_GLOBAL.init
2785:
2786: /* MO_GLOBAL.validate_orgid_pub_api

Line 2783: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

2779:
2780: -- Validate Org_Id
2781: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2782: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2783: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2784: -- without adding code to call MO_GLOBAL.init
2785:
2786: /* MO_GLOBAL.validate_orgid_pub_api
2787: ( ORG_ID => l_org_id

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

2780: -- Validate Org_Id
2781: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2782: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2783: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2784: -- without adding code to call MO_GLOBAL.init
2785:
2786: /* MO_GLOBAL.validate_orgid_pub_api
2787: ( ORG_ID => l_org_id
2788: , Status => l_return_status

Line 2786: /* MO_GLOBAL.validate_orgid_pub_api

2782: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2783: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2784: -- without adding code to call MO_GLOBAL.init
2785:
2786: /* MO_GLOBAL.validate_orgid_pub_api
2787: ( ORG_ID => l_org_id
2788: , Status => l_return_status
2789: ) ;*/
2790: /* IF(l_return_status ='F') THEN

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

2797: -- Call MO set_policy_context to set application context by sending
2798: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
2799: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
2800: --
2801: --MO_GLOBAL.set_policy_context('S',l_org_id);
2802: --OE_GLOBALS.Set_Context();
2803: --Moved the logic to set context to new procedure set_context
2804: set_context(p_org_id =>l_org_id);
2805:

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

2950: ELSE
2951: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
2952: -- call value_to_id to get org_id
2953: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
2954: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
2955: /*
2956: ELSE
2957: -- Both p_org_id and p_operating_unit are not passed in.
2958: l_org_id := MO_UTILS.get_default_org_id ;

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

2960: END IF;
2961: END IF;
2962:
2963: -- Validate Org_Id
2964: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2965: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2966: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2967: -- without adding code to call MO_GLOBAL.init
2968:

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

2961: END IF;
2962:
2963: -- Validate Org_Id
2964: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2965: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2966: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2967: -- without adding code to call MO_GLOBAL.init
2968:
2969: /*MO_GLOBAL.validate_orgid_pub_api

Line 2966: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

2962:
2963: -- Validate Org_Id
2964: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2965: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2966: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2967: -- without adding code to call MO_GLOBAL.init
2968:
2969: /*MO_GLOBAL.validate_orgid_pub_api
2970: ( ORG_ID => l_org_id

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

2963: -- Validate Org_Id
2964: -- call new API : MO_GLOBAL.validate_orgid_pub_api
2965: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2966: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2967: -- without adding code to call MO_GLOBAL.init
2968:
2969: /*MO_GLOBAL.validate_orgid_pub_api
2970: ( ORG_ID => l_org_id
2971: , Status => l_return_status

Line 2969: /*MO_GLOBAL.validate_orgid_pub_api

2965: -- Instead of calling old function - MO_GLOBAL.check_valid_org
2966: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
2967: -- without adding code to call MO_GLOBAL.init
2968:
2969: /*MO_GLOBAL.validate_orgid_pub_api
2970: ( ORG_ID => l_org_id
2971: , Status => l_return_status
2972: ) ;*/
2973: /*IF(l_return_status ='F') THEN

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

2980: -- Call MO set_policy_context to set application context by sending
2981: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
2982: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
2983: --
2984: --MO_GLOBAL.set_policy_context('S',l_org_id);
2985: --OE_GLOBALS.Set_Context();
2986: --Moved the logic to set context to new procedure set_context
2987: set_context(p_org_id =>l_org_id);
2988:

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

3137: ELSE
3138: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
3139: -- call value_to_id to get org_id
3140: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
3141: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
3142: /*
3143: ELSE
3144: -- Both p_org_id and p_operating_unit are not passed in.
3145: l_org_id := MO_UTILS.get_default_org_id ;

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

3147: END IF;
3148: END IF;
3149:
3150: -- Validate Org_Id
3151: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3152: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3153: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3154: -- without adding code to call MO_GLOBAL.init
3155:

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

3148: END IF;
3149:
3150: -- Validate Org_Id
3151: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3152: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3153: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3154: -- without adding code to call MO_GLOBAL.init
3155:
3156: /* MO_GLOBAL.validate_orgid_pub_api

Line 3153: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

3149:
3150: -- Validate Org_Id
3151: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3152: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3153: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3154: -- without adding code to call MO_GLOBAL.init
3155:
3156: /* MO_GLOBAL.validate_orgid_pub_api
3157: ( ORG_ID => l_org_id

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

3150: -- Validate Org_Id
3151: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3152: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3153: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3154: -- without adding code to call MO_GLOBAL.init
3155:
3156: /* MO_GLOBAL.validate_orgid_pub_api
3157: ( ORG_ID => l_org_id
3158: , Status => l_return_status

Line 3156: /* MO_GLOBAL.validate_orgid_pub_api

3152: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3153: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3154: -- without adding code to call MO_GLOBAL.init
3155:
3156: /* MO_GLOBAL.validate_orgid_pub_api
3157: ( ORG_ID => l_org_id
3158: , Status => l_return_status
3159: ) ;*/
3160: /* IF(l_return_status ='F') THEN

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

3167: -- Call MO set_policy_context to set application context by sending
3168: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3169: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3170: --
3171: --MO_GLOBAL.set_policy_context('S',l_org_id);
3172: --OE_GLOBALS.Set_Context();
3173: --Moved the logic to set context to new procedure set_context
3174: set_context(p_org_id =>l_org_id);
3175:

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

3329: ELSE
3330: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
3331: -- call value_to_id to get org_id
3332: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
3333: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
3334: /*
3335: ELSE
3336: -- Both p_org_id and p_operating_unit are not passed in.
3337: l_org_id := MO_UTILS.get_default_org_id ;

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

3339: END IF;
3340: END IF;
3341:
3342: -- Validate Org_Id
3343: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3344: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3345: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3346: -- without adding code to call MO_GLOBAL.init
3347:

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

3340: END IF;
3341:
3342: -- Validate Org_Id
3343: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3344: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3345: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3346: -- without adding code to call MO_GLOBAL.init
3347:
3348: /*MO_GLOBAL.validate_orgid_pub_api

Line 3345: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

3341:
3342: -- Validate Org_Id
3343: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3344: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3345: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3346: -- without adding code to call MO_GLOBAL.init
3347:
3348: /*MO_GLOBAL.validate_orgid_pub_api
3349: ( ORG_ID => l_org_id

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

3342: -- Validate Org_Id
3343: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3344: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3345: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3346: -- without adding code to call MO_GLOBAL.init
3347:
3348: /*MO_GLOBAL.validate_orgid_pub_api
3349: ( ORG_ID => l_org_id
3350: , Status => l_return_status

Line 3348: /*MO_GLOBAL.validate_orgid_pub_api

3344: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3345: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3346: -- without adding code to call MO_GLOBAL.init
3347:
3348: /*MO_GLOBAL.validate_orgid_pub_api
3349: ( ORG_ID => l_org_id
3350: , Status => l_return_status
3351: ) ;*/
3352: /*IF(l_return_status ='F') THEN

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

3359: -- Call MO set_policy_context to set application context by sending
3360: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3361: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3362: --
3363: --MO_GLOBAL.set_policy_context('S',l_org_id);
3364: --OE_GLOBALS.Set_Context();
3365: --Moved the logic to set context to new procedure set_context
3366: set_context(p_org_id =>l_org_id);
3367:

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

3533: ELSE
3534: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
3535: -- call value_to_id to get org_id
3536: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
3537: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
3538: /*
3539: ELSE
3540: -- Both p_org_id and p_operating_unit are not passed in.
3541: l_org_id := MO_UTILS.get_default_org_id ;

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

3543: END IF;
3544: END IF;
3545:
3546: -- Validate Org_Id
3547: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3548: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3549: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3550: -- without adding code to call MO_GLOBAL.init
3551:

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

3544: END IF;
3545:
3546: -- Validate Org_Id
3547: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3548: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3549: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3550: -- without adding code to call MO_GLOBAL.init
3551:
3552: /*MO_GLOBAL.validate_orgid_pub_api

Line 3549: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

3545:
3546: -- Validate Org_Id
3547: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3548: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3549: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3550: -- without adding code to call MO_GLOBAL.init
3551:
3552: /*MO_GLOBAL.validate_orgid_pub_api
3553: ( ORG_ID => l_org_id

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

3546: -- Validate Org_Id
3547: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3548: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3549: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3550: -- without adding code to call MO_GLOBAL.init
3551:
3552: /*MO_GLOBAL.validate_orgid_pub_api
3553: ( ORG_ID => l_org_id
3554: , Status => l_return_status

Line 3552: /*MO_GLOBAL.validate_orgid_pub_api

3548: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3549: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3550: -- without adding code to call MO_GLOBAL.init
3551:
3552: /*MO_GLOBAL.validate_orgid_pub_api
3553: ( ORG_ID => l_org_id
3554: , Status => l_return_status
3555: ) ;*/
3556: /*IF(l_return_status ='F') THEN

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

3563: -- Call MO set_policy_context to set application context by sending
3564: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3565: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3566: --
3567: --MO_GLOBAL.set_policy_context('S',l_org_id);
3568: --OE_GLOBALS.Set_Context();
3569: --Moved the logic to set context to new procedure set_context
3570: set_context(p_org_id =>l_org_id);
3571:

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

3901: ELSE
3902: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
3903: -- call value_to_id to get org_id
3904: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
3905: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
3906: /*
3907: ELSE
3908: -- Both p_org_id and p_operating_unit are not passed in.
3909: l_org_id := MO_UTILS.get_default_org_id ;

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

3911: END IF;
3912: END IF;
3913:
3914: -- Validate Org_Id
3915: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3916: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3917: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3918: -- without adding code to call MO_GLOBAL.init
3919:

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

3912: END IF;
3913:
3914: -- Validate Org_Id
3915: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3916: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3917: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3918: -- without adding code to call MO_GLOBAL.init
3919:
3920: /* MO_GLOBAL.validate_orgid_pub_api

Line 3917: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

3913:
3914: -- Validate Org_Id
3915: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3916: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3917: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3918: -- without adding code to call MO_GLOBAL.init
3919:
3920: /* MO_GLOBAL.validate_orgid_pub_api
3921: ( ORG_ID => l_org_id

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

3914: -- Validate Org_Id
3915: -- call new API : MO_GLOBAL.validate_orgid_pub_api
3916: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3917: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3918: -- without adding code to call MO_GLOBAL.init
3919:
3920: /* MO_GLOBAL.validate_orgid_pub_api
3921: ( ORG_ID => l_org_id
3922: , Status => l_return_status

Line 3920: /* MO_GLOBAL.validate_orgid_pub_api

3916: -- Instead of calling old function - MO_GLOBAL.check_valid_org
3917: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
3918: -- without adding code to call MO_GLOBAL.init
3919:
3920: /* MO_GLOBAL.validate_orgid_pub_api
3921: ( ORG_ID => l_org_id
3922: , Status => l_return_status
3923: ) ;*/
3924: /*IF(l_return_status ='F') THEN

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

3931: -- Call MO set_policy_context to set application context by sending
3932: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
3933: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
3934: --
3935: --MO_GLOBAL.set_policy_context('S',l_org_id);
3936: --OE_GLOBALS.Set_Context();
3937: --Moved the logic to set context to new procedure set_context
3938: set_context(p_org_id =>l_org_id);
3939:

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

4419: ELSE
4420: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
4421: -- call value_to_id to get org_id
4422: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
4423: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
4424: /*
4425: ELSE
4426: -- Both p_org_id and p_operating_unit are not passed in.
4427: l_org_id := MO_UTILS.get_default_org_id ;

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

4429: END IF;
4430: END IF;
4431:
4432: -- Validate Org_Id
4433: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4434: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4435: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4436: -- without adding code to call MO_GLOBAL.init
4437:

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

4430: END IF;
4431:
4432: -- Validate Org_Id
4433: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4434: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4435: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4436: -- without adding code to call MO_GLOBAL.init
4437:
4438: /* MO_GLOBAL.validate_orgid_pub_api

Line 4435: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

4431:
4432: -- Validate Org_Id
4433: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4434: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4435: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4436: -- without adding code to call MO_GLOBAL.init
4437:
4438: /* MO_GLOBAL.validate_orgid_pub_api
4439: ( ORG_ID => l_org_id

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

4432: -- Validate Org_Id
4433: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4434: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4435: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4436: -- without adding code to call MO_GLOBAL.init
4437:
4438: /* MO_GLOBAL.validate_orgid_pub_api
4439: ( ORG_ID => l_org_id
4440: , Status => l_return_status

Line 4438: /* MO_GLOBAL.validate_orgid_pub_api

4434: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4435: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4436: -- without adding code to call MO_GLOBAL.init
4437:
4438: /* MO_GLOBAL.validate_orgid_pub_api
4439: ( ORG_ID => l_org_id
4440: , Status => l_return_status
4441: ) ;*/
4442: /*IF(l_return_status ='F') THEN

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

4449: -- Call MO set_policy_context to set application context by sending
4450: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4451: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4452: --
4453: --MO_GLOBAL.set_policy_context('S',l_org_id);
4454: --OE_GLOBALS.Set_Context();
4455: --Moved the logic to set context to new procedure set_context
4456: set_context(p_org_id =>l_org_id);
4457:

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

4698: ELSE
4699: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
4700: -- call value_to_id to get org_id
4701: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
4702: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
4703: /*
4704: ELSE
4705: -- Both p_org_id and p_operating_unit are not passed in.
4706: l_org_id := MO_UTILS.get_default_org_id ;

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

4708: END IF;
4709: END IF;
4710:
4711: -- Validate Org_Id
4712: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4713: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4714: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4715: -- without adding code to call MO_GLOBAL.init
4716:

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

4709: END IF;
4710:
4711: -- Validate Org_Id
4712: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4713: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4714: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4715: -- without adding code to call MO_GLOBAL.init
4716:
4717: /* MO_GLOBAL.validate_orgid_pub_api

Line 4714: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

4710:
4711: -- Validate Org_Id
4712: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4713: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4714: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4715: -- without adding code to call MO_GLOBAL.init
4716:
4717: /* MO_GLOBAL.validate_orgid_pub_api
4718: ( ORG_ID => l_org_id

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

4711: -- Validate Org_Id
4712: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4713: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4714: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4715: -- without adding code to call MO_GLOBAL.init
4716:
4717: /* MO_GLOBAL.validate_orgid_pub_api
4718: ( ORG_ID => l_org_id
4719: , Status => l_return_status

Line 4717: /* MO_GLOBAL.validate_orgid_pub_api

4713: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4714: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4715: -- without adding code to call MO_GLOBAL.init
4716:
4717: /* MO_GLOBAL.validate_orgid_pub_api
4718: ( ORG_ID => l_org_id
4719: , Status => l_return_status
4720: ) ;*/
4721: /*IF(l_return_status ='F') THEN

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

4728: -- Call MO set_policy_context to set application context by sending
4729: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4730: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4731: --
4732: --MO_GLOBAL.set_policy_context('S',l_org_id);
4733: --OE_GLOBALS.Set_Context();
4734: --Moved the logic to set context to new procedure set_context
4735: set_context(p_org_id =>l_org_id);
4736:

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

4951: ELSE
4952: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
4953: -- call value_to_id to get org_id
4954: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
4955: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
4956:
4957: ELSE
4958: -- Both p_org_id and p_operating_unit are not passed in.
4959: -- This is required since this procedure is called from process order

Line 4961: l_org_id := MO_GLOBAL.get_current_org_id;

4957: ELSE
4958: -- Both p_org_id and p_operating_unit are not passed in.
4959: -- This is required since this procedure is called from process order
4960: -- The mo init is already run and the org id is not passed
4961: l_org_id := MO_GLOBAL.get_current_org_id;
4962:
4963: END IF;
4964: END IF;
4965:

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

4963: END IF;
4964: END IF;
4965:
4966: -- Validate Org_Id
4967: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4968: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4969: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4970: -- without adding code to call MO_GLOBAL.init
4971:

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

4964: END IF;
4965:
4966: -- Validate Org_Id
4967: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4968: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4969: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4970: -- without adding code to call MO_GLOBAL.init
4971:
4972: /* MO_GLOBAL.validate_orgid_pub_api

Line 4969: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

4965:
4966: -- Validate Org_Id
4967: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4968: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4969: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4970: -- without adding code to call MO_GLOBAL.init
4971:
4972: /* MO_GLOBAL.validate_orgid_pub_api
4973: ( ORG_ID => l_org_id

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

4966: -- Validate Org_Id
4967: -- call new API : MO_GLOBAL.validate_orgid_pub_api
4968: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4969: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4970: -- without adding code to call MO_GLOBAL.init
4971:
4972: /* MO_GLOBAL.validate_orgid_pub_api
4973: ( ORG_ID => l_org_id
4974: , Status => l_return_status

Line 4972: /* MO_GLOBAL.validate_orgid_pub_api

4968: -- Instead of calling old function - MO_GLOBAL.check_valid_org
4969: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
4970: -- without adding code to call MO_GLOBAL.init
4971:
4972: /* MO_GLOBAL.validate_orgid_pub_api
4973: ( ORG_ID => l_org_id
4974: , Status => l_return_status
4975: ) ;*/
4976: /*IF(l_return_status ='F') THEN

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

4983: -- Call MO set_policy_context to set application context by sending
4984: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
4985: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
4986: --
4987: --MO_GLOBAL.set_policy_context('S',l_org_id);
4988: --OE_GLOBALS.Set_Context();
4989: --Moved the logic to set context to new procedure set_context
4990: set_context(p_org_id =>l_org_id);
4991:

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

5099: ELSE
5100: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
5101: -- call value_to_id to get org_id
5102: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
5103: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
5104:
5105: ELSE
5106: -- Both p_org_id and p_operating_unit are not passed in.
5107: --this is required since some APIs such as process order will

Line 5109: l_org_id := MO_GLOBAL.get_current_org_id;

5105: ELSE
5106: -- Both p_org_id and p_operating_unit are not passed in.
5107: --this is required since some APIs such as process order will
5108: -- set the org already so no need to pass org id agai
5109: l_org_id := MO_GLOBAL.get_current_org_id;
5110:
5111: END IF;
5112: END IF;
5113:

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

5111: END IF;
5112: END IF;
5113:
5114: -- Validate Org_Id
5115: -- call new API : MO_GLOBAL.validate_orgid_pub_api
5116: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5117: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5118: -- without adding code to call MO_GLOBAL.init
5119:

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

5112: END IF;
5113:
5114: -- Validate Org_Id
5115: -- call new API : MO_GLOBAL.validate_orgid_pub_api
5116: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5117: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5118: -- without adding code to call MO_GLOBAL.init
5119:
5120: /*MO_GLOBAL.validate_orgid_pub_api

Line 5117: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

5113:
5114: -- Validate Org_Id
5115: -- call new API : MO_GLOBAL.validate_orgid_pub_api
5116: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5117: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5118: -- without adding code to call MO_GLOBAL.init
5119:
5120: /*MO_GLOBAL.validate_orgid_pub_api
5121: ( ORG_ID => l_org_id

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

5114: -- Validate Org_Id
5115: -- call new API : MO_GLOBAL.validate_orgid_pub_api
5116: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5117: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5118: -- without adding code to call MO_GLOBAL.init
5119:
5120: /*MO_GLOBAL.validate_orgid_pub_api
5121: ( ORG_ID => l_org_id
5122: , Status => l_return_status

Line 5120: /*MO_GLOBAL.validate_orgid_pub_api

5116: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5117: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5118: -- without adding code to call MO_GLOBAL.init
5119:
5120: /*MO_GLOBAL.validate_orgid_pub_api
5121: ( ORG_ID => l_org_id
5122: , Status => l_return_status
5123: ) ;*/
5124: /*IF(l_return_status ='F') THEN

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

5131: -- Call MO set_policy_context to set application context by sending
5132: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
5133: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
5134: --
5135: --MO_GLOBAL.set_policy_context('S',l_org_id);
5136: --OE_GLOBALS.Set_Context();
5137: --Moved the logic to set context to new procedure set_context
5138: set_context(p_org_id =>l_org_id);
5139:

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

5245: ELSE
5246: IF (p_operating_unit IS NOT NULL AND p_operating_unit <> FND_API.G_MISS_CHAR) THEN
5247: -- call value_to_id to get org_id
5248: l_org_id := OE_Value_To_Id.OPERATING_UNIT(p_operating_unit);
5249: -- comment out due to new call to MO_GLOBAL.validate_orgid_pub_api
5250: /*
5251: ELSE
5252: -- Both p_org_id and p_operating_unit are not passed in.
5253: l_org_id := MO_UTILS.get_default_org_id ;

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

5255: END IF;
5256: END IF;
5257:
5258: -- Validate Org_Id
5259: -- call new API : MO_GLOBAL.validate_orgid_pub_api
5260: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5261: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5262: -- without adding code to call MO_GLOBAL.init
5263:

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

5256: END IF;
5257:
5258: -- Validate Org_Id
5259: -- call new API : MO_GLOBAL.validate_orgid_pub_api
5260: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5261: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5262: -- without adding code to call MO_GLOBAL.init
5263:
5264: /*MO_GLOBAL.validate_orgid_pub_api

Line 5261: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility

5257:
5258: -- Validate Org_Id
5259: -- call new API : MO_GLOBAL.validate_orgid_pub_api
5260: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5261: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5262: -- without adding code to call MO_GLOBAL.init
5263:
5264: /*MO_GLOBAL.validate_orgid_pub_api
5265: ( ORG_ID => l_org_id

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

5258: -- Validate Org_Id
5259: -- call new API : MO_GLOBAL.validate_orgid_pub_api
5260: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5261: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5262: -- without adding code to call MO_GLOBAL.init
5263:
5264: /*MO_GLOBAL.validate_orgid_pub_api
5265: ( ORG_ID => l_org_id
5266: , Status => l_return_status

Line 5264: /*MO_GLOBAL.validate_orgid_pub_api

5260: -- Instead of calling old function - MO_GLOBAL.check_valid_org
5261: -- MO_GLOBAL.validate_orgid_pub_api provides backward compatibility
5262: -- without adding code to call MO_GLOBAL.init
5263:
5264: /*MO_GLOBAL.validate_orgid_pub_api
5265: ( ORG_ID => l_org_id
5266: , Status => l_return_status
5267: ) ;*/
5268: /*IF(l_return_status ='F') THEN

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

5275: -- Call MO set_policy_context to set application context by sending
5276: -- p_access_mode ='S' (Single Operating Unit Access) and org_id
5277: -- Then call OE_GLOBALS.Set_Context to set OE_GLOBALS.G_ORG_ID
5278: --
5279: --MO_GLOBAL.set_policy_context('S',l_org_id);
5280: --OE_GLOBALS.Set_Context();
5281: --Moved the logic to set context to new procedure set_context
5282: set_context(p_org_id =>l_org_id);
5283: