DBA Data[Home] [Help]

APPS.HR_SECURITY dependencies on FND_GLOBAL

Line 37: -- FND_GLOBAL.SESSION_CONTEXT. This would cause the person list to

33: -- 2086208. Cache the value of ICX_SEC.G_SESSION_ID so that the
34: -- person list can be rebuilt on a change of login session even if
35: -- the user,resp,sec group remain the same. An alternative scheme is
36: -- to track session switching based on the value of
37: -- FND_GLOBAL.SESSION_CONTEXT. This would cause the person list to
38: -- be rebuilt on each call to FND_GLOBAL.APPS_INITIALIZE.
39: --
40: g_icx_session_id NUMBER := 0 ;
41:

Line 38: -- be rebuilt on each call to FND_GLOBAL.APPS_INITIALIZE.

34: -- person list can be rebuilt on a change of login session even if
35: -- the user,resp,sec group remain the same. An alternative scheme is
36: -- to track session switching based on the value of
37: -- FND_GLOBAL.SESSION_CONTEXT. This would cause the person list to
38: -- be rebuilt on each call to FND_GLOBAL.APPS_INITIALIZE.
39: --
40: g_icx_session_id NUMBER := 0 ;
41:
42:

Line 358: g_user_id:=fnd_global.user_id;

354: FETCH csr_get_schema_mode into g_apps_schema_mode, g_org_id;
355: CLOSE csr_get_schema_mode;
356: --
357: l_security_profile_id:=hr_security.get_security_profile;
358: g_user_id:=fnd_global.user_id;
359: g_resp_id:=fnd_global.resp_id;
360: g_resp_appl_id:=fnd_global.resp_appl_id;
361: g_security_group_id:=fnd_global.security_group_id;
362:

Line 359: g_resp_id:=fnd_global.resp_id;

355: CLOSE csr_get_schema_mode;
356: --
357: l_security_profile_id:=hr_security.get_security_profile;
358: g_user_id:=fnd_global.user_id;
359: g_resp_id:=fnd_global.resp_id;
360: g_resp_appl_id:=fnd_global.resp_appl_id;
361: g_security_group_id:=fnd_global.security_group_id;
362:
363: -- g_person_id:=get_person_id; -- Bug 2807573 see below

Line 360: g_resp_appl_id:=fnd_global.resp_appl_id;

356: --
357: l_security_profile_id:=hr_security.get_security_profile;
358: g_user_id:=fnd_global.user_id;
359: g_resp_id:=fnd_global.resp_id;
360: g_resp_appl_id:=fnd_global.resp_appl_id;
361: g_security_group_id:=fnd_global.security_group_id;
362:
363: -- g_person_id:=get_person_id; -- Bug 2807573 see below
364: -- g_person_list.delete; --6012095(forward port of 5985232)

Line 361: g_security_group_id:=fnd_global.security_group_id;

357: l_security_profile_id:=hr_security.get_security_profile;
358: g_user_id:=fnd_global.user_id;
359: g_resp_id:=fnd_global.resp_id;
360: g_resp_appl_id:=fnd_global.resp_appl_id;
361: g_security_group_id:=fnd_global.security_group_id;
362:
363: -- g_person_id:=get_person_id; -- Bug 2807573 see below
364: -- g_person_list.delete; --6012095(forward port of 5985232)
365:

Line 645: if ( hr_signon.session_context <> fnd_global.session_context )

641:
642: --
643: -- 2876315
644: --
645: if ( hr_signon.session_context <> fnd_global.session_context )
646: then
647: hr_signon.initialize_hr_security;
648: initialise_globals;
649: end if;

Line 948: IF g_user_id <> fnd_global.user_id

944: --- a change in the ICX session id causes the person list to be rebuilt.
945: --- Ideally this would be signalled via the product initialization code
946: ---
947:
948: IF g_user_id <> fnd_global.user_id
949: or g_resp_id <> fnd_global.resp_id
950: or g_resp_appl_id <> fnd_global.resp_appl_id
951: or g_security_group_id <> fnd_global.security_group_id
952: or g_icx_session_id <> icx_sec.g_session_id

Line 949: or g_resp_id <> fnd_global.resp_id

945: --- Ideally this would be signalled via the product initialization code
946: ---
947:
948: IF g_user_id <> fnd_global.user_id
949: or g_resp_id <> fnd_global.resp_id
950: or g_resp_appl_id <> fnd_global.resp_appl_id
951: or g_security_group_id <> fnd_global.security_group_id
952: or g_icx_session_id <> icx_sec.g_session_id
953: THEN

Line 950: or g_resp_appl_id <> fnd_global.resp_appl_id

946: ---
947:
948: IF g_user_id <> fnd_global.user_id
949: or g_resp_id <> fnd_global.resp_id
950: or g_resp_appl_id <> fnd_global.resp_appl_id
951: or g_security_group_id <> fnd_global.security_group_id
952: or g_icx_session_id <> icx_sec.g_session_id
953: THEN
954: l_return := TRUE;

Line 951: or g_security_group_id <> fnd_global.security_group_id

947:
948: IF g_user_id <> fnd_global.user_id
949: or g_resp_id <> fnd_global.resp_id
950: or g_resp_appl_id <> fnd_global.resp_appl_id
951: or g_security_group_id <> fnd_global.security_group_id
952: or g_icx_session_id <> icx_sec.g_session_id
953: THEN
954: l_return := TRUE;
955: ELSE

Line 1814: -- the current responsibility. fnd_global.resp_appl_id is used

1810: l_org_id number;
1811:
1812: --
1813: -- Checks to see if there are any records in org_access for
1814: -- the current responsibility. fnd_global.resp_appl_id is used
1815: -- to improve index performance.
1816: --
1817: CURSOR c_chk_resp_in_org_access IS
1818: SELECT null

Line 1826: -- fnd_global.resp_appl_id is used to improve index performance.

1822:
1823: --
1824: -- Returns a single record in org_access that matches the
1825: -- current responsibility and p_org_id (if one exists).
1826: -- fnd_global.resp_appl_id is used to improve index performance.
1827: --
1828: CURSOR c_get_org_access_org IS
1829: SELECT oa.organization_id
1830: FROM org_access oa

Line 2162: if fnd_global.user_id <> -1 then

2158: FUNCTION get_sec_profile_bg_id
2159: RETURN NUMBER
2160: is
2161: begin
2162: if fnd_global.user_id <> -1 then
2163:
2164: if globals_need_refreshing then
2165: hr_signon.initialize_hr_security;
2166: initialise_globals;