DBA Data[Home] [Help]

APPS.PO_REQAPPROVAL_LAUNCH dependencies on FND_GLOBAL

Line 197: l_session_user_id := fnd_global.user_id;

193: aname => 'APPLICATION_ID');
194:
195: --bug 14807370:Store the session context before wf changed.
196:
197: l_session_user_id := fnd_global.user_id;
198: l_session_resp_id := fnd_global.resp_id;
199: l_session_resp_appl_id := fnd_global.resp_appl_id;
200: l_session_org_id := fnd_global.org_id;
201:

Line 198: l_session_resp_id := fnd_global.resp_id;

194:
195: --bug 14807370:Store the session context before wf changed.
196:
197: l_session_user_id := fnd_global.user_id;
198: l_session_resp_id := fnd_global.resp_id;
199: l_session_resp_appl_id := fnd_global.resp_appl_id;
200: l_session_org_id := fnd_global.org_id;
201:
202:

Line 199: l_session_resp_appl_id := fnd_global.resp_appl_id;

195: --bug 14807370:Store the session context before wf changed.
196:
197: l_session_user_id := fnd_global.user_id;
198: l_session_resp_id := fnd_global.resp_id;
199: l_session_resp_appl_id := fnd_global.resp_appl_id;
200: l_session_org_id := fnd_global.org_id;
201:
202:
203: /* Since the call may be started from background engine (new seesion),

Line 200: l_session_org_id := fnd_global.org_id;

196:
197: l_session_user_id := fnd_global.user_id;
198: l_session_resp_id := fnd_global.resp_id;
199: l_session_resp_appl_id := fnd_global.resp_appl_id;
200: l_session_org_id := fnd_global.org_id;
201:
202:
203: /* Since the call may be started from background engine (new seesion),
204: * need to ensure the fnd context is correct

Line 273: fnd_global.apps_initialize(l_session_user_id, l_session_resp_id , l_session_resp_appl_id);

269: l_interface_source,
270: l_orgid,
271: p_is_federal); -- Bug 14314684
272: --bug 14807370:after invoking workflow, set back the original session context using
273: fnd_global.apps_initialize(l_session_user_id, l_session_resp_id , l_session_resp_appl_id);
274: PO_MOAC_UTILS_PVT.set_org_context(l_session_org_id) ;
275:
276:
277: EXCEPTION

Line 380: l_session_user_id := fnd_global.user_id;

376: aname => 'IS_SUPPLIER_CONTEXT');
377: --Bug 5389914
378: --Fnd_Profile.Get('USER_ID',l_session_user_id);
379: --Fnd_Profile.Get('RESP_ID',l_session_resp_id);
380: l_session_user_id := fnd_global.user_id;
381: l_session_resp_id := fnd_global.resp_id;
382:
383: IF (l_session_user_id = -1) THEN
384: l_session_user_id := NULL;

Line 381: l_session_resp_id := fnd_global.resp_id;

377: --Bug 5389914
378: --Fnd_Profile.Get('USER_ID',l_session_user_id);
379: --Fnd_Profile.Get('RESP_ID',l_session_resp_id);
380: l_session_user_id := fnd_global.user_id;
381: l_session_resp_id := fnd_global.resp_id;
382:
383: IF (l_session_user_id = -1) THEN
384: l_session_user_id := NULL;
385: END IF;

Line 527: fnd_global.apps_initialize(l_user_id_to_set, l_resp_id_to_set,l_appl_id_to_set);

523: END IF;
524: --
525: end if;
526:
527: fnd_global.apps_initialize(l_user_id_to_set, l_resp_id_to_set,l_appl_id_to_set);
528:
529: -- obvious place to make such a call, since we are using an apps_initialize,
530: -- this is required since the responsibility might have a different OU attached
531: -- than what is required.