DBA Data[Home] [Help]

APPS.HR_SECURITY dependencies on HR_SIGNON

Line 84: return (hr_signon.g_hr_security_profile.security_profile_id);

80: FUNCTION get_hr_security_context
81: RETURN NUMBER
82: IS
83: BEGIN
84: return (hr_signon.g_hr_security_profile.security_profile_id);
85: END get_hr_security_context;
86: --
87: -----------------------------------------------------------------------
88: --< get_security_profile >---------------------------------------------

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 647: hr_signon.initialize_hr_security;

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;
650:
651:

Line 652: RETURN (NVL(hr_signon.g_hr_security_profile.view_all_flag

648: initialise_globals;
649: end if;
650:
651:
652: RETURN (NVL(hr_signon.g_hr_security_profile.view_all_flag
653: ,g_context.view_all_flag));
654:
655:
656: END view_all;

Line 668: -- DK 18-NOV-2002 Modified to use hr_signon cache

664: BEGIN
665:
666: --
667: -- Bug 2638726
668: -- DK 18-NOV-2002 Modified to use hr_signon cache
669: --
670:
671: if (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag,
672: g_context.restrict_by_supervisor_flag) = 'N'

Line 671: if (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag,

667: -- Bug 2638726
668: -- DK 18-NOV-2002 Modified to use hr_signon cache
669: --
670:
671: if (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag,
672: g_context.restrict_by_supervisor_flag) = 'N'
673: and NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag,
674: g_context.view_all_organizations_flag) = 'Y'
675: and NVL(hr_signon.g_hr_security_profile.view_all_positions_flag,

Line 673: and NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag,

669: --
670:
671: if (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag,
672: g_context.restrict_by_supervisor_flag) = 'N'
673: and NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag,
674: g_context.view_all_organizations_flag) = 'Y'
675: and NVL(hr_signon.g_hr_security_profile.view_all_positions_flag,
676: g_context.view_all_positions_flag) = 'Y'
677: and NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag,

Line 675: and NVL(hr_signon.g_hr_security_profile.view_all_positions_flag,

671: if (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag,
672: g_context.restrict_by_supervisor_flag) = 'N'
673: and NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag,
674: g_context.view_all_organizations_flag) = 'Y'
675: and NVL(hr_signon.g_hr_security_profile.view_all_positions_flag,
676: g_context.view_all_positions_flag) = 'Y'
677: and NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag,
678: g_context.view_all_payrolls_flag) = 'Y'
679: and NVL(hr_signon.g_hr_security_profile.custom_restriction_flag,

Line 677: and NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag,

673: and NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag,
674: g_context.view_all_organizations_flag) = 'Y'
675: and NVL(hr_signon.g_hr_security_profile.view_all_positions_flag,
676: g_context.view_all_positions_flag) = 'Y'
677: and NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag,
678: g_context.view_all_payrolls_flag) = 'Y'
679: and NVL(hr_signon.g_hr_security_profile.custom_restriction_flag,
680: g_context.custom_restriction_flag) = 'N' ) then
681: RETURN true;

Line 679: and NVL(hr_signon.g_hr_security_profile.custom_restriction_flag,

675: and NVL(hr_signon.g_hr_security_profile.view_all_positions_flag,
676: g_context.view_all_positions_flag) = 'Y'
677: and NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag,
678: g_context.view_all_payrolls_flag) = 'Y'
679: and NVL(hr_signon.g_hr_security_profile.custom_restriction_flag,
680: g_context.custom_restriction_flag) = 'N' ) then
681: RETURN true;
682: else
683: RETURN false;

Line 694: if (NVL(hr_signon.g_hr_security_profile.view_all_applicants_flag

690: FUNCTION view_all_applicants
691: RETURN BOOLEAN
692: IS
693: BEGIN
694: if (NVL(hr_signon.g_hr_security_profile.view_all_applicants_flag
695: ,g_context.view_all_applicants_flag) = 'Y') then
696: RETURN TRUE;
697: else
698: return FALSE;

Line 711: if NVL(hr_signon.g_hr_security_profile.view_all_cwk_flag

707: FUNCTION view_all_cwk
708: RETURN BOOLEAN
709: IS
710: BEGIN
711: if NVL(hr_signon.g_hr_security_profile.view_all_cwk_flag
712: ,g_context.view_all_cwk_flag) = 'Y' then
713: return true;
714: else
715: return false;

Line 727: if NVL(hr_signon.g_hr_security_profile.view_all_contacts_flag

723: FUNCTION view_all_contacts
724: RETURN BOOLEAN
725: IS
726: BEGIN
727: if NVL(hr_signon.g_hr_security_profile.view_all_contacts_flag
728: ,g_context.view_all_contacts_flag) = 'Y' then
729: return true;
730: else
731: return false;

Line 744: if (nvl(hr_signon.g_hr_security_profile.view_all_candidates_flag,

740: --
741: begin
742: -- This function will return TRUE if iRecruitment is not installed
743: -- or view_all_candidates_flag is set to 'All'.
744: if (nvl(hr_signon.g_hr_security_profile.view_all_candidates_flag,
745: g_context.view_all_candidates_flag) = 'Y' or
746: nvl(fnd_profile.value('IRC_INSTALLED_FLAG'), 'N') = 'N') then
747: --
748: return true;

Line 766: if NVL(hr_signon.g_hr_security_profile.view_all_employees_flag

762: FUNCTION view_all_employees
763: RETURN BOOLEAN
764: IS
765: BEGIN
766: if NVL(hr_signon.g_hr_security_profile.view_all_employees_flag
767: ,g_context.view_all_employees_flag) = 'Y' then
768: return true;
769: else
770: return false;

Line 782: if (NVL(hr_signon.g_hr_security_profile.view_all_applicants_flag

778: FUNCTION restricted_applicants
779: RETURN BOOLEAN
780: IS
781: BEGIN
782: if (NVL(hr_signon.g_hr_security_profile.view_all_applicants_flag
783: ,g_context.view_all_applicants_flag) = 'N') then
784: RETURN TRUE;
785: else
786: return FALSE;

Line 798: if NVL(hr_signon.g_hr_security_profile.view_all_cwk_flag

794: FUNCTION restricted_cwk
795: RETURN BOOLEAN
796: IS
797: BEGIN
798: if NVL(hr_signon.g_hr_security_profile.view_all_cwk_flag
799: ,g_context.view_all_cwk_flag) = 'N' then
800: return true;
801: else
802: return false;

Line 814: if NVL(hr_signon.g_hr_security_profile.view_all_contacts_flag

810: FUNCTION restricted_contacts
811: RETURN BOOLEAN
812: IS
813: BEGIN
814: if NVL(hr_signon.g_hr_security_profile.view_all_contacts_flag
815: ,g_context.view_all_contacts_flag) = 'N' then
816: return true;
817: else
818: return false;

Line 830: if NVL(hr_signon.g_hr_security_profile.view_all_employees_flag

826: FUNCTION restricted_employees
827: RETURN BOOLEAN
828: IS
829: BEGIN
830: if NVL(hr_signon.g_hr_security_profile.view_all_employees_flag
831: ,g_context.view_all_employees_flag) = 'N' then
832: return true;
833: else
834: return false;

Line 847: (NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag

843: RETURN BOOLEAN
844: IS
845: BEGIN
846: RETURN
847: (NVL(hr_signon.g_hr_security_profile.view_all_organizations_flag
848: ,g_context.view_all_organizations_flag) = 'Y' );
849: END view_all_organizations;
850: --
851: -----------------------------------------------------------------------

Line 860: (NVL(hr_signon.g_hr_security_profile.view_all_positions_flag

856: RETURN BOOLEAN
857: IS
858: BEGIN
859: RETURN
860: (NVL(hr_signon.g_hr_security_profile.view_all_positions_flag
861: ,g_context.view_all_positions_flag) = 'Y' );
862: END view_all_positions;
863: --
864: -----------------------------------------------------------------------

Line 873: (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag

869: RETURN BOOLEAN
870: IS
871: BEGIN
872: RETURN
873: (NVL(hr_signon.g_hr_security_profile.restrict_by_supervisor_flag
874: ,g_context.restrict_by_supervisor_flag) = 'Y' );
875: END restrict_by_supervisor;
876: --
877: --

Line 888: (NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag

884: RETURN BOOLEAN
885: IS
886: BEGIN
887: RETURN
888: (NVL(hr_signon.g_hr_security_profile.view_all_payrolls_flag
889: ,g_context.view_all_payrolls_flag) = 'Y' );
890: END view_all_payrolls;
891: --
892: --

Line 903: (NVL(hr_signon.g_hr_security_profile.exclude_person_flag

899: RETURN BOOLEAN
900: IS
901: BEGIN
902: RETURN
903: (NVL(hr_signon.g_hr_security_profile.exclude_person_flag
904: ,g_context.exclude_person_flag) = 'Y' );
905: END exclude_person;
906: --
907: -----------------------------------------------------------------------

Line 919: hr_signon.initialize_hr_security;

915: IS
916: begin
917:
918: IF globals_need_refreshing THEN
919: hr_signon.initialize_hr_security;
920: initialise_globals;
921: END IF;
922: --
923: -- return g_person_list.exists(p_person_id); -- Fixed for bug 5985232

Line 1748: hr_signon.initialize_hr_security;

1744: --
1745: -- 3676633
1746: --
1747: IF ( globals_need_refreshing ) THEN
1748: hr_signon.initialize_hr_security;
1749: initialise_globals;
1750: END IF;
1751:
1752:

Line 1873: hr_signon.initialize_hr_security;

1869: -- by calling evaluate_access with the g_mo_contexts (see below).
1870: -- If MO: Security Profile has no value, the context is already
1871: -- set to HR: Security Profile.
1872: --
1873: hr_signon.initialize_hr_security;
1874: initialise_globals;
1875: END IF;
1876:
1877: --

Line 2026: hr_signon.initialize_hr_security;

2022: ,p_assignment_id number) is
2023: begin
2024:
2025: IF globals_need_refreshing THEN
2026: hr_signon.initialize_hr_security;
2027: initialise_globals;
2028: END IF;
2029:
2030: IF g_context.view_all_flag <> 'Y' AND

Line 2049: hr_signon.initialize_hr_security;

2045: --
2046: begin
2047: --
2048: if globals_need_refreshing then
2049: hr_signon.initialize_hr_security;
2050: initialise_globals;
2051: end if;
2052: --
2053: if g_context.view_all_flag <> 'Y' then

Line 2084: hr_signon.initialize_hr_security;

2080: p_security_Profile_id number) is
2081: begin
2082: --
2083: IF globals_need_refreshing THEN
2084: hr_signon.initialize_hr_security;
2085: initialise_globals;
2086: END IF;
2087: --
2088: IF g_context.view_all_flag <> 'Y' AND

Line 2113: hr_signon.initialize_hr_security;

2109: p_security_profile_id number) is
2110: begin
2111: --
2112: IF globals_need_refreshing THEN
2113: hr_signon.initialize_hr_security;
2114: initialise_globals;
2115: END IF;
2116: --
2117: IF g_context.view_all_flag <> 'Y' AND

Line 2141: hr_signon.initialize_hr_security;

2137: (p_payroll_id number) is
2138: begin
2139:
2140: IF globals_need_refreshing THEN
2141: hr_signon.initialize_hr_security;
2142: initialise_globals;
2143: END IF;
2144:
2145: IF g_context.view_all_flag <> 'Y' AND

Line 2165: hr_signon.initialize_hr_security;

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;
2167: end if;
2168:
2169: return g_context.business_group_id;

Line 2189: hr_signon.initialize_hr_security;

2185: --
2186: -- Ensure the cache is up to date.
2187: --
2188: IF globals_need_refreshing THEN
2189: hr_signon.initialize_hr_security;
2190: initialise_globals;
2191: END IF;
2192:
2193: --

Line 2196: RETURN (NVL(hr_signon.g_hr_security_profile.restrict_on_individual_asg

2192:
2193: --
2194: -- Return the restrict on individual assignment flag.
2195: --
2196: RETURN (NVL(hr_signon.g_hr_security_profile.restrict_on_individual_asg
2197: ,NVL(g_context.restrict_on_individual_asg, 'N')) = 'Y');
2198:
2199: END restrict_on_individual_asg;
2200: --

Line 2214: hr_signon.initialize_hr_security;

2210: --
2211: -- Ensure the cache is up to date.
2212: --
2213: IF globals_need_refreshing THEN
2214: hr_signon.initialize_hr_security;
2215: initialise_globals;
2216: END IF;
2217:
2218: --

Line 2221: RETURN (NVL(hr_signon.g_hr_security_profile.restrict_on_individual_asg

2217:
2218: --
2219: -- Return the type of supervisor security.
2220: --
2221: RETURN (NVL(hr_signon.g_hr_security_profile.restrict_on_individual_asg
2222: ,NVL(g_context.restrict_on_individual_asg, 'N')));
2223:
2224: END restrict_by_supervisor_flag;
2225: --

Line 2270: hr_signon.initialize_hr_security;

2266: BEGIN
2267: --
2268: -- Initialise package global variables
2269: --
2270: hr_signon.initialize_hr_security;
2271: Initialise_Globals;
2272: --
2273: END HR_SECURITY;