DBA Data[Home] [Help]

APPS.OKL_AM_WF dependencies on FND_GLOBAL

Line 1802: current_user_id:= FND_GLOBAL.USER_ID;

1798: l_user_id:= wf_engine.GetItemAttrNumber(itemtype,
1799: itemkey,
1800: 'USER_ID');
1801: -- Get the current user
1802: current_user_id:= FND_GLOBAL.USER_ID;
1803: -- Get the responsibility at which the above user intiated the workflow
1804: l_resp_id:= wf_engine.GetItemAttrNumber(itemtype,
1805: itemkey,
1806: 'RESPONSIBILITY_ID');

Line 1808: current_resp_id:= FND_GLOBAL.RESP_ID;

1804: l_resp_id:= wf_engine.GetItemAttrNumber(itemtype,
1805: itemkey,
1806: 'RESPONSIBILITY_ID');
1807: -- Get the current responsibility
1808: current_resp_id:= FND_GLOBAL.RESP_ID;
1809: -- Get the application where the above user intiated the workflow
1810: l_appl_id:= wf_engine.GetItemAttrNumber(itemtype,
1811: itemkey,
1812: 'APPLICATION_ID');

Line 1814: current_appl_id:= FND_GLOBAL.RESP_APPL_ID;

1810: l_appl_id:= wf_engine.GetItemAttrNumber(itemtype,
1811: itemkey,
1812: 'APPLICATION_ID');
1813: -- Get the current application
1814: current_appl_id:= FND_GLOBAL.RESP_APPL_ID;
1815: END IF;
1816: IF (command ='SET_CTX') THEN
1817: -- Set the application user context back to the original one
1818: IF(itemtype = 'OKLCSCRM') THEN

Line 1819: FND_GLOBAL.APPS_initialize(l_user_id,l_resp_id,l_appl_id);

1815: END IF;
1816: IF (command ='SET_CTX') THEN
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';