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
231: ARP_GLOBAL.sysparam.calc_tax_on_credit_memo_flag:= l_gr.calc_tax_on_credit_memo_flag;
232: ARP_GLOBAL.sysparam.calc_tax_on_credit_memo_flag:= l_gr.calc_tax_on_credit_memo_flag;
233: ARP_GLOBAL.sysparam.IREC_BA_RECEIPT_METHOD_ID := l_gr.IREC_BA_RECEIPT_METHOD_ID;
234: ARP_GLOBAL.sysparam.payment_threshold := l_gr.payment_threshold;
235: ARP_GLOBAL.sysparam.standard_refund := l_gr.standard_refund;
236: ARP_GLOBAL.sysparam.credit_classification1 := l_gr.credit_classification1;
237: ARP_GLOBAL.sysparam.credit_classification2 := l_gr.credit_classification2;
238: ARP_GLOBAL.sysparam.credit_classification3 := l_gr.credit_classification3;
239: ARP_GLOBAL.sysparam.unmtch_claim_creation_flag := l_gr.unmtch_claim_creation_flag;
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: