60:
61: IF p_org_id is NOT NULL then
62: ar_mo_global_cache.set_current_org_id(p_org_id);
63: ELSE
64: IF ARP_STANDARD.sysparm.org_id is NULL then
65: mo_utils.get_default_ou(l_default_org_id,l_default_ou_name,l_count);
66: ELSE
67: l_default_org_id := ARP_STANDARD.sysparm.org_id;
68: END IF;
63: ELSE
64: IF ARP_STANDARD.sysparm.org_id is NULL then
65: mo_utils.get_default_ou(l_default_org_id,l_default_ou_name,l_count);
66: ELSE
67: l_default_org_id := ARP_STANDARD.sysparm.org_id;
68: END IF;
69:
70: IF l_default_org_id is null then
71: begin
278: BEGIN
279:
280: /* Bug 1679088 : define new public procedure, this process can be
281: called from other modules to run initialization whenever required */
282: arp_standard.debug('Initialisation section ARP_GLOBAL.INIT_GLOBAL()');
283:
284: /* Bug 4624926 API failing in R12-Starts*/
285: IF mo_global.get_current_org_id is null then
286: