1911: v_org_name := org_name;
1912: end;
1913: -- This synchronizes the org context with the client_info space such
1914: -- that FND_GLOBAL.ORG_ID = substrb(userenv('CLIENT_INFO'),1,10).
1915: fnd_client_info.set_org_context(org_id);
1916: -- Reset the transient profile option CURRENT_ORG_CONTEXT if the org
1917: -- context changes. Re-initialize the org context for FND_PROFILE.
1918: if fnd_release.major_version >= 12 then
1919: fnd_profile.put('CURRENT_ORG_CONTEXT', org_id);
2024: --
2025: -- SECURITY_GROUP_ID initialization
2026: --
2027: if sec_context_change then
2028: fnd_client_info.set_security_group_context(security_group_id);
2029: end if;
2030:
2031: --
2032: -- If necessary, check if this resp_id is accessible from the user_id
2325: -- the RDBMS session-level global variable that we read when we
2326: -- call USERENV('CLIENT_INFO')
2327: --
2328: if security_context_changed then
2329: fnd_client_info.setup_client_info(resp_appl_id,
2330: resp_id,
2331: user_id,
2332: security_group_id,
2333: org_id);