DBA Data[Home] [Help]

APPS.OKC_ARTWF_PVT dependencies on MO_GLOBAL

Line 1129: mo_global.set_policy_context('S', org_id);

1125: resp_appl_id := wf_engine.GetItemAttrNumber(itemtype, itemkey, 'RESP_APPL_ID', true);
1126: -- set apps context if needed
1127: if ( command = 'SET_CTX' ) then
1128: fnd_global.apps_initialize(user_id, resp_id, resp_appl_id);
1129: mo_global.set_policy_context('S', org_id);
1130: resultout := 'COMPLETE'; -- context is set up
1131: return;
1132: end if;
1133: -- check current apps context

Line 1135: if (nvl(mo_global.get_access_mode, 'NULL') <> 'S') or

1131: return;
1132: end if;
1133: -- check current apps context
1134: if ( command = 'TEST_CTX' ) then
1135: if (nvl(mo_global.get_access_mode, 'NULL') <> 'S') or
1136: (nvl(mo_global.get_current_org_id, -99) <> org_id) then
1137: resultout := 'FALSE'; -- org part of context is wrong - reset context
1138: return;
1139: end if;

Line 1136: (nvl(mo_global.get_current_org_id, -99) <> org_id) then

1132: end if;
1133: -- check current apps context
1134: if ( command = 'TEST_CTX' ) then
1135: if (nvl(mo_global.get_access_mode, 'NULL') <> 'S') or
1136: (nvl(mo_global.get_current_org_id, -99) <> org_id) then
1137: resultout := 'FALSE'; -- org part of context is wrong - reset context
1138: return;
1139: end if;
1140: if (l_current_user_id <> user_id) or