DBA Data[Home] [Help]

APPS.HR_UTIL_MISC_WEB dependencies on HR_UTIL_MISC_WEB

Line 1: PACKAGE BODY hr_util_misc_web AS

1: PACKAGE BODY hr_util_misc_web AS
2: /* $Header: hrutlmsw.pkb 120.2 2012/02/03 09:49:44 shpatro ship $ */
3:
4: g_debug boolean := hr_utility.debug_enabled;
5: g_package varchar2(31) := 'hr_util_misc_web.';

Line 5: g_package varchar2(31) := 'hr_util_misc_web.';

1: PACKAGE BODY hr_util_misc_web AS
2: /* $Header: hrutlmsw.pkb 120.2 2012/02/03 09:49:44 shpatro ship $ */
3:
4: g_debug boolean := hr_utility.debug_enabled;
5: g_package varchar2(31) := 'hr_util_misc_web.';
6: g_owa_package varchar2(2000) := hr_util_misc_web.g_owa||g_package;
7: --
8: g_image_directory varchar2(30) default null;
9: g_html_directory varchar2(30) default null;

Line 6: g_owa_package varchar2(2000) := hr_util_misc_web.g_owa||g_package;

2: /* $Header: hrutlmsw.pkb 120.2 2012/02/03 09:49:44 shpatro ship $ */
3:
4: g_debug boolean := hr_utility.debug_enabled;
5: g_package varchar2(31) := 'hr_util_misc_web.';
6: g_owa_package varchar2(2000) := hr_util_misc_web.g_owa||g_package;
7: --
8: g_image_directory varchar2(30) default null;
9: g_html_directory varchar2(30) default null;
10:

Line 149: g_image_directory := hr_util_misc_web.g_image_dir;

145: BEGIN
146: hr_utility.set_location('Entering: '|| l_proc,5);
147: --
148: IF g_image_directory IS null THEN
149: g_image_directory := hr_util_misc_web.g_image_dir;
150: END IF;
151: --
152: hr_utility.set_location('Leaving: '|| l_proc,10);
153: RETURN g_image_directory;

Line 172: RETURN (hr_util_misc_web.g_html_dir || 'webtools/jslib/cabo_calendar.html');

168: l_proc constant varchar2(100) := g_package || ' get_calendar_file';
169: BEGIN
170: hr_utility.set_location('Entering: '|| l_proc,5);
171: hr_utility.set_location('Leaving: '|| l_proc,10);
172: RETURN (hr_util_misc_web.g_html_dir || 'webtools/jslib/cabo_calendar.html');
173: END get_calendar_file;
174:
175:
176: -- ------------------------------------------------------------------------

Line 187: g_html_directory := hr_util_misc_web.g_html_dir||get_language_code||'/';

183: BEGIN
184: hr_utility.set_location('Entering: '|| l_proc,5);
185: --
186: IF g_html_directory IS null THEN
187: g_html_directory := hr_util_misc_web.g_html_dir||get_language_code||'/';
188: END IF;
189: --
190: hr_utility.set_location('Leaving: '|| l_proc,10);
191: RETURN g_html_directory;

Line 717: return hr_util_misc_web.g_lookup_values_tab_type is

713: --
714: Function validate_date_lookup_code
715: (p_lookup_type in varchar2
716: ,p_effective_date in date default trunc(sysdate))
717: return hr_util_misc_web.g_lookup_values_tab_type is
718: --
719: cursor get_lookup_code_meaning is
720: select lookup_code, meaning
721: from hr_lookups

Line 730: l_lookup_code_meaning_rec_tbl hr_util_misc_web.g_lookup_values_tab_type

726: and nvl(end_date_active,hr_api.g_eot)
727: order by lookup_code;
728: --
729: l_lookup_code_meaning_row get_lookup_code_meaning%rowtype;
730: l_lookup_code_meaning_rec_tbl hr_util_misc_web.g_lookup_values_tab_type
731: default hr_util_misc_web.g_lookup_values_tab_default;
732: l_index binary_integer default 0;
733: l_length number default 0;
734: l_time_period varchar2(10) default null;

Line 731: default hr_util_misc_web.g_lookup_values_tab_default;

727: order by lookup_code;
728: --
729: l_lookup_code_meaning_row get_lookup_code_meaning%rowtype;
730: l_lookup_code_meaning_rec_tbl hr_util_misc_web.g_lookup_values_tab_type
731: default hr_util_misc_web.g_lookup_values_tab_default;
732: l_index binary_integer default 0;
733: l_length number default 0;
734: l_time_period varchar2(10) default null;
735: l_length_of_time varchar2(10) default null;

Line 799: raise hr_util_misc_web.g_invalid_time_period;

795: upper(l_time_period) = 'MP' or
796: upper(l_time_period) = 'MF' THEN
797: null;
798: ELSE
799: raise hr_util_misc_web.g_invalid_time_period;
800: END IF;
801: --
802: EXCEPTION
803: WHEN g_invalid_time_period THEN

Line 843: raise hr_util_misc_web.g_invalid_time_unit;

839: l_lookup_code_meaning_rec_tbl(l_index).meaning :=
840: l_lookup_code_meaning_row.meaning;
841: END IF;
842: ELSE
843: raise hr_util_misc_web.g_invalid_time_unit;
844: END IF;
845: --
846: Exception
847: WHEN g_invalid_time_unit THEN

Line 1045: hr_util_misc_web.validate_session

1041: l_proc constant varchar2(100) := g_package || ' validate_session';
1042: --
1043: BEGIN
1044: hr_utility.set_location('Entering: '|| l_proc,5);
1045: hr_util_misc_web.validate_session
1046: (p_person_id => l_person_id
1047: ,p_web_username => l_web_username
1048: ,p_check_ota => p_check_ota
1049: ,p_check_ben => p_check_ben

Line 1250: l_url := hr_util_misc_web.get_owa_url || p_url;

1246: l_proc constant varchar2(100) := g_package || ' get_complete_url';
1247: BEGIN
1248: hr_utility.set_location('Entering: '|| l_proc,5);
1249: IF p_url IS NOT NULL THEN
1250: l_url := hr_util_misc_web.get_owa_url || p_url;
1251: ELSE
1252: l_url := hr_util_misc_web.get_owa_url;
1253: END IF;
1254: hr_utility.set_location('Leaving: '|| l_proc,10);

Line 1252: l_url := hr_util_misc_web.get_owa_url;

1248: hr_utility.set_location('Entering: '|| l_proc,5);
1249: IF p_url IS NOT NULL THEN
1250: l_url := hr_util_misc_web.get_owa_url || p_url;
1251: ELSE
1252: l_url := hr_util_misc_web.get_owa_url;
1253: END IF;
1254: hr_utility.set_location('Leaving: '|| l_proc,10);
1255: RETURN l_url;
1256: END get_complete_url;

Line 1312: hr_util_misc_web.validate_session(p_person_id => l_person_id

1308: -- If person id is passed then, reusme for this person is fetched else,
1309: -- resume for the logged in person is retrieved.
1310: ----------------------------------------------------------------------------
1311: IF p_person_id IS NULL THEN
1312: hr_util_misc_web.validate_session(p_person_id => l_person_id
1313: ,p_icx_update => false -- 10/15/97 Changed
1314: ,p_icx_commit => false); -- 10/15/97 Changed
1315: ELSE
1316: l_person_id := p_person_id;

Line 2098: hr_util_misc_web.validate_session(p_person_id => g_person_id,p_icx_update => false);

2094: ,itemkey => p_item_key
2095: ,aname => 'P_PERSON_ID');
2096:
2097: -- get the g_person_id from validate session
2098: hr_util_misc_web.validate_session(p_person_id => g_person_id,p_icx_update => false);
2099:
2100: IF l_text_value IS NULL OR to_number(l_text_value) = g_person_id THEN
2101: hr_utility.set_location('Leaving: '|| l_proc,10);
2102: RETURN TRUE; -- Manager updating him/herself or EDA mode

Line 2399: hr_utility.trace(' Exception in hr_util_misc_web.check_businss_group ' || SQLERRM );

2395: fetch check_person into l_person_id;
2396: if check_person%notfound then
2397: close check_person;
2398: fnd_message.set_name('PER', 'HR_INVALID_SECURITY_PERMISSION');
2399: hr_utility.trace(' Exception in hr_util_misc_web.check_businss_group ' || SQLERRM );
2400: raise invalid_security_permission;
2401: end if;
2402: close check_person;
2403: /*

Line 2414: hr_utility.trace(' Exception HR_INVALID_SECURITY_PERMISSION in hr_util_misc_web.check_business_group ' || SQLERRM );

2410:
2411: hr_utility.set_location('Leaving: '|| l_proc,15);
2412: EXCEPTION
2413: when invalid_security_permission then
2414: hr_utility.trace(' Exception HR_INVALID_SECURITY_PERMISSION in hr_util_misc_web.check_business_group ' || SQLERRM );
2415: hr_utility.set_location('Leaving: '|| l_proc,15);
2416: raise;
2417: when others then
2418: hr_utility.trace(' Exception in hr_util_misc_web.check_business_group ' || SQLERRM );

Line 2418: hr_utility.trace(' Exception in hr_util_misc_web.check_business_group ' || SQLERRM );

2414: hr_utility.trace(' Exception HR_INVALID_SECURITY_PERMISSION in hr_util_misc_web.check_business_group ' || SQLERRM );
2415: hr_utility.set_location('Leaving: '|| l_proc,15);
2416: raise;
2417: when others then
2418: hr_utility.trace(' Exception in hr_util_misc_web.check_business_group ' || SQLERRM );
2419: hr_utility.set_location('Leaving: '|| l_proc,15);
2420: raise;
2421: END check_business_group;
2422:

Line 2443: END hr_util_misc_web;

2439: END IF;
2440: hr_utility.set_location('Leaving: '|| l_proc,10);
2441: END initialize_hr_globals;
2442:
2443: END hr_util_misc_web;