DBA Data[Home] [Help]

APPS.WF_PREF dependencies on WF_CORE

Line 13: -- 1. wf_core errors

9: --
10: -- Error (PRIVATE)
11: -- Print a page with an error message.
12: -- Errors are retrieved from these sources in order:
13: -- 1. wf_core errors
14: -- 2. Oracle errors
15: -- 3. Unspecified INTERNAL error
16: --
17: procedure Error

Line 47: htp.p('');

43: );
44:
45: htp.p(' ');
46:
47: htp.p('');
48:
49: EXCEPTION
50: WHEN OTHERS THEN
51: Wf_Core.Context('wf_pref',

Line 51: Wf_Core.Context('wf_pref',

47: htp.p('');
48:
49: EXCEPTION
50: WHEN OTHERS THEN
51: Wf_Core.Context('wf_pref',
52: 'get_open_lov_window_html');
53: RAISE;
54:
55: END get_open_lov_window_html;

Line 75: window.alert("' || wf_core.translate('WFPREF_LDAP_PASSWORD_LEN') ||'");

71: {
72: if ( document.WF_PREF.p_ldap_npwd.value.length < 5 )
73: {
74: l_submit = false;
75: window.alert("' || wf_core.translate('WFPREF_LDAP_PASSWORD_LEN') ||'");
76: document.WF_PREF.p_ldap_npwd.focus();
77: }
78: else if( document.WF_PREF.p_ldap_npwd.value != document.WF_PREF.p_ldap_rpwd.value )
79: {

Line 81: window.alert("' || wf_core.translate('WFPREF_LDAP_PASSWORD_MISMATCH') || '");

77: }
78: else if( document.WF_PREF.p_ldap_npwd.value != document.WF_PREF.p_ldap_rpwd.value )
79: {
80: l_submit = false;
81: window.alert("' || wf_core.translate('WFPREF_LDAP_PASSWORD_MISMATCH') || '");
82: document.WF_PREF.p_ldap_rpwd.focus();
83: }
84: }
85: if ( l_submit == true)

Line 92: htp.p('');

88: );
89:
90: htp.p(' ');
91:
92: htp.p('');
93:
94: EXCEPTION
95: WHEN OTHERS THEN
96: Wf_Core.Context('wf_pref',

Line 96: Wf_Core.Context('wf_pref',

92: htp.p('');
93:
94: EXCEPTION
95: WHEN OTHERS THEN
96: Wf_Core.Context('wf_pref',
97: 'validate_password');
98: RAISE;
99:
100: END validate_password;

Line 120: wf_core.context('Wf_Pref', 'create_reg_button',when_pressed_url,onmouseover,

116:
117: exception
118: when others then
119: rollback;
120: wf_core.context('Wf_Pref', 'create_reg_button',when_pressed_url,onmouseover,
121: icon_top,icon_name,show_text);
122: wf_pref.Error;
123:
124: end create_reg_button;

Line 137: wf_core.context('Wf_Pref', 'Edit', edit_defaults);

133: null;
134: exception
135: when others then
136: rollback;
137: wf_core.context('Wf_Pref', 'Edit', edit_defaults);
138: wf_pref.Error;
139: end edit;
140:
141: --

Line 152: wf_core.context('Wf_Pref', 'Edit_Form', edit_defaults);

148: null;
149: exception
150: when others then
151: rollback;
152: wf_core.context('Wf_Pref', 'Edit_Form', edit_defaults);
153: wf_pref.Error;
154: end edit_form;
155:
156: --

Line 192: htp.p(wf_core.translate('WFPREF_LANGUAGE_PROMPT'));

188: AND installed_flag = 'Y';
189:
190: END IF;
191:
192: htp.p(wf_core.translate('WFPREF_LANGUAGE_PROMPT'));
193: htp.p('3');
194: htp.p(TO_CHAR(l_row_count));
195: htp.p(wf_core.translate('WFPREF_LANGUAGE_PROMPT'));
196: htp.p('50');

Line 195: htp.p(wf_core.translate('WFPREF_LANGUAGE_PROMPT'));

191:
192: htp.p(wf_core.translate('WFPREF_LANGUAGE_PROMPT'));
193: htp.p('3');
194: htp.p(TO_CHAR(l_row_count));
195: htp.p(wf_core.translate('WFPREF_LANGUAGE_PROMPT'));
196: htp.p('50');
197: htp.p(wf_core.translate('WFPREF_TERRITORY_PROMPT'));
198: htp.p('50');
199: htp.p('CODE');

Line 197: htp.p(wf_core.translate('WFPREF_TERRITORY_PROMPT'));

193: htp.p('3');
194: htp.p(TO_CHAR(l_row_count));
195: htp.p(wf_core.translate('WFPREF_LANGUAGE_PROMPT'));
196: htp.p('50');
197: htp.p(wf_core.translate('WFPREF_TERRITORY_PROMPT'));
198: htp.p('50');
199: htp.p('CODE');
200: htp.p('0');
201:

Line 228: wf_core.context('Wf_Pref', 'lang_lov',p_titles_only, p_find_criteria);

224:
225: exception
226: when others then
227: rollback;
228: wf_core.context('Wf_Pref', 'lang_lov',p_titles_only, p_find_criteria);
229: wf_pref.Error;
230: END lang_lov;
231:
232: --

Line 272: htp.p(wf_core.translate('WFPREF_TERRITORY_PROMPT'));

268: AND installed_flag = 'Y';
269:
270: END IF;
271:
272: htp.p(wf_core.translate('WFPREF_TERRITORY_PROMPT'));
273: htp.p('3');
274: htp.p(TO_CHAR(l_row_count));
275: htp.p(wf_core.translate('WFPREF_TERRITORY_PROMPT'));
276: htp.p('50');

Line 275: htp.p(wf_core.translate('WFPREF_TERRITORY_PROMPT'));

271:
272: htp.p(wf_core.translate('WFPREF_TERRITORY_PROMPT'));
273: htp.p('3');
274: htp.p(TO_CHAR(l_row_count));
275: htp.p(wf_core.translate('WFPREF_TERRITORY_PROMPT'));
276: htp.p('50');
277: htp.p(wf_core.translate('WFPREF_LANGUAGE_PROMPT'));
278: htp.p('50');
279: htp.p('Code');

Line 277: htp.p(wf_core.translate('WFPREF_LANGUAGE_PROMPT'));

273: htp.p('3');
274: htp.p(TO_CHAR(l_row_count));
275: htp.p(wf_core.translate('WFPREF_TERRITORY_PROMPT'));
276: htp.p('50');
277: htp.p(wf_core.translate('WFPREF_LANGUAGE_PROMPT'));
278: htp.p('50');
279: htp.p('Code');
280: htp.p('0');
281:

Line 308: wf_core.context('Wf_Pref', 'Terr_lov',p_titles_only, p_find_criteria);

304:
305: exception
306: when others then
307: rollback;
308: wf_core.context('Wf_Pref', 'Terr_lov',p_titles_only, p_find_criteria);
309: wf_pref.Error;
310: END terr_lov;
311:
312: --

Line 350: htp.p(wf_core.translate('WFPREF_DMHOME_PROMPT'));

346: WHERE node_name like p_find_criteria||'%';
347:
348: END IF;
349:
350: htp.p(wf_core.translate('WFPREF_DMHOME_PROMPT'));
351: htp.p('3');
352: htp.p(TO_CHAR(l_row_count));
353: htp.p(wf_core.translate('WFPREF_DMHOME_PROMPT'));
354: htp.p('40');

Line 353: htp.p(wf_core.translate('WFPREF_DMHOME_PROMPT'));

349:
350: htp.p(wf_core.translate('WFPREF_DMHOME_PROMPT'));
351: htp.p('3');
352: htp.p(TO_CHAR(l_row_count));
353: htp.p(wf_core.translate('WFPREF_DMHOME_PROMPT'));
354: htp.p('40');
355: htp.p(wf_core.translate('DESCRIPTION'));
356: htp.p('60');
357: htp.p('NODE_ID');

Line 355: htp.p(wf_core.translate('DESCRIPTION'));

351: htp.p('3');
352: htp.p(TO_CHAR(l_row_count));
353: htp.p(wf_core.translate('WFPREF_DMHOME_PROMPT'));
354: htp.p('40');
355: htp.p(wf_core.translate('DESCRIPTION'));
356: htp.p('60');
357: htp.p('NODE_ID');
358: htp.p('0');
359:

Line 386: wf_core.context('Wf_Pref', 'DM_lov',p_titles_only, p_find_criteria);

382:
383: exception
384: when others then
385: rollback;
386: wf_core.context('Wf_Pref', 'DM_lov',p_titles_only, p_find_criteria);
387: wf_pref.Error;
388: END DM_LOV;
389:
390:

Line 472: l_onmouseover varchar2(240) := wf_core.translate ('WFPREF_LOV');

468: l_test_date varchar2(40);
469: l_media varchar2(240) := wfa_html.image_loc;
470: l_icon varchar2(30) := 'FNDILOV.gif';
471: l_text varchar2(30) := '';
472: l_onmouseover varchar2(240) := wf_core.translate ('WFPREF_LOV');
473: l_error_msg varchar2(2000) := NULL;
474: l_sguid raw(16);
475: rowid varchar2(30);
476:

Line 490: admin_role := wf_core.translate('WF_ADMIN_ROLE');

486: username := upper(username);
487: wf_directory.GetRoleInfo(username, realname, s0, s0, s0, s0);
488: IF (p_edit_defaults = 'Y') THEN
489: admin_mode := 'N';
490: admin_role := wf_core.translate('WF_ADMIN_ROLE');
491: if (admin_role = '*' or
492: Wf_Directory.IsPerformer(username, admin_role)) then
493: admin_mode := 'Y';
494: username := '-WF_DEFAULT-';

Line 497: l_error_msg := wf_core.translate('WFPREF_INVALID_ADMIN');

493: admin_mode := 'Y';
494: username := '-WF_DEFAULT-';
495: else
496: -- cannot edit defaults unless you're the administrator
497: l_error_msg := wf_core.translate('WFPREF_INVALID_ADMIN');
498:
499: end if;
500:
501: END IF;

Line 532: l_error_msg := wf_core.translate ('WFPREF_INVALID_COMBO');

528: AND installed_flag = 'Y';
529:
530: IF (l_combo_count = 0) THEN
531:
532: l_error_msg := wf_core.translate ('WFPREF_INVALID_COMBO');
533:
534: END IF;
535:
536:

Line 550: l_error_msg := wf_core.translate ('WFPREF_INVALID_LANGUAGE');

546: END IF;
547:
548: ELSE
549:
550: l_error_msg := wf_core.translate ('WFPREF_INVALID_LANGUAGE');
551:
552: END IF;
553:
554: -- Validate the territory preference

Line 581: l_error_msg := wf_core.translate ('WFPREF_INVALID_TERRITORY');

577: END IF;
578:
579: ELSE
580:
581: l_error_msg := wf_core.translate ('WFPREF_INVALID_TERRITORY');
582:
583: END IF;
584:
585: -- Validate the date format

Line 594: l_error_msg := wf_core.translate ('WFPREF_INVALID_DATE_FORMAT') ||

590: FROM dual;
591:
592: EXCEPTION
593: WHEN OTHERS THEN
594: l_error_msg := wf_core.translate ('WFPREF_INVALID_DATE_FORMAT') ||
595: ': ' || p_date_format;
596:
597: END;
598:

Line 637: l_ldap_error := wf_core.translate ('WFPREF_INVALID_LDAP_PASSWORD');

633: END IF;
634:
635: IF (l_ldap_opwd <> 'x' OR length(p_ldap_rpwd) > 0) THEN
636: IF (l_ldap_pwd <> l_ldap_opwd) THEN
637: l_ldap_error := wf_core.translate ('WFPREF_INVALID_LDAP_PASSWORD');
638: END IF;
639:
640: -- New password updated only if the Old password is valid
641: IF (l_ldap_error IS NULL) THEN

Line 709: l_error_msg := wf_core.translate ('WFPREF_INVALID_ROLE_NAME')||

705: WHERE type = 'WFTKN'
706: AND name = 'WF_ADMIN_ROLE';
707:
708: ELSE
709: l_error_msg := wf_core.translate ('WFPREF_INVALID_ROLE_NAME')||
710: ': ' || UPPER(p_display_admin_role);
711:
712: END IF;
713:

Line 810: wf_core.context('Wf_Pref', 'update_pref',

806: END IF;
807: exception
808: when others then
809: rollback;
810: wf_core.context('Wf_Pref', 'update_pref',
811: p_language ,
812: p_territory ,
813: p_admin_role,
814: p_display_admin_role );