DBA Data[Home] [Help]

APPS.OKL_AM_WF dependencies on MO_GLOBAL

Line 144: wf_event.AddParameterToList('ORG_ID',mo_global.get_current_org_id ,l_parameter_list);

140: 'oracle.apps.okl.am.sendquote'
141: )
142: then
143: --added by akrangan
144: wf_event.AddParameterToList('ORG_ID',mo_global.get_current_org_id ,l_parameter_list);
145: end if ;
146: -- Raise Event
147: wf_event.raise(p_event_name => p_event_name
148: ,p_event_key => l_key

Line 284: wf_event.AddParameterToList('ORG_ID',mo_global.get_current_org_id ,l_parameter_list);

280: wf_event.AddParameterToList('BATCH_ID',l_batch_id,l_parameter_list);
281: wf_event.AddParameterToList('FROM_ADDRESS',l_from_address,l_parameter_list);
282: --19-jul-2007 ansethur R12B XML Publisher Ends
283: --added by akrangan
284: wf_event.AddParameterToList('ORG_ID',mo_global.get_current_org_id ,l_parameter_list);
285:
286:
287: -- Raise Event
288: wf_event.raise(p_event_name => l_event_name

Line 1793: current_org_id := nvl(mo_global.get_current_org_id(),-1);

1789:
1790: l_org_id:= wf_engine.GetItemAttrNumber(itemtype,
1791: itemkey,
1792: 'ORG_ID');
1793: current_org_id := nvl(mo_global.get_current_org_id(),-1);
1794:
1795: IF(itemtype = 'OKLCSCRM') THEN
1796:
1797: -- Get the user who intiated the workflow

Line 1821: mo_global.init('OKL');

1817: -- Set the application user context back to the original one
1818: IF(itemtype = 'OKLCSCRM') THEN
1819: FND_GLOBAL.APPS_initialize(l_user_id,l_resp_id,l_appl_id);
1820: END IF;
1821: mo_global.init('OKL');
1822: MO_GLOBAL.set_policy_context('S',l_org_id);
1823: resultout :='COMPLETE';
1824: END IF;
1825:

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

1818: IF(itemtype = 'OKLCSCRM') THEN
1819: FND_GLOBAL.APPS_initialize(l_user_id,l_resp_id,l_appl_id);
1820: END IF;
1821: mo_global.init('OKL');
1822: MO_GLOBAL.set_policy_context('S',l_org_id);
1823: resultout :='COMPLETE';
1824: END IF;
1825:
1826: IF (command='TEST_CTX') THEN