642: l_responsibility_id := l_parameters(2);
643: l_security_group_id := l_parameters(3);
644: l_function_id := l_parameters(4);
645: --verify that this is all we need to call to get the selects to work in hosted env.
646: fnd_global.SET_SECURITY_GROUP_ID_CONTEXT(l_security_group_id);
647: ELSIF f IS NOT NULL THEN
648: --We dont have a secgrpid set here!!!!!
649:
650: --get function_id.
691: l_language := nls_base_lang;
692:
693: END;
694:
695: FND_GLOBAL.set_nls_context(
696: p_nls_language => l_language);
697: -- p_nls_territory =>'AMERICA');
698: -- l_language := L;
699:
790:
791: END IF;--cookie
792:
793: --need to do validate_only so if fails, we can still run if public
794: --set a global to -999 to fnd_global will verify user-resp relationship
795: icx_sec.g_prog_appl_id := -999;
796: IF icx_sec.VALIDATESession(c_validate_only => 'Y') THEN
797: icx_sec.g_prog_appl_id := -1;
798: