DBA Data[Home] [Help]

APPS.WF_EVENT_HTML dependencies on WF_CORE

Line 96: if x_guid = hextoraw(wf_core.translate('WF_SYSTEM_GUID')) then

92:
93: -- also check if it is the Local System
94: if (x_type = 'SYSTEM') then
95: -- Compare the GUID against the Local System GUID
96: if x_guid = hextoraw(wf_core.translate('WF_SYSTEM_GUID')) then
97: return false;
98: end if;
99: end if;
100:

Line 117: wf_core.context('WF_EVENT_HTML', 'isDeletable', rawtohex(x_guid), x_type);

113: return TRUE;
114:
115: exception
116: when OTHERS then
117: wf_core.context('WF_EVENT_HTML', 'isDeletable', rawtohex(x_guid), x_type);
118: raise;
119: end isDeletable;
120: --
121: -- isAccessible

Line 137: where guid = hextoraw(wf_core.translate('WF_SYSTEM_GUID'));

133: -- that matched the WF_SYSTEM_GUID
134: -- this is always checked
135: select count(*) into l_count
136: from wf_systems
137: where guid = hextoraw(wf_core.translate('WF_SYSTEM_GUID'));
138:
139: if l_count = 0 then
140: wf_core.raise('WFE_NO_SYSTEM');
141: end if;

Line 140: wf_core.raise('WFE_NO_SYSTEM');

136: from wf_systems
137: where guid = hextoraw(wf_core.translate('WF_SYSTEM_GUID'));
138:
139: if l_count = 0 then
140: wf_core.raise('WFE_NO_SYSTEM');
141: end if;
142:
143: -- SYSTEM: in case we think of any additional checks
144: if x_type = 'SYSTEM' then

Line 152: where system_guid = hextoraw(wf_core.translate('WF_SYSTEM_GUID'));

148: -- AGENTS: check if any exist for Local System
149: if x_type = 'AGENTS' then
150: select count(*) into l_count
151: from wf_agents
152: where system_guid = hextoraw(wf_core.translate('WF_SYSTEM_GUID'));
153: end if;
154:
155: -- EVENTS: check if any events
156: if x_type = 'EVENTS' then

Line 165: where system_guid = hextoraw(wf_core.translate('WF_SYSTEM_GUID'));

161: -- SUBSCRIPTIONS: check if any event subscriptions for LOCAL
162: if x_type = 'SUBSCRIPTIONS' then
163: select count(*) into l_count
164: from wf_event_subscriptions
165: where system_guid = hextoraw(wf_core.translate('WF_SYSTEM_GUID'));
166: end if;
167:
168: -- If the count is zero, we didn't find what we were looking for
169: if l_count = 0 then

Line 170: wf_core.raise('WFE_NO_SEEDDATA_LOADED');

166: end if;
167:
168: -- If the count is zero, we didn't find what we were looking for
169: if l_count = 0 then
170: wf_core.raise('WFE_NO_SEEDDATA_LOADED');
171: end if;
172:
173: exception
174: when OTHERS then

Line 175: wf_core.context('WF_EVENT_HTML', 'isAccessible', x_type);

171: end if;
172:
173: exception
174: when OTHERS then
175: wf_core.context('WF_EVENT_HTML', 'isAccessible', x_type);
176: raise;
177: end isAccessible;
178:
179: -- ListEvents

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

217: username := upper(username);
218: wf_events_pkg.setMode;
219:
220: -- Check Admin Priviledge
221: admin_role := wf_core.translate('WF_ADMIN_ROLE');
222: if (admin_role = '*' or
223: Wf_Directory.IsPerformer(username, admin_role)) then
224: -- Have admin privledge, do nothing.
225: null;

Line 227: wf_core.raise('WF_NOTADMIN');

223: Wf_Directory.IsPerformer(username, admin_role)) then
224: -- Have admin privledge, do nothing.
225: null;
226: else
227: wf_core.raise('WF_NOTADMIN');
228: end if;
229:
230: -- Check if Accessible
231: wf_event_html.isAccessible('EVENTS');

Line 288: dTab(i).col03:= wf_core.translate(event.type);

284: i := i+1;
285: dTab(i).guid := event.guid;
286: dTab(i).col01:= event.name;
287: dTab(i).col02:= event.display_name;
288: dTab(i).col03:= wf_core.translate(event.type);
289: dTab(i).col04:= wf_core.translate(event.status);
290:
291: dTab(i).selectable := FALSE;
292:

Line 289: dTab(i).col04:= wf_core.translate(event.status);

285: dTab(i).guid := event.guid;
286: dTab(i).col01:= event.name;
287: dTab(i).col02:= event.display_name;
288: dTab(i).col03:= wf_core.translate(event.type);
289: dTab(i).col04:= wf_core.translate(event.status);
290:
291: dTab(i).selectable := FALSE;
292:
293: dTab(i).hasdetail := not Wf_Event_Html.isDeletable(event.guid, 'EVENT_S');

Line 316: htp.title(wf_core.translate('WFE_LIST_EVENTS_TITLE'));

312: -- list does not get updated after editevent, so we add the
313: -- following tag to force the reload of page.
314: htp.p('');
315:
316: htp.title(wf_core.translate('WFE_LIST_EVENTS_TITLE'));
317: wfa_html.create_help_function('wf/links/def.htm?'||'DEFEVT');
318: fnd_document_management.get_open_dm_display_window;
319:
320: Wfe_Html_Util.generate_confirm;

Line 327: wf_core.translate('WFE_LIST_EVENTS_TITLE'),

323:
324: -- Page header
325: wfa_sec.Header(FALSE,
326: owa_util.get_owa_service_path||'wf_event_html.FindEvent',
327: wf_core.translate('WFE_LIST_EVENTS_TITLE'),
328: TRUE);
329:
330: htp.br; -- add some space between header and table
331:

Line 345: hTab(i).value := wf_core.translate('SUBSCRIPTIONS');

341: hTab(i).def_type := 'FUNCTION';
342: hTab(i).value := 'Wf_Event_Html.EditEvent?h_guid=';
343: i := i+1;
344: hTab(i).def_type := 'TITLE';
345: hTab(i).value := wf_core.translate('SUBSCRIPTIONS');
346: hTab(i).attr := 'id="'||wf_core.translate('SUBSCRIPTIONS')||'"';
347: i := i+1;
348: hTab(i).def_type := 'TITLE';
349: hTab(i).value := wf_core.translate('EDIT');

Line 346: hTab(i).attr := 'id="'||wf_core.translate('SUBSCRIPTIONS')||'"';

342: hTab(i).value := 'Wf_Event_Html.EditEvent?h_guid=';
343: i := i+1;
344: hTab(i).def_type := 'TITLE';
345: hTab(i).value := wf_core.translate('SUBSCRIPTIONS');
346: hTab(i).attr := 'id="'||wf_core.translate('SUBSCRIPTIONS')||'"';
347: i := i+1;
348: hTab(i).def_type := 'TITLE';
349: hTab(i).value := wf_core.translate('EDIT');
350: i := i+1;

Line 349: hTab(i).value := wf_core.translate('EDIT');

345: hTab(i).value := wf_core.translate('SUBSCRIPTIONS');
346: hTab(i).attr := 'id="'||wf_core.translate('SUBSCRIPTIONS')||'"';
347: i := i+1;
348: hTab(i).def_type := 'TITLE';
349: hTab(i).value := wf_core.translate('EDIT');
350: i := i+1;
351: hTab(i).def_type := 'TITLE';
352: hTab(i).value := wf_core.translate('NAME');
353: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';

Line 352: hTab(i).value := wf_core.translate('NAME');

348: hTab(i).def_type := 'TITLE';
349: hTab(i).value := wf_core.translate('EDIT');
350: i := i+1;
351: hTab(i).def_type := 'TITLE';
352: hTab(i).value := wf_core.translate('NAME');
353: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
354: i := i+1;
355: hTab(i).def_type := 'TITLE';
356: hTab(i).value := wf_core.translate('DISPLAY_NAME');

Line 353: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';

349: hTab(i).value := wf_core.translate('EDIT');
350: i := i+1;
351: hTab(i).def_type := 'TITLE';
352: hTab(i).value := wf_core.translate('NAME');
353: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
354: i := i+1;
355: hTab(i).def_type := 'TITLE';
356: hTab(i).value := wf_core.translate('DISPLAY_NAME');
357: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';

Line 356: hTab(i).value := wf_core.translate('DISPLAY_NAME');

352: hTab(i).value := wf_core.translate('NAME');
353: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
354: i := i+1;
355: hTab(i).def_type := 'TITLE';
356: hTab(i).value := wf_core.translate('DISPLAY_NAME');
357: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
358: i := i+1;
359: hTab(i).def_type := 'TITLE';
360: hTab(i).value := wf_core.translate('TYPE');

Line 357: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';

353: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
354: i := i+1;
355: hTab(i).def_type := 'TITLE';
356: hTab(i).value := wf_core.translate('DISPLAY_NAME');
357: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
358: i := i+1;
359: hTab(i).def_type := 'TITLE';
360: hTab(i).value := wf_core.translate('TYPE');
361: hTab(i).attr := 'id="'||wf_core.translate('TYPE')||'"';

Line 360: hTab(i).value := wf_core.translate('TYPE');

356: hTab(i).value := wf_core.translate('DISPLAY_NAME');
357: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
358: i := i+1;
359: hTab(i).def_type := 'TITLE';
360: hTab(i).value := wf_core.translate('TYPE');
361: hTab(i).attr := 'id="'||wf_core.translate('TYPE')||'"';
362: i := i+1;
363: hTab(i).def_type := 'TITLE';
364: hTab(i).value := wf_core.translate('STATUS');

Line 361: hTab(i).attr := 'id="'||wf_core.translate('TYPE')||'"';

357: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
358: i := i+1;
359: hTab(i).def_type := 'TITLE';
360: hTab(i).value := wf_core.translate('TYPE');
361: hTab(i).attr := 'id="'||wf_core.translate('TYPE')||'"';
362: i := i+1;
363: hTab(i).def_type := 'TITLE';
364: hTab(i).value := wf_core.translate('STATUS');
365: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';

Line 364: hTab(i).value := wf_core.translate('STATUS');

360: hTab(i).value := wf_core.translate('TYPE');
361: hTab(i).attr := 'id="'||wf_core.translate('TYPE')||'"';
362: i := i+1;
363: hTab(i).def_type := 'TITLE';
364: hTab(i).value := wf_core.translate('STATUS');
365: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';
366:
367: -- render table
368: Wfe_Html_Util.Simple_Table(hTab, dTab);

Line 365: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';

361: hTab(i).attr := 'id="'||wf_core.translate('TYPE')||'"';
362: i := i+1;
363: hTab(i).def_type := 'TITLE';
364: hTab(i).value := wf_core.translate('STATUS');
365: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';
366:
367: -- render table
368: Wfe_Html_Util.Simple_Table(hTab, dTab);
369:

Line 374: wf_core.translate('WFE_ADD_EVENT'),

370: htp.tableopen (calign=>'CENTER ', cattributes=>'summary""');
371: htp.tableRowOpen;
372: htp.p('');
373: wfa_html.create_reg_button (wfa_html.base_url||'/Wf_Event_Html.EditEvent',
374: wf_core.translate('WFE_ADD_EVENT'),
375: wfa_html.image_loc,
376: null,
377: wf_core.translate('WFE_ADD_EVENT'));
378: htp.p('');

Line 377: wf_core.translate('WFE_ADD_EVENT'));

373: wfa_html.create_reg_button (wfa_html.base_url||'/Wf_Event_Html.EditEvent',
374: wf_core.translate('WFE_ADD_EVENT'),
375: wfa_html.image_loc,
376: null,
377: wf_core.translate('WFE_ADD_EVENT'));
378: htp.p('');
379: htp.p('');
380: wfa_html.create_reg_button (wfa_html.base_url||
381: '/Wf_Event_Html.EditEvent?h_type=GROUP',

Line 382: wf_core.translate('WFE_ADD_GROUP'),

378: htp.p('');
379: htp.p('');
380: wfa_html.create_reg_button (wfa_html.base_url||
381: '/Wf_Event_Html.EditEvent?h_type=GROUP',
382: wf_core.translate('WFE_ADD_GROUP'),
383: wfa_html.image_loc,
384: null,
385: wf_core.translate('WFE_ADD_GROUP'));
386: htp.p('');

Line 385: wf_core.translate('WFE_ADD_GROUP'));

381: '/Wf_Event_Html.EditEvent?h_type=GROUP',
382: wf_core.translate('WFE_ADD_GROUP'),
383: wfa_html.image_loc,
384: null,
385: wf_core.translate('WFE_ADD_GROUP'));
386: htp.p('');
387: htp.tableRowClose;
388: htp.tableClose;
389:

Line 396: wf_core.context('WF_EVENT_HTML', 'ListEvents');

392:
393: exception
394: when OTHERS then
395: rollback;
396: wf_core.context('WF_EVENT_HTML', 'ListEvents');
397: wfe_html_util.Error;
398: end ListEvents;
399:
400: --

Line 433: l_message varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('WFPREF_LOV'));

429:
430: l_mguid raw(16); -- master guid
431: l_mname varchar2(80); -- master name
432:
433: l_message varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('WFPREF_LOV'));
434: l_url varchar2(1000);
435: l_media varchar2(240) := wfa_html.image_loc;
436: l_icon varchar2(30) := 'FNDILOV.gif';
437: l_localsys raw(16);

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

448: username := upper(username);
449: wf_events_pkg.setMode;
450:
451: -- Check Admin Priviledge
452: admin_role := wf_core.translate('WF_ADMIN_ROLE');
453: if (admin_role = '*' or
454: Wf_Directory.IsPerformer(username, admin_role)) then
455: -- Have admin privledge, do nothing.
456: null;

Line 458: wf_core.raise('WF_NOTADMIN');

454: Wf_Directory.IsPerformer(username, admin_role)) then
455: -- Have admin privledge, do nothing.
456: null;
457: else
458: wf_core.raise('WF_NOTADMIN');
459: end if;
460:
461: -- Check if Accessible
462: wf_event_html.isAccessible('SYSTEM');

Line 547: wf_core.token('GUID', rawtohex(asystem.master_guid));

543: from WF_SYSTEMS
544: where GUID = asystem.master_guid;
545: exception
546: when NO_DATA_FOUND then
547: wf_core.token('GUID', rawtohex(asystem.master_guid));
548: l_mname := wf_core.translate('WFE_SYSTEM_NOGUID');
549: end;
550: end if;
551: dTab(i).col03 := l_mname;

Line 548: l_mname := wf_core.translate('WFE_SYSTEM_NOGUID');

544: where GUID = asystem.master_guid;
545: exception
546: when NO_DATA_FOUND then
547: wf_core.token('GUID', rawtohex(asystem.master_guid));
548: l_mname := wf_core.translate('WFE_SYSTEM_NOGUID');
549: end;
550: end if;
551: dTab(i).col03 := l_mname;
552:

Line 582: htp.title(wf_core.translate('WFE_LIST_SYSTEMS_TITLE'));

578: -- list does not get updated after editevent, so we add the
579: -- following tag to force the reload of page.
580: htp.p('');
581:
582: htp.title(wf_core.translate('WFE_LIST_SYSTEMS_TITLE'));
583: wfa_html.create_help_function('wf/links/def.htm?'||'DEFEVSYS');
584: fnd_document_management.get_open_dm_display_window;
585:
586: Wfe_Html_Util.generate_confirm;

Line 593: wf_core.translate('WFE_LIST_SYSTEMS_TITLE'),

589:
590: -- Page header
591: wfa_sec.Header(FALSE,
592: owa_util.get_owa_service_path||'wf_event_html.FindSystem',
593: wf_core.translate('WFE_LIST_SYSTEMS_TITLE'),
594: TRUE);
595:
596: htp.br; -- add some space between header and table
597:

Line 610: hTab(i).value := wf_core.translate('SUBSCRIPTIONS');

606: hTab(i).def_type := 'FUNCTION';
607: hTab(i).value := 'Wf_Event_Html.EditSystem?h_guid=';
608: i := i+1;
609: hTab(i).def_type := 'TITLE';
610: hTab(i).value := wf_core.translate('SUBSCRIPTIONS');
611: hTab(i).attr := 'id="'||wf_core.translate('SUBSCRIPTIONS')||'"';
612: i := i+1;
613: hTab(i).def_type := 'TITLE';
614: hTab(i).value := wf_core.translate('EDIT');

Line 611: hTab(i).attr := 'id="'||wf_core.translate('SUBSCRIPTIONS')||'"';

607: hTab(i).value := 'Wf_Event_Html.EditSystem?h_guid=';
608: i := i+1;
609: hTab(i).def_type := 'TITLE';
610: hTab(i).value := wf_core.translate('SUBSCRIPTIONS');
611: hTab(i).attr := 'id="'||wf_core.translate('SUBSCRIPTIONS')||'"';
612: i := i+1;
613: hTab(i).def_type := 'TITLE';
614: hTab(i).value := wf_core.translate('EDIT');
615: i := i+1;

Line 614: hTab(i).value := wf_core.translate('EDIT');

610: hTab(i).value := wf_core.translate('SUBSCRIPTIONS');
611: hTab(i).attr := 'id="'||wf_core.translate('SUBSCRIPTIONS')||'"';
612: i := i+1;
613: hTab(i).def_type := 'TITLE';
614: hTab(i).value := wf_core.translate('EDIT');
615: i := i+1;
616: hTab(i).def_type := 'TITLE';
617: hTab(i).value := wf_core.translate('NAME');
618: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';

Line 617: hTab(i).value := wf_core.translate('NAME');

613: hTab(i).def_type := 'TITLE';
614: hTab(i).value := wf_core.translate('EDIT');
615: i := i+1;
616: hTab(i).def_type := 'TITLE';
617: hTab(i).value := wf_core.translate('NAME');
618: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
619: i := i+1;
620: hTab(i).def_type := 'TITLE';
621: hTab(i).value := wf_core.translate('DISPLAY_NAME');

Line 618: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';

614: hTab(i).value := wf_core.translate('EDIT');
615: i := i+1;
616: hTab(i).def_type := 'TITLE';
617: hTab(i).value := wf_core.translate('NAME');
618: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
619: i := i+1;
620: hTab(i).def_type := 'TITLE';
621: hTab(i).value := wf_core.translate('DISPLAY_NAME');
622: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';

Line 621: hTab(i).value := wf_core.translate('DISPLAY_NAME');

617: hTab(i).value := wf_core.translate('NAME');
618: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
619: i := i+1;
620: hTab(i).def_type := 'TITLE';
621: hTab(i).value := wf_core.translate('DISPLAY_NAME');
622: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
623: i := i+1;
624: hTab(i).def_type := 'TITLE';
625: hTab(i).value := wf_core.translate('MASTER');

Line 622: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';

618: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
619: i := i+1;
620: hTab(i).def_type := 'TITLE';
621: hTab(i).value := wf_core.translate('DISPLAY_NAME');
622: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
623: i := i+1;
624: hTab(i).def_type := 'TITLE';
625: hTab(i).value := wf_core.translate('MASTER');
626: hTab(i).attr := 'id="'||wf_core.translate('MASTER')||'"';

Line 625: hTab(i).value := wf_core.translate('MASTER');

621: hTab(i).value := wf_core.translate('DISPLAY_NAME');
622: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
623: i := i+1;
624: hTab(i).def_type := 'TITLE';
625: hTab(i).value := wf_core.translate('MASTER');
626: hTab(i).attr := 'id="'||wf_core.translate('MASTER')||'"';
627:
628: -- render table
629:

Line 626: hTab(i).attr := 'id="'||wf_core.translate('MASTER')||'"';

622: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
623: i := i+1;
624: hTab(i).def_type := 'TITLE';
625: hTab(i).value := wf_core.translate('MASTER');
626: hTab(i).attr := 'id="'||wf_core.translate('MASTER')||'"';
627:
628: -- render table
629:
630: Wfe_Html_Util.Simple_Table(headerTab=>hTab, dataTab=>dTab,

Line 632: wf_core.translate('WFE_LIST_SYSTEMS_TITLE') || '"');

628: -- render table
629:
630: Wfe_Html_Util.Simple_Table(headerTab=>hTab, dataTab=>dTab,
631: tabattr=>'border=1 cellpadding=3 bgcolor=white width=100% summary="' ||
632: wf_core.translate('WFE_LIST_SYSTEMS_TITLE') || '"');
633:
634: -- message to indicate local system
635: htp.tableopen(calign=>'CENTER', cattributes=>'WIDTH=100%
636: summary="' || wf_core.translate('WFE_INDICATE_LOCAL_SYS') || '"');

Line 636: summary="' || wf_core.translate('WFE_INDICATE_LOCAL_SYS') || '"');

632: wf_core.translate('WFE_LIST_SYSTEMS_TITLE') || '"');
633:
634: -- message to indicate local system
635: htp.tableopen(calign=>'CENTER', cattributes=>'WIDTH=100%
636: summary="' || wf_core.translate('WFE_INDICATE_LOCAL_SYS') || '"');
637: htp.tableRowOpen;
638: htp.p('');
639: htp.p('* - '||wf_core.translate('WFE_INDICATE_LOCAL_SYS'));
640: htp.p('');

Line 638: htp.p('');

634: -- message to indicate local system
635: htp.tableopen(calign=>'CENTER', cattributes=>'WIDTH=100%
636: summary="' || wf_core.translate('WFE_INDICATE_LOCAL_SYS') || '"');
637: htp.tableRowOpen;
638: htp.p('');
639: htp.p('* - '||wf_core.translate('WFE_INDICATE_LOCAL_SYS'));
640: htp.p('');
641: htp.tableRowClose;
642: htp.tableClose;

Line 639: htp.p('* - '||wf_core.translate('WFE_INDICATE_LOCAL_SYS'));

635: htp.tableopen(calign=>'CENTER', cattributes=>'WIDTH=100%
636: summary="' || wf_core.translate('WFE_INDICATE_LOCAL_SYS') || '"');
637: htp.tableRowOpen;
638: htp.p('');
639: htp.p('* - '||wf_core.translate('WFE_INDICATE_LOCAL_SYS'));
640: htp.p('');
641: htp.tableRowClose;
642: htp.tableClose;
643:

Line 648: wf_core.translate('WFE_ADD_SYSTEM'),

644: htp.tableopen (calign=>'CENTER', cattributes=>'summary=""');
645: htp.tableRowOpen;
646: htp.p('');
647: wfa_html.create_reg_button (wfa_html.base_url||'/Wf_Event_Html.EditSystem',
648: wf_core.translate('WFE_ADD_SYSTEM'),
649: wfa_html.image_loc,
650: null,
651: wf_core.translate('WFE_ADD_SYSTEM'));
652: htp.p('');

Line 651: wf_core.translate('WFE_ADD_SYSTEM'));

647: wfa_html.create_reg_button (wfa_html.base_url||'/Wf_Event_Html.EditSystem',
648: wf_core.translate('WFE_ADD_SYSTEM'),
649: wfa_html.image_loc,
650: null,
651: wf_core.translate('WFE_ADD_SYSTEM'));
652: htp.p('');
653: htp.tableRowClose;
654: htp.tableClose;
655:

Line 662: wf_core.context('WF_EVENT_HTML', 'ListSystems');

658:
659: exception
660: when OTHERS then
661: rollback;
662: wf_core.context('WF_EVENT_HTML', 'ListSystems');
663: wfe_html_util.Error;
664: end ListSystems;
665:
666: --

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

722: username := upper(username);
723: wf_events_pkg.setMode;
724:
725: -- Check Admin Priviledge
726: admin_role := wf_core.translate('WF_ADMIN_ROLE');
727: if (admin_role = '*' or
728: Wf_Directory.IsPerformer(username, admin_role)) then
729: -- Have admin privledge, do nothing.
730: null;

Line 732: wf_core.raise('WF_NOTADMIN');

728: Wf_Directory.IsPerformer(username, admin_role)) then
729: -- Have admin privledge, do nothing.
730: null;
731: else
732: wf_core.raise('WF_NOTADMIN');
733: end if;
734:
735: -- Check if Accessible
736: wf_event_html.isAccessible('AGENTS');

Line 831: dTab(i).col01 := ''||wf_core.translate('SYSTEM')||': '||

827: dTab(i).guid := agent.guid;
828:
829: dTab(i).level := 1;
830: dTab(i).trattr := 'VALIGN=TOP bgcolor=#CCCCCC';
831: dTab(i).col01 := ''||wf_core.translate('SYSTEM')||': '||
832: agent.system_name||'
';
833: dTab(i).tdattr := 'id="' || WF_CORE.Translate('SYSTEM') || '"';
834:
835: prev_sname := agent.system_name;

Line 833: dTab(i).tdattr := 'id="' || WF_CORE.Translate('SYSTEM') || '"';

829: dTab(i).level := 1;
830: dTab(i).trattr := 'VALIGN=TOP bgcolor=#CCCCCC';
831: dTab(i).col01 := ''||wf_core.translate('SYSTEM')||': '||
832: agent.system_name||'
';
833: dTab(i).tdattr := 'id="' || WF_CORE.Translate('SYSTEM') || '"';
834:
835: prev_sname := agent.system_name;
836:
837: -- print title here

Line 859: dTab(i).col04:= wf_core.translate(agent.direction);

855: else
856: dTab(i).col02:= agent.address;
857: end if;
858: dTab(i).col03:= agent.protocol;
859: dTab(i).col04:= wf_core.translate(agent.direction);
860: dTab(i).col05:= wf_core.translate(agent.status);
861:
862: dTab(i).selectable := FALSE;
863:

Line 860: dTab(i).col05:= wf_core.translate(agent.status);

856: dTab(i).col02:= agent.address;
857: end if;
858: dTab(i).col03:= agent.protocol;
859: dTab(i).col04:= wf_core.translate(agent.direction);
860: dTab(i).col05:= wf_core.translate(agent.status);
861:
862: dTab(i).selectable := FALSE;
863:
864: dTab(i).deletable := Wf_Event_Html.isDeletable(agent.guid, 'AGENT');

Line 880: htp.title(wf_core.translate('WFE_LIST_AGENTS_TITLE'));

876: -- list does not get updated after editevent, so we add the
877: -- following tag to force the reload of page.
878: htp.p('');
879:
880: htp.title(wf_core.translate('WFE_LIST_AGENTS_TITLE'));
881: wfa_html.create_help_function('wf/links/def.htm?'||'DEFEVAGT');
882: fnd_document_management.get_open_dm_display_window;
883:
884: Wfe_Html_Util.generate_confirm;

Line 891: wf_core.translate('WFE_LIST_AGENTS_TITLE'),

887:
888: -- Page header
889: wfa_sec.Header(FALSE,
890: owa_util.get_owa_service_path||'wf_event_html.FindAgent',
891: wf_core.translate('WFE_LIST_AGENTS_TITLE'),
892: TRUE);
893:
894: htp.br; -- add some space between header and table
895:

Line 912: hTab(i).value := wf_core.translate('EDIT');

908: hTab(i).value := null; -- no detail title
909: hTab(i).level := 0;
910: i := i+1;
911: hTab(i).def_type := 'TITLE';
912: hTab(i).value := wf_core.translate('EDIT');
913: hTab(i).level := 0;
914: i := i+1;
915: hTab(i).def_type := 'TITLE';
916: hTab(i).value := wf_core.translate('SYSTEM');

Line 916: hTab(i).value := wf_core.translate('SYSTEM');

912: hTab(i).value := wf_core.translate('EDIT');
913: hTab(i).level := 0;
914: i := i+1;
915: hTab(i).def_type := 'TITLE';
916: hTab(i).value := wf_core.translate('SYSTEM');
917: hTab(i).level := 1;
918: hTab(i).span := 5;
919: hTab(i).trattr := 'bgcolor=#006699';
920: hTab(i).attr := 'bgcolor=#CCCCCC';

Line 923: hTab(i).value := wf_core.translate('NAME');

919: hTab(i).trattr := 'bgcolor=#006699';
920: hTab(i).attr := 'bgcolor=#CCCCCC';
921: i := i+1;
922: hTab(i).def_type := 'TITLE';
923: hTab(i).value := wf_core.translate('NAME');
924: hTab(i).level := 0;
925: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
926: i := i+1;
927: hTab(i).def_type := 'TITLE';

Line 925: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';

921: i := i+1;
922: hTab(i).def_type := 'TITLE';
923: hTab(i).value := wf_core.translate('NAME');
924: hTab(i).level := 0;
925: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
926: i := i+1;
927: hTab(i).def_type := 'TITLE';
928: hTab(i).value := wf_core.translate('ADDRESS');
929: hTab(i).level := 0;

Line 928: hTab(i).value := wf_core.translate('ADDRESS');

924: hTab(i).level := 0;
925: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
926: i := i+1;
927: hTab(i).def_type := 'TITLE';
928: hTab(i).value := wf_core.translate('ADDRESS');
929: hTab(i).level := 0;
930: hTab(i).attr := 'id="'||wf_core.translate('ADDRESS')||'"';
931: i := i+1;
932: hTab(i).def_type := 'TITLE';

Line 930: hTab(i).attr := 'id="'||wf_core.translate('ADDRESS')||'"';

926: i := i+1;
927: hTab(i).def_type := 'TITLE';
928: hTab(i).value := wf_core.translate('ADDRESS');
929: hTab(i).level := 0;
930: hTab(i).attr := 'id="'||wf_core.translate('ADDRESS')||'"';
931: i := i+1;
932: hTab(i).def_type := 'TITLE';
933: hTab(i).value := wf_core.translate('PROTOCOL');
934: hTab(i).level := 0;

Line 933: hTab(i).value := wf_core.translate('PROTOCOL');

929: hTab(i).level := 0;
930: hTab(i).attr := 'id="'||wf_core.translate('ADDRESS')||'"';
931: i := i+1;
932: hTab(i).def_type := 'TITLE';
933: hTab(i).value := wf_core.translate('PROTOCOL');
934: hTab(i).level := 0;
935: hTab(i).attr := 'id="'||wf_core.translate('PROTOCOL')||'"';
936: i := i+1;
937: hTab(i).def_type := 'TITLE';

Line 935: hTab(i).attr := 'id="'||wf_core.translate('PROTOCOL')||'"';

931: i := i+1;
932: hTab(i).def_type := 'TITLE';
933: hTab(i).value := wf_core.translate('PROTOCOL');
934: hTab(i).level := 0;
935: hTab(i).attr := 'id="'||wf_core.translate('PROTOCOL')||'"';
936: i := i+1;
937: hTab(i).def_type := 'TITLE';
938: hTab(i).value := wf_core.translate('DIRECTION');
939: hTab(i).level := 0;

Line 938: hTab(i).value := wf_core.translate('DIRECTION');

934: hTab(i).level := 0;
935: hTab(i).attr := 'id="'||wf_core.translate('PROTOCOL')||'"';
936: i := i+1;
937: hTab(i).def_type := 'TITLE';
938: hTab(i).value := wf_core.translate('DIRECTION');
939: hTab(i).level := 0;
940: hTab(i).attr := 'id="'||wf_core.translate('DIRECTION')||'"';
941: i := i+1;
942: hTab(i).def_type := 'TITLE';

Line 940: hTab(i).attr := 'id="'||wf_core.translate('DIRECTION')||'"';

936: i := i+1;
937: hTab(i).def_type := 'TITLE';
938: hTab(i).value := wf_core.translate('DIRECTION');
939: hTab(i).level := 0;
940: hTab(i).attr := 'id="'||wf_core.translate('DIRECTION')||'"';
941: i := i+1;
942: hTab(i).def_type := 'TITLE';
943: hTab(i).value := wf_core.translate('STATUS');
944: hTab(i).level := 0;

Line 943: hTab(i).value := wf_core.translate('STATUS');

939: hTab(i).level := 0;
940: hTab(i).attr := 'id="'||wf_core.translate('DIRECTION')||'"';
941: i := i+1;
942: hTab(i).def_type := 'TITLE';
943: hTab(i).value := wf_core.translate('STATUS');
944: hTab(i).level := 0;
945: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';
946:
947: -- render table

Line 945: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';

941: i := i+1;
942: hTab(i).def_type := 'TITLE';
943: hTab(i).value := wf_core.translate('STATUS');
944: hTab(i).level := 0;
945: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';
946:
947: -- render table
948: -- for an empty table, show only the level 0 title
949: if (dTab.COUNT = 0) then

Line 953: summary="' || wf_core.translate('WFE_LIST_AGENTS_TITLE') || '"',

949: if (dTab.COUNT = 0) then
950: Wfe_Html_Util.Simple_Table(headerTab=>hTab, dataTab=>dTab,
951: tabattr=>'border=0 cellpadding=3 cellspacing=2 bgcolor=#CCCCCC
952: width=100%
953: summary="' || wf_core.translate('WFE_LIST_AGENTS_TITLE') || '"',
954: show_1st_title=>TRUE, show_level=>0);
955:
956: -- show the full table
957: else

Line 961: summary="' || wf_core.translate('WFE_LIST_AGENTS_TITLE') || '"',

957: else
958: Wfe_Html_Util.Simple_Table(headerTab=>hTab, dataTab=>dTab,
959: tabattr=>'border=0 cellpadding=3 cellspacing=2 bgcolor=#CCCCCC
960: width=100%
961: summary="' || wf_core.translate('WFE_LIST_AGENTS_TITLE') || '"',
962: show_1st_title=>FALSE);
963: end if;
964:
965: htp.tableopen (calign=>'CENTER', cattributes=>'summary=""');

Line 969: wf_core.translate('WFE_ADD_AGENT'),

965: htp.tableopen (calign=>'CENTER', cattributes=>'summary=""');
966: htp.tableRowOpen;
967: htp.p('');
968: wfa_html.create_reg_button (wfa_html.base_url||'/Wf_Event_Html.EditAgent',
969: wf_core.translate('WFE_ADD_AGENT'),
970: wfa_html.image_loc,
971: null,
972: wf_core.translate('WFE_ADD_AGENT'));
973: htp.p('');

Line 972: wf_core.translate('WFE_ADD_AGENT'));

968: wfa_html.create_reg_button (wfa_html.base_url||'/Wf_Event_Html.EditAgent',
969: wf_core.translate('WFE_ADD_AGENT'),
970: wfa_html.image_loc,
971: null,
972: wf_core.translate('WFE_ADD_AGENT'));
973: htp.p('');
974: htp.tableRowClose;
975: htp.tableClose;
976:

Line 983: wf_core.context('WF_EVENT_HTML', 'ListAgents');

979:
980: exception
981: when OTHERS then
982: rollback;
983: wf_core.context('WF_EVENT_HTML', 'ListAgents');
984: wfe_html_util.Error;
985: end ListAgents;
986:
987: --

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

1053: username := upper(username);
1054: wf_events_pkg.setMode;
1055:
1056: -- Check Admin Priviledge
1057: admin_role := wf_core.translate('WF_ADMIN_ROLE');
1058: if (admin_role = '*' or
1059: Wf_Directory.IsPerformer(username, admin_role)) then
1060: -- Have admin privledge, do nothing.
1061: null;

Line 1063: wf_core.raise('WF_NOTADMIN');

1059: Wf_Directory.IsPerformer(username, admin_role)) then
1060: -- Have admin privledge, do nothing.
1061: null;
1062: else
1063: wf_core.raise('WF_NOTADMIN');
1064: end if;
1065:
1066: -- Check if Accessible
1067: wf_event_html.isAccessible('SUBSCRIPTIONS');

Line 1179: dTab(i).col01 := ''||wf_core.translate('SYSTEM')||':  ';

1175: dTab(i).level := 2;
1176: dTab(i).trattr := 'VALIGN=TOP bgcolor=#CCCCCC';
1177: -- put a space there if no system is defined
1178: if (ssr.system_guid is null) then
1179: dTab(i).col01 := ''||wf_core.translate('SYSTEM')||':  ';
1180:
1181: -- find the system name
1182: else
1183: if (ssr.system_name is null) then

Line 1184: wf_core.token('GUID', rawtohex(ssr.system_guid));

1180:
1181: -- find the system name
1182: else
1183: if (ssr.system_name is null) then
1184: wf_core.token('GUID', rawtohex(ssr.system_guid));
1185: dTab(i).col01 := wf_core.translate('WFE_SYSTEM_NOGUID');
1186: else
1187: dTab(i).col01 := ''||wf_core.translate('SYSTEM')||':'||
1188: ssr.system_name||'
';

Line 1185: dTab(i).col01 := wf_core.translate('WFE_SYSTEM_NOGUID');

1181: -- find the system name
1182: else
1183: if (ssr.system_name is null) then
1184: wf_core.token('GUID', rawtohex(ssr.system_guid));
1185: dTab(i).col01 := wf_core.translate('WFE_SYSTEM_NOGUID');
1186: else
1187: dTab(i).col01 := ''||wf_core.translate('SYSTEM')||':'||
1188: ssr.system_name||'
';
1189: end if;

Line 1187: dTab(i).col01 := ''||wf_core.translate('SYSTEM')||':'||

1183: if (ssr.system_name is null) then
1184: wf_core.token('GUID', rawtohex(ssr.system_guid));
1185: dTab(i).col01 := wf_core.translate('WFE_SYSTEM_NOGUID');
1186: else
1187: dTab(i).col01 := ''||wf_core.translate('SYSTEM')||':'||
1188: ssr.system_name||'
';
1189: end if;
1190:
1191: prev_sguid := ssr.system_guid;

Line 1222: dTab(i).col02 := ''||wf_core.translate('EVENT')||':  ';

1218: dTab(i).col01 := '';
1219:
1220: -- put a space there if no event filter is defined
1221: if (ssr.event_filter_guid is null) then
1222: dTab(i).col02 := ''||wf_core.translate('EVENT')||':  ';
1223:
1224: -- find the event name
1225: else
1226: if (ssr.event_name is null) then

Line 1227: wf_core.token('GUID', rawtohex(ssr.event_filter_guid));

1223:
1224: -- find the event name
1225: else
1226: if (ssr.event_name is null) then
1227: wf_core.token('GUID', rawtohex(ssr.event_filter_guid));
1228: dTab(i).col02 := wf_core.translate('WFE_EVENT_NOGUID');
1229: else
1230: dTab(i).col02 := ''||wf_core.translate('EVENT')||': '||
1231: ssr.event_name||'
';

Line 1228: dTab(i).col02 := wf_core.translate('WFE_EVENT_NOGUID');

1224: -- find the event name
1225: else
1226: if (ssr.event_name is null) then
1227: wf_core.token('GUID', rawtohex(ssr.event_filter_guid));
1228: dTab(i).col02 := wf_core.translate('WFE_EVENT_NOGUID');
1229: else
1230: dTab(i).col02 := ''||wf_core.translate('EVENT')||': '||
1231: ssr.event_name||'
';
1232: end if;

Line 1230: dTab(i).col02 := ''||wf_core.translate('EVENT')||': '||

1226: if (ssr.event_name is null) then
1227: wf_core.token('GUID', rawtohex(ssr.event_filter_guid));
1228: dTab(i).col02 := wf_core.translate('WFE_EVENT_NOGUID');
1229: else
1230: dTab(i).col02 := ''||wf_core.translate('EVENT')||': '||
1231: ssr.event_name||'
';
1232: end if;
1233:
1234: prev_eguid := ssr.event_filter_guid;

Line 1257: dTab(i).col02 := wf_core.translate(ssr.source_type);

1253: -- source type
1254: if (ssr.source_type is null) then
1255: dTab(i).col02 := ' ';
1256: else
1257: dTab(i).col02 := wf_core.translate(ssr.source_type);
1258: end if;
1259:
1260: -- put a space there if no "out agent" is defined
1261: if (ssr.out_agent_guid is null) then

Line 1294: wf_core.token('GUID', rawtohex(ssr.out_agent_guid));

1290: end if;
1291:
1292: exception
1293: when NO_DATA_FOUND then
1294: wf_core.token('GUID', rawtohex(ssr.out_agent_guid));
1295: dTab(i).col03 := wf_core.translate('WFE_AGENT_NOGUID');
1296: end;
1297: end if;
1298:

Line 1295: dTab(i).col03 := wf_core.translate('WFE_AGENT_NOGUID');

1291:
1292: exception
1293: when NO_DATA_FOUND then
1294: wf_core.token('GUID', rawtohex(ssr.out_agent_guid));
1295: dTab(i).col03 := wf_core.translate('WFE_AGENT_NOGUID');
1296: end;
1297: end if;
1298:
1299: -- put a space there if no "to agent" is defined

Line 1332: wf_core.token('GUID', rawtohex(ssr.to_agent_guid));

1328: end if;
1329:
1330: exception
1331: when NO_DATA_FOUND then
1332: wf_core.token('GUID', rawtohex(ssr.to_agent_guid));
1333: dTab(i).col04 := wf_core.translate('WFE_AGENT_NOGUID');
1334: end;
1335: end if;
1336:

Line 1333: dTab(i).col04 := wf_core.translate('WFE_AGENT_NOGUID');

1329:
1330: exception
1331: when NO_DATA_FOUND then
1332: wf_core.token('GUID', rawtohex(ssr.to_agent_guid));
1333: dTab(i).col04 := wf_core.translate('WFE_AGENT_NOGUID');
1334: end;
1335: end if;
1336:
1337: -- function

Line 1351: dTab(i).col07 := wf_core.translate(ssr.status);

1347: else
1348: dTab(i).col06 := ssr.wf_process_type||'/'||ssr.wf_process_name;
1349: end if;
1350:
1351: dTab(i).col07 := wf_core.translate(ssr.status);
1352:
1353: dTab(i).selectable := FALSE;
1354: -- dTab(i).deletable := TRUE;
1355: dTab(i).deletable := Wf_Event_Html.isDeletable(ssr.guid, 'SUBSCRIPTION');

Line 1370: htp.title(wf_core.translate('WFE_LIST_SUBSC_TITLE'));

1366: -- list does not get updated after editevent, so we add the
1367: -- following tag to force the reload of page.
1368: htp.p('');
1369:
1370: htp.title(wf_core.translate('WFE_LIST_SUBSC_TITLE'));
1371: wfa_html.create_help_function('wf/links/def.htm?'||'DEFEVSUB');
1372: fnd_document_management.get_open_dm_display_window;
1373:
1374: Wfe_Html_Util.generate_confirm;

Line 1381: wf_core.translate('WFE_LIST_SUBSC_TITLE'),

1377:
1378: -- Page header
1379: wfa_sec.Header(FALSE,
1380: owa_util.get_owa_service_path||'wf_event_html.FindSubscription',
1381: wf_core.translate('WFE_LIST_SUBSC_TITLE'),
1382: TRUE);
1383:
1384: htp.br; -- add some space between header and table
1385:

Line 1402: hTab(i).value := wf_core.translate('EDIT');

1398: hTab(i).value := null; -- no detail title
1399: hTab(i).level := 0;
1400: i := i+1;
1401: hTab(i).def_type := 'TITLE';
1402: hTab(i).value := wf_core.translate('EDIT');
1403: hTab(i).level := 0;
1404: -- if (not from_system) then
1405: i := i+1;
1406: hTab(i).def_type := 'TITLE';

Line 1407: hTab(i).value := wf_core.translate('SYSTEM');

1403: hTab(i).level := 0;
1404: -- if (not from_system) then
1405: i := i+1;
1406: hTab(i).def_type := 'TITLE';
1407: hTab(i).value := wf_core.translate('SYSTEM');
1408: hTab(i).level := 2;
1409: hTab(i).span := 7;
1410: hTab(i).trattr := 'bgcolor=#006699';
1411: hTab(i).attr := 'bgcolor=#CCCCCC';

Line 1423: hTab(i).value := wf_core.translate('EVENT');

1419: hTab(i).trattr := 'bgcolor=#006699';
1420: hTab(i).attr := 'bgcolor=#CCCCCC';
1421: i := i+1;
1422: hTab(i).def_type := 'TITLE';
1423: hTab(i).value := wf_core.translate('EVENT');
1424: hTab(i).level := 1;
1425: hTab(i).span := 6;
1426: hTab(i).attr := 'id="'||wf_core.translate('EVENT')||'"';
1427: -- end if;

Line 1426: hTab(i).attr := 'id="'||wf_core.translate('EVENT')||'"';

1422: hTab(i).def_type := 'TITLE';
1423: hTab(i).value := wf_core.translate('EVENT');
1424: hTab(i).level := 1;
1425: hTab(i).span := 6;
1426: hTab(i).attr := 'id="'||wf_core.translate('EVENT')||'"';
1427: -- end if;
1428: i := i+1;
1429: hTab(i).def_type := 'TITLE';
1430: hTab(i).value := null; -- indentation

Line 1436: hTab(i).value := wf_core.translate('SOURCE_TYPE');

1432: hTab(i).trattr := 'bgcolor=#006699';
1433: hTab(i).attr := 'bgcolor=#CCCCCC';
1434: i := i+1;
1435: hTab(i).def_type := 'TITLE';
1436: hTab(i).value := wf_core.translate('SOURCE_TYPE');
1437: hTab(i).level := 0;
1438: hTab(i).attr := 'id="'||wf_core.translate('SOURCE_TYPE')||'"';
1439: i := i+1;
1440: hTab(i).def_type := 'TITLE';

Line 1438: hTab(i).attr := 'id="'||wf_core.translate('SOURCE_TYPE')||'"';

1434: i := i+1;
1435: hTab(i).def_type := 'TITLE';
1436: hTab(i).value := wf_core.translate('SOURCE_TYPE');
1437: hTab(i).level := 0;
1438: hTab(i).attr := 'id="'||wf_core.translate('SOURCE_TYPE')||'"';
1439: i := i+1;
1440: hTab(i).def_type := 'TITLE';
1441: hTab(i).value := wf_core.translate('OUT_AGENT');
1442: hTab(i).level := 0;

Line 1441: hTab(i).value := wf_core.translate('OUT_AGENT');

1437: hTab(i).level := 0;
1438: hTab(i).attr := 'id="'||wf_core.translate('SOURCE_TYPE')||'"';
1439: i := i+1;
1440: hTab(i).def_type := 'TITLE';
1441: hTab(i).value := wf_core.translate('OUT_AGENT');
1442: hTab(i).level := 0;
1443: hTab(i).attr := 'id="'||wf_core.translate('OUT_AGENT')||'"';
1444: i := i+1;
1445: hTab(i).def_type := 'TITLE';

Line 1443: hTab(i).attr := 'id="'||wf_core.translate('OUT_AGENT')||'"';

1439: i := i+1;
1440: hTab(i).def_type := 'TITLE';
1441: hTab(i).value := wf_core.translate('OUT_AGENT');
1442: hTab(i).level := 0;
1443: hTab(i).attr := 'id="'||wf_core.translate('OUT_AGENT')||'"';
1444: i := i+1;
1445: hTab(i).def_type := 'TITLE';
1446: hTab(i).value := wf_core.translate('TO_AGENT');
1447: hTab(i).level := 0;

Line 1446: hTab(i).value := wf_core.translate('TO_AGENT');

1442: hTab(i).level := 0;
1443: hTab(i).attr := 'id="'||wf_core.translate('OUT_AGENT')||'"';
1444: i := i+1;
1445: hTab(i).def_type := 'TITLE';
1446: hTab(i).value := wf_core.translate('TO_AGENT');
1447: hTab(i).level := 0;
1448: hTab(i).attr := 'id="'||wf_core.translate('TO_AGENT')||'"';
1449: i := i+1;
1450: hTab(i).def_type := 'TITLE';

Line 1448: hTab(i).attr := 'id="'||wf_core.translate('TO_AGENT')||'"';

1444: i := i+1;
1445: hTab(i).def_type := 'TITLE';
1446: hTab(i).value := wf_core.translate('TO_AGENT');
1447: hTab(i).level := 0;
1448: hTab(i).attr := 'id="'||wf_core.translate('TO_AGENT')||'"';
1449: i := i+1;
1450: hTab(i).def_type := 'TITLE';
1451: hTab(i).value := wf_core.translate('FUNCTION');
1452: hTab(i).level := 0;

Line 1451: hTab(i).value := wf_core.translate('FUNCTION');

1447: hTab(i).level := 0;
1448: hTab(i).attr := 'id="'||wf_core.translate('TO_AGENT')||'"';
1449: i := i+1;
1450: hTab(i).def_type := 'TITLE';
1451: hTab(i).value := wf_core.translate('FUNCTION');
1452: hTab(i).level := 0;
1453: hTab(i).attr := 'id="'||wf_core.translate('FUNCTION')||'"';
1454: i := i+1;
1455: hTab(i).def_type := 'TITLE';

Line 1453: hTab(i).attr := 'id="'||wf_core.translate('FUNCTION')||'"';

1449: i := i+1;
1450: hTab(i).def_type := 'TITLE';
1451: hTab(i).value := wf_core.translate('FUNCTION');
1452: hTab(i).level := 0;
1453: hTab(i).attr := 'id="'||wf_core.translate('FUNCTION')||'"';
1454: i := i+1;
1455: hTab(i).def_type := 'TITLE';
1456: hTab(i).value := wf_core.translate('WORKFLOW');
1457: hTab(i).level := 0;

Line 1456: hTab(i).value := wf_core.translate('WORKFLOW');

1452: hTab(i).level := 0;
1453: hTab(i).attr := 'id="'||wf_core.translate('FUNCTION')||'"';
1454: i := i+1;
1455: hTab(i).def_type := 'TITLE';
1456: hTab(i).value := wf_core.translate('WORKFLOW');
1457: hTab(i).level := 0;
1458: hTab(i).attr := 'id="'||wf_core.translate('WORKFLOW')||'"';
1459: i := i+1;
1460: hTab(i).def_type := 'TITLE';

Line 1458: hTab(i).attr := 'id="'||wf_core.translate('WORKFLOW')||'"';

1454: i := i+1;
1455: hTab(i).def_type := 'TITLE';
1456: hTab(i).value := wf_core.translate('WORKFLOW');
1457: hTab(i).level := 0;
1458: hTab(i).attr := 'id="'||wf_core.translate('WORKFLOW')||'"';
1459: i := i+1;
1460: hTab(i).def_type := 'TITLE';
1461: hTab(i).value := wf_core.translate('STATUS');
1462: hTab(i).level := 0;

Line 1461: hTab(i).value := wf_core.translate('STATUS');

1457: hTab(i).level := 0;
1458: hTab(i).attr := 'id="'||wf_core.translate('WORKFLOW')||'"';
1459: i := i+1;
1460: hTab(i).def_type := 'TITLE';
1461: hTab(i).value := wf_core.translate('STATUS');
1462: hTab(i).level := 0;
1463: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';
1464:
1465: -- render table

Line 1463: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';

1459: i := i+1;
1460: hTab(i).def_type := 'TITLE';
1461: hTab(i).value := wf_core.translate('STATUS');
1462: hTab(i).level := 0;
1463: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';
1464:
1465: -- render table
1466: if (dTab.COUNT = 0) then
1467: Wfe_Html_Util.Simple_Table(headerTab=>hTab, dataTab=>dTab,

Line 1470: wf_core.translate('WFE_LIST_SUBSC_TITLE') || '"',

1466: if (dTab.COUNT = 0) then
1467: Wfe_Html_Util.Simple_Table(headerTab=>hTab, dataTab=>dTab,
1468: tabattr=>'border=0 cellpadding=3 cellspacing=2 bgcolor=#CCCCCC
1469: width=100% summary="' ||
1470: wf_core.translate('WFE_LIST_SUBSC_TITLE') || '"',
1471: show_1st_title=>TRUE, show_level=>0);
1472:
1473: -- show the full table
1474: else

Line 1478: wf_core.translate('WFE_LIST_SUBSC_TITLE') || '"',

1474: else
1475: Wfe_Html_Util.Simple_Table(headerTab=>hTab, dataTab=>dTab,
1476: tabattr=>'border=0 cellpadding=3 cellspacing=2 bgcolor=#CCCCCC
1477: width=100% summary="' ||
1478: wf_core.translate('WFE_LIST_SUBSC_TITLE') || '"',
1479: show_1st_title=>FALSE);
1480: end if;
1481:
1482: htp.tableopen (calign=>'CENTER', cattributes=>'summary=""');

Line 1484: htp.p('');

1480: end if;
1481:
1482: htp.tableopen (calign=>'CENTER', cattributes=>'summary=""');
1483: htp.tableRowOpen;
1484: htp.p('');
1485:
1486: -- construct the url for add subscription
1487: l_url := wfa_html.base_url||'/Wf_Event_Html.EditSubscription';
1488: if (from_system) then

Line 1498: wf_core.translate('WFE_ADD_SUBSCRIPTION'),

1494: l_url := l_url||'?h_eguid='||rawtohex(l_eguid);
1495: end if;
1496:
1497: wfa_html.create_reg_button (l_url,
1498: wf_core.translate('WFE_ADD_SUBSCRIPTION'),
1499: wfa_html.image_loc,
1500: null,
1501: wf_core.translate('WFE_ADD_SUBSCRIPTION'));
1502: htp.p('');

Line 1501: wf_core.translate('WFE_ADD_SUBSCRIPTION'));

1497: wfa_html.create_reg_button (l_url,
1498: wf_core.translate('WFE_ADD_SUBSCRIPTION'),
1499: wfa_html.image_loc,
1500: null,
1501: wf_core.translate('WFE_ADD_SUBSCRIPTION'));
1502: htp.p('');
1503: htp.tableRowClose;
1504: htp.tableClose;
1505:

Line 1512: wf_core.context('WF_EVENT_HTML', 'ListSubscriptions');

1508:
1509: exception
1510: when OTHERS then
1511: rollback;
1512: wf_core.context('WF_EVENT_HTML', 'ListSubscriptions');
1513: wfe_html_util.Error;
1514: end ListSubscriptions;
1515:
1516: --

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

1572: username := upper(username);
1573: wf_events_pkg.setMode;
1574:
1575: -- Check Admin Priviledge
1576: admin_role := wf_core.translate('WF_ADMIN_ROLE');
1577: if (admin_role = '*' or
1578: Wf_Directory.IsPerformer(username, admin_role)) then
1579: -- Have admin privledge, do nothing.
1580: null;

Line 1582: wf_core.raise('WF_NOTADMIN');

1578: Wf_Directory.IsPerformer(username, admin_role)) then
1579: -- Have admin privledge, do nothing.
1580: null;
1581: else
1582: wf_core.raise('WF_NOTADMIN');
1583: end if;
1584:
1585: -- Check if Accessible
1586: wf_event_html.isAccessible('EVENTS');

Line 1650: wf_core.raise('WFE_EVENT_NOTEXIST');

1646: end if;
1647:
1648: exception
1649: when NO_DATA_FOUND then
1650: wf_core.raise('WFE_EVENT_NOTEXIST');
1651: end;
1652:
1653: else
1654: if (h_type <> 'EVENT') then

Line 1670: htp.title(wf_core.translate('WFE_EDIT_'||l_type||'_TITLE'));

1666: -- list does not get updated after editevent, so we add the
1667: -- following tag to force the reload of page.
1668: htp.p('');
1669:
1670: htp.title(wf_core.translate('WFE_EDIT_'||l_type||'_TITLE'));
1671: if (l_type <> 'EVENT') then
1672: wfa_html.create_help_function('wf/links/t_d.htm?T_DEFEVGPM');
1673: else
1674: wfa_html.create_help_function('wf/links/t_d.htm?T_DEFEVT');

Line 1686: wf_core.translate('WFE_EDIT_'||l_type||'_TITLE'),

1682:
1683: -- Page header
1684: wfa_sec.Header(FALSE,
1685: owa_util.get_owa_service_path||'wf_event_html.FindEvent',
1686: wf_core.translate('WFE_EDIT_'||l_type||'_TITLE'),
1687: TRUE);
1688:
1689: -- Form
1690: htp.formOpen(curl=>owa_util.get_owa_service_path||

Line 1707: wf_core.translate('NAME') ||

1703:
1704: -- Name
1705: htp.tableRowOpen;
1706: htp.tableData(cvalue=>'', calign=>'Right',
1709: cattributes=>'id=""');
1710: htp.tableData(cvalue=>htf.formText(cname=>'h_name', csize=>40,
1711: cmaxlength=>240,

Line 1722: wf_core.translate('DISPLAY_NAME') || '',

1718:
1719: -- Display Name
1720: htp.tableRowOpen;
1721: htp.tableData(cvalue=>'',
1723: calign=>'Right', cattributes=>'id=""');
1724: htp.tableData(cvalue=>htf.formText(cname=>'h_display_name', csize=>60,
1725: cmaxlength=>80,
1726: cattributes=>'id="i_display_name"'),

Line 1733: wf_core.translate('DESCRIPTION') || '', calign=>'Right',

1729:
1730: -- Description
1731: htp.tableRowOpen;
1732: htp.tableData(cvalue=>'', calign=>'Right',
1734: cattributes=>'id=""');
1735: htp.tableData(cvalue=>htf.formTextareaOpen2(
1736: cname=>'h_description',
1737: nrows=>2,

Line 1747: template := wf_core.translate(l_type);

1743: calign=>'Left',cattributes=>'id=""');
1744: htp.tableRowClose;
1745:
1746: -- Type
1747: template := wf_core.translate(l_type);
1748: htp.formHidden('h_type', l_type);
1749:
1750: -- Status
1751: template := htf.formSelectOpen('h_status',cattributes=>'id="i_status"')

Line 1752: ||wf_core.newline||

1748: htp.formHidden('h_type', l_type);
1749:
1750: -- Status
1751: template := htf.formSelectOpen('h_status',cattributes=>'id="i_status"')
1752: ||wf_core.newline||
1753: htf.formSelectOption(wf_core.translate('ENABLED'),
1754: select_enable,'VALUE="ENABLED"')
1755: ||wf_core.newline||
1756: htf.formSelectOption(wf_core.translate('DISABLED'),

Line 1753: htf.formSelectOption(wf_core.translate('ENABLED'),

1749:
1750: -- Status
1751: template := htf.formSelectOpen('h_status',cattributes=>'id="i_status"')
1752: ||wf_core.newline||
1753: htf.formSelectOption(wf_core.translate('ENABLED'),
1754: select_enable,'VALUE="ENABLED"')
1755: ||wf_core.newline||
1756: htf.formSelectOption(wf_core.translate('DISABLED'),
1757: select_disable,'VALUE="DISABLED"')

Line 1755: ||wf_core.newline||

1751: template := htf.formSelectOpen('h_status',cattributes=>'id="i_status"')
1752: ||wf_core.newline||
1753: htf.formSelectOption(wf_core.translate('ENABLED'),
1754: select_enable,'VALUE="ENABLED"')
1755: ||wf_core.newline||
1756: htf.formSelectOption(wf_core.translate('DISABLED'),
1757: select_disable,'VALUE="DISABLED"')
1758: ||wf_core.newline||
1759: htf.formSelectClose;

Line 1756: htf.formSelectOption(wf_core.translate('DISABLED'),

1752: ||wf_core.newline||
1753: htf.formSelectOption(wf_core.translate('ENABLED'),
1754: select_enable,'VALUE="ENABLED"')
1755: ||wf_core.newline||
1756: htf.formSelectOption(wf_core.translate('DISABLED'),
1757: select_disable,'VALUE="DISABLED"')
1758: ||wf_core.newline||
1759: htf.formSelectClose;
1760: htp.tableRowOpen;

Line 1758: ||wf_core.newline||

1754: select_enable,'VALUE="ENABLED"')
1755: ||wf_core.newline||
1756: htf.formSelectOption(wf_core.translate('DISABLED'),
1757: select_disable,'VALUE="DISABLED"')
1758: ||wf_core.newline||
1759: htf.formSelectClose;
1760: htp.tableRowOpen;
1761: htp.tableData(cvalue=>'',

Line 1762: wf_core.translate('STATUS') || '',

1758: ||wf_core.newline||
1759: htf.formSelectClose;
1760: htp.tableRowOpen;
1761: htp.tableData(cvalue=>'',
1763: calign=>'Right',cattributes=>'id=""');
1764: htp.tableData(cvalue=>template, calign=>'Left',cattributes=>'id=""');
1765: htp.tableRowClose;
1766:

Line 1772: wf_core.translate('GENERATE_FUNCTION') || '',

1768: -- no generate function for group
1769: if (l_type <> 'GROUP') then
1770: htp.tableRowOpen;
1771: htp.tableData(cvalue=>'',
1773: calign=>'Right',cattributes=>'id=""');
1774: htp.tableData(cvalue=>htf.formText(cname=>'h_generate_function', csize=>60,
1775: cmaxlength=>240, cvalue=>l_gfunc,
1776: cattributes=>'id="i_generate_function"'),

Line 1786: wf_core.translate('OWNER_NAME') || '',

1782:
1783: -- Owner Name
1784: htp.tableRowOpen;
1785: htp.tableData(cvalue=>'',
1787: calign=>'Right',cattributes=>'id=""');
1788: htp.tableData(cvalue=>htf.formText(cname=>'h_owner_name', csize=>30,
1789: cmaxlength=>30,
1790: cattributes=>'id="i_owner_name"'),

Line 1797: wf_core.translate('OWNER_TAG') || '',

1793:
1794: -- Owner Tag
1795: htp.tableRowOpen;
1796: htp.tableData(cvalue=>'',
1798: calign=>'Right',cattributes=>'id=""');
1799: htp.tableData(cvalue=>htf.formText(cname=>'h_owner_tag', csize=>30,
1800: cmaxlength=>30,
1801: cattributes=>'id="i_owner_tag"'),

Line 1808: ||wf_core.newline||

1804:
1805: -- Customization Level
1806: if wf_events_pkg.g_Mode = 'FORCE' then
1807: template := htf.formSelectOpen('h_custom_level',cattributes=>'id="i_custom_level"')
1808: ||wf_core.newline||
1809: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_C'),
1810: select_custom_core,'VALUE="C"')
1811: ||wf_core.newline||
1812: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_L'),

Line 1809: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_C'),

1805: -- Customization Level
1806: if wf_events_pkg.g_Mode = 'FORCE' then
1807: template := htf.formSelectOpen('h_custom_level',cattributes=>'id="i_custom_level"')
1808: ||wf_core.newline||
1809: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_C'),
1810: select_custom_core,'VALUE="C"')
1811: ||wf_core.newline||
1812: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_L'),
1813: select_custom_limit,'VALUE="L"')

Line 1811: ||wf_core.newline||

1807: template := htf.formSelectOpen('h_custom_level',cattributes=>'id="i_custom_level"')
1808: ||wf_core.newline||
1809: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_C'),
1810: select_custom_core,'VALUE="C"')
1811: ||wf_core.newline||
1812: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_L'),
1813: select_custom_limit,'VALUE="L"')
1814: ||wf_core.newline||
1815: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_U'),

Line 1812: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_L'),

1808: ||wf_core.newline||
1809: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_C'),
1810: select_custom_core,'VALUE="C"')
1811: ||wf_core.newline||
1812: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_L'),
1813: select_custom_limit,'VALUE="L"')
1814: ||wf_core.newline||
1815: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_U'),
1816: select_custom_user,'VALUE="U"')

Line 1814: ||wf_core.newline||

1810: select_custom_core,'VALUE="C"')
1811: ||wf_core.newline||
1812: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_L'),
1813: select_custom_limit,'VALUE="L"')
1814: ||wf_core.newline||
1815: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_U'),
1816: select_custom_user,'VALUE="U"')
1817: ||wf_core.newline||
1818: htf.formSelectClose;

Line 1815: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_U'),

1811: ||wf_core.newline||
1812: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_L'),
1813: select_custom_limit,'VALUE="L"')
1814: ||wf_core.newline||
1815: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_U'),
1816: select_custom_user,'VALUE="U"')
1817: ||wf_core.newline||
1818: htf.formSelectClose;
1819: htp.tableRowOpen;

Line 1817: ||wf_core.newline||

1813: select_custom_limit,'VALUE="L"')
1814: ||wf_core.newline||
1815: htf.formSelectOption(wf_core.translate('WFE_CUSTOM_LEVEL_U'),
1816: select_custom_user,'VALUE="U"')
1817: ||wf_core.newline||
1818: htf.formSelectClose;
1819: htp.tableRowOpen;
1820: htp.tableData(cvalue=>'',

Line 1821: wf_core.translate('WFE_CUSTOM_LEVEL') || '',

1817: ||wf_core.newline||
1818: htf.formSelectClose;
1819: htp.tableRowOpen;
1820: htp.tableData(cvalue=>'',
1822: calign=>'Right',cattributes=>'id=""');
1823: htp.tableData(cvalue=>template, calign=>'Left',cattributes=>'id=""');
1824: htp.tableRowClose;
1825:

Line 1828: htp.tableData(cvalue=>wf_core.translate('WFE_CUSTOM_LEVEL'),

1824: htp.tableRowClose;
1825:
1826: else
1827: htp.tableRowOpen;
1828: htp.tableData(cvalue=>wf_core.translate('WFE_CUSTOM_LEVEL'),
1829: calign=>'Right',cattributes=>'id=""');
1830: htp.tableData(cvalue=>wf_core.translate('WFE_CUSTOM_LEVEL_'||l_customization_level), calign=>'Left',cattributes=>'id=""');
1831: htp.formHidden('h_custom_level', l_customization_level);
1832: end if;

Line 1830: htp.tableData(cvalue=>wf_core.translate('WFE_CUSTOM_LEVEL_'||l_customization_level), calign=>'Left',cattributes=>'id=""');

1826: else
1827: htp.tableRowOpen;
1828: htp.tableData(cvalue=>wf_core.translate('WFE_CUSTOM_LEVEL'),
1829: calign=>'Right',cattributes=>'id=""');
1830: htp.tableData(cvalue=>wf_core.translate('WFE_CUSTOM_LEVEL_'||l_customization_level), calign=>'Left',cattributes=>'id=""');
1831: htp.formHidden('h_custom_level', l_customization_level);
1832: end if;
1833:
1834: -- URL to go back to

Line 1871: htp.p(wf_core.translate('WFE_EVENTS_IN_GROUP'));

1867: -- there is no detail.
1868: dTab(i).hasdetail := not Wf_Event_Html.isDeletable(event.guid, 'EVENT');
1869: end loop;
1870:
1871: htp.p(wf_core.translate('WFE_EVENTS_IN_GROUP'));
1872:
1873: -- Submit Form for Add/Delete
1874: htp.formOpen(curl=>owa_util.get_owa_service_path||
1875: 'Wf_Event_Html.SubmitSelectedGEvents',

Line 1907: hTab(i).value := wf_core.translate('SUBSCRIPTIONS');

1903: hTab(i).def_type := 'FUNCTION';
1904: hTab(i).value := 'Wf_Event_Html.EditEvent?h_guid=';
1905: i := i+1;
1906: hTab(i).def_type := 'TITLE';
1907: hTab(i).value := wf_core.translate('SUBSCRIPTIONS');
1908: hTab(i).attr := 'id="'||wf_core.translate('SUBSCRIPTIONS')||'"';
1909: i := i+1;
1910: hTab(i).def_type := 'TITLE';
1911: hTab(i).value := wf_core.translate('EDIT');

Line 1908: hTab(i).attr := 'id="'||wf_core.translate('SUBSCRIPTIONS')||'"';

1904: hTab(i).value := 'Wf_Event_Html.EditEvent?h_guid=';
1905: i := i+1;
1906: hTab(i).def_type := 'TITLE';
1907: hTab(i).value := wf_core.translate('SUBSCRIPTIONS');
1908: hTab(i).attr := 'id="'||wf_core.translate('SUBSCRIPTIONS')||'"';
1909: i := i+1;
1910: hTab(i).def_type := 'TITLE';
1911: hTab(i).value := wf_core.translate('EDIT');
1912: i := i+1;

Line 1911: hTab(i).value := wf_core.translate('EDIT');

1907: hTab(i).value := wf_core.translate('SUBSCRIPTIONS');
1908: hTab(i).attr := 'id="'||wf_core.translate('SUBSCRIPTIONS')||'"';
1909: i := i+1;
1910: hTab(i).def_type := 'TITLE';
1911: hTab(i).value := wf_core.translate('EDIT');
1912: i := i+1;
1913: hTab(i).def_type := 'TITLE';
1914: hTab(i).value := wf_core.translate('NAME');
1915: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';

Line 1914: hTab(i).value := wf_core.translate('NAME');

1910: hTab(i).def_type := 'TITLE';
1911: hTab(i).value := wf_core.translate('EDIT');
1912: i := i+1;
1913: hTab(i).def_type := 'TITLE';
1914: hTab(i).value := wf_core.translate('NAME');
1915: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
1916: i := i+1;
1917: hTab(i).def_type := 'TITLE';
1918: hTab(i).value := wf_core.translate('DISPLAY_NAME');

Line 1915: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';

1911: hTab(i).value := wf_core.translate('EDIT');
1912: i := i+1;
1913: hTab(i).def_type := 'TITLE';
1914: hTab(i).value := wf_core.translate('NAME');
1915: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
1916: i := i+1;
1917: hTab(i).def_type := 'TITLE';
1918: hTab(i).value := wf_core.translate('DISPLAY_NAME');
1919: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';

Line 1918: hTab(i).value := wf_core.translate('DISPLAY_NAME');

1914: hTab(i).value := wf_core.translate('NAME');
1915: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
1916: i := i+1;
1917: hTab(i).def_type := 'TITLE';
1918: hTab(i).value := wf_core.translate('DISPLAY_NAME');
1919: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
1920: i := i+1;
1921: hTab(i).def_type := 'TITLE';
1922: hTab(i).value := wf_core.translate('STATUS');

Line 1919: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';

1915: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
1916: i := i+1;
1917: hTab(i).def_type := 'TITLE';
1918: hTab(i).value := wf_core.translate('DISPLAY_NAME');
1919: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
1920: i := i+1;
1921: hTab(i).def_type := 'TITLE';
1922: hTab(i).value := wf_core.translate('STATUS');
1923: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';

Line 1922: hTab(i).value := wf_core.translate('STATUS');

1918: hTab(i).value := wf_core.translate('DISPLAY_NAME');
1919: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
1920: i := i+1;
1921: hTab(i).def_type := 'TITLE';
1922: hTab(i).value := wf_core.translate('STATUS');
1923: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';
1924:
1925: -- render table
1926: Wfe_Html_Util.Simple_Table(hTab, dTab);

Line 1923: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';

1919: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
1920: i := i+1;
1921: hTab(i).def_type := 'TITLE';
1922: hTab(i).value := wf_core.translate('STATUS');
1923: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';
1924:
1925: -- render table
1926: Wfe_Html_Util.Simple_Table(hTab, dTab);
1927:

Line 1931: summary="' || wf_core.translate('WFE_EVENTS_IN_GROUP') || '"');

1927:
1928: htp.formClose;
1929:
1930: htp.tableOpen(cattributes=>'WIDTH=100%
1931: summary="' || wf_core.translate('WFE_EVENTS_IN_GROUP') || '"');
1932: htp.tableRowOpen;
1933: htp.p('');
1934:
1935: htp.tableOpen (calign=>'RIGHT', cattributes=>'summary=""');

Line 1933: htp.p('');

1929:
1930: htp.tableOpen(cattributes=>'WIDTH=100%
1931: summary="' || wf_core.translate('WFE_EVENTS_IN_GROUP') || '"');
1932: htp.tableRowOpen;
1933: htp.p('');
1934:
1935: htp.tableOpen (calign=>'RIGHT', cattributes=>'summary=""');
1936: htp.tableRowOpen;
1937: -- If table is not empty, we allow check/uncheck all/delete.

Line 1942: wf_core.translate('SELECT_ALL'),

1938: if (dTab.COUNT > 0) then
1939: htp.p('');
1940: wfa_html.create_reg_button (
1941: 'javascript:checkAll(document.WF_GROUP_EDIT.h_guids)',
1942: wf_core.translate('SELECT_ALL'),
1943: wfa_html.image_loc,
1944: null,
1945: wf_core.translate('SELECT_ALL'));
1946: htp.p('');

Line 1945: wf_core.translate('SELECT_ALL'));

1941: 'javascript:checkAll(document.WF_GROUP_EDIT.h_guids)',
1942: wf_core.translate('SELECT_ALL'),
1943: wfa_html.image_loc,
1944: null,
1945: wf_core.translate('SELECT_ALL'));
1946: htp.p('');
1947: htp.p('');
1948: wfa_html.create_reg_button (
1949: 'javascript:uncheckAll(document.WF_GROUP_EDIT.h_guids)',

Line 1950: wf_core.translate('UNSELECT_ALL'),

1946: htp.p('');
1947: htp.p('');
1948: wfa_html.create_reg_button (
1949: 'javascript:uncheckAll(document.WF_GROUP_EDIT.h_guids)',
1950: wf_core.translate('UNSELECT_ALL'),
1951: wfa_html.image_loc,
1952: null,
1953: wf_core.translate('UNSELECT_ALL'));
1954: htp.p('');

Line 1953: wf_core.translate('UNSELECT_ALL'));

1949: 'javascript:uncheckAll(document.WF_GROUP_EDIT.h_guids)',
1950: wf_core.translate('UNSELECT_ALL'),
1951: wfa_html.image_loc,
1952: null,
1953: wf_core.translate('UNSELECT_ALL'));
1954: htp.p('');
1955: -- Delete Screen
1956: -- Allow user to delete selected events
1957: -- or add some more event through the find screen.

Line 1962: wf_core.translate('DELETE'),

1958: htp.p('');
1959: wfa_html.create_reg_button (
1960: 'javascript:document.WF_GROUP_EDIT.action.value=''DELETE'';'||
1961: 'document.WF_GROUP_EDIT.submit()',
1962: wf_core.translate('DELETE'),
1963: wfa_html.image_loc,
1964: null,
1965: wf_core.translate('DELETE'));
1966: htp.p('');

Line 1965: wf_core.translate('DELETE'));

1961: 'document.WF_GROUP_EDIT.submit()',
1962: wf_core.translate('DELETE'),
1963: wfa_html.image_loc,
1964: null,
1965: wf_core.translate('DELETE'));
1966: htp.p('');
1967: end if;
1968: htp.p('');
1969: wfa_html.create_reg_button (

Line 1972: wf_core.translate('WFE_ADD_EVENT'),

1968: htp.p('');
1969: wfa_html.create_reg_button (
1970: 'javascript:document.WF_GROUP_EDIT.action.value=''FIND'';'||
1971: 'document.WF_GROUP_EDIT.submit()',
1972: wf_core.translate('WFE_ADD_EVENT'),
1973: wfa_html.image_loc,
1974: null,
1975: wf_core.translate('WFE_ADD_EVENT'));
1976: htp.p('');

Line 1975: wf_core.translate('WFE_ADD_EVENT'));

1971: 'document.WF_GROUP_EDIT.submit()',
1972: wf_core.translate('WFE_ADD_EVENT'),
1973: wfa_html.image_loc,
1974: null,
1975: wf_core.translate('WFE_ADD_EVENT'));
1976: htp.p('');
1977:
1978: htp.tableRowClose;
1979: htp.tableClose;

Line 1993: wf_core.translate('SUBMIT'),

1989: htp.tableRowOpen;
1990:
1991: htp.p('');
1992: wfa_html.create_reg_button ('javascript:document.WF_EVENT_EDIT.submit()',
1993: wf_core.translate('SUBMIT'),
1994: wfa_html.image_loc,
1995: null,
1996: wf_core.translate('SUBMIT'));
1997: htp.p('');

Line 1996: wf_core.translate('SUBMIT'));

1992: wfa_html.create_reg_button ('javascript:document.WF_EVENT_EDIT.submit()',
1993: wf_core.translate('SUBMIT'),
1994: wfa_html.image_loc,
1995: null,
1996: wf_core.translate('SUBMIT'));
1997: htp.p('');
1998: htp.p('');
1999: wfa_html.create_reg_button ('javascript:history.back()',
2000: wf_core.translate ('CANCEL'),

Line 2000: wf_core.translate ('CANCEL'),

1996: wf_core.translate('SUBMIT'));
1997: htp.p('');
1998: htp.p('');
1999: wfa_html.create_reg_button ('javascript:history.back()',
2000: wf_core.translate ('CANCEL'),
2001: wfa_html.image_loc,
2002: null,
2003: wf_core.translate ('CANCEL'));
2004: htp.p('');

Line 2003: wf_core.translate ('CANCEL'));

1999: wfa_html.create_reg_button ('javascript:history.back()',
2000: wf_core.translate ('CANCEL'),
2001: wfa_html.image_loc,
2002: null,
2003: wf_core.translate ('CANCEL'));
2004: htp.p('');
2005:
2006: htp.tableRowClose;
2007: htp.tableClose;

Line 2023: wf_core.translate('SUBMIT'),

2019:
2020: htp.p('');
2021:
2022: wfa_html.create_reg_button ('javascript:document.WF_EVENT_EDIT.submit()',
2023: wf_core.translate('SUBMIT'),
2024: wfa_html.image_loc,
2025: null,
2026: wf_core.translate('SUBMIT'));
2027:

Line 2026: wf_core.translate('SUBMIT'));

2022: wfa_html.create_reg_button ('javascript:document.WF_EVENT_EDIT.submit()',
2023: wf_core.translate('SUBMIT'),
2024: wfa_html.image_loc,
2025: null,
2026: wf_core.translate('SUBMIT'));
2027:
2028: htp.p('');
2029: htp.p('');
2030: wfa_html.create_reg_button ('javascript:history.back()',

Line 2031: wf_core.translate ('CANCEL'),

2027:
2028: htp.p('');
2029: htp.p('');
2030: wfa_html.create_reg_button ('javascript:history.back()',
2031: wf_core.translate ('CANCEL'),
2032: wfa_html.image_loc,
2033: null,
2034: wf_core.translate ('CANCEL'));
2035:

Line 2034: wf_core.translate ('CANCEL'));

2030: wfa_html.create_reg_button ('javascript:history.back()',
2031: wf_core.translate ('CANCEL'),
2032: wfa_html.image_loc,
2033: null,
2034: wf_core.translate ('CANCEL'));
2035:
2036: htp.p('');
2037:
2038: htp.tableRowClose;

Line 2048: wf_core.context('WF_EVENT_HTML', 'EditEvent', h_guid);

2044:
2045: exception
2046: when others then
2047: rollback;
2048: wf_core.context('WF_EVENT_HTML', 'EditEvent', h_guid);
2049: wfe_html_util.Error;
2050: end EditEvent;
2051:
2052: --

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

2104: username := upper(username);
2105: wf_events_pkg.setMode;
2106:
2107: -- Check Admin Priviledge
2108: admin_role := wf_core.translate('WF_ADMIN_ROLE');
2109: if (admin_role = '*' or
2110: Wf_Directory.IsPerformer(username, admin_role)) then
2111: -- Have admin privledge, do nothing.
2112: null;

Line 2114: wf_core.raise('WF_NOTADMIN');

2110: Wf_Directory.IsPerformer(username, admin_role)) then
2111: -- Have admin privledge, do nothing.
2112: null;
2113: else
2114: wf_core.raise('WF_NOTADMIN');
2115: end if;
2116:
2117: -- Check if Accessible
2118: wf_event_html.isAccessible('EVENTS');

Line 2131: htp.title(wf_core.translate('WFE_EDIT_GROUP_TITLE'));

2127: -- list does not get updated after edit, so we add the
2128: -- following tag to force the reload of page.
2129: htp.p('');
2130:
2131: htp.title(wf_core.translate('WFE_EDIT_GROUP_TITLE'));
2132: wfa_html.create_help_function('wf/links/t_d.htm?T_DEFEVGPM');
2133: fnd_document_management.get_open_dm_display_window;
2134:
2135: Wfe_Html_Util.generate_check_all;

Line 2141: wf_core.translate('WFE_EDIT_GROUP_TITLE'),

2137: htp.headClose;
2138:
2139: -- Page header
2140: wfa_sec.Header(FALSE, null,
2141: wf_core.translate('WFE_EDIT_GROUP_TITLE'),
2142: TRUE);
2143:
2144: -- Group to edit
2145: begin

Line 2156: wf_core.raise('WFE_EVENT_NOTEXIST');

2152: -- l_dname := replace(l_dname, '"', '\"');
2153:
2154: exception
2155: when NO_DATA_FOUND then
2156: wf_core.raise('WFE_EVENT_NOTEXIST');
2157: end;
2158:
2159: htp.tableOpen(calign=>'CENTER',cattributes=>'WIDTH=100% summary=""');
2160:

Line 2162: wf_core.token('GROUP',''||l_name||'');

2158:
2159: htp.tableOpen(calign=>'CENTER',cattributes=>'WIDTH=100% summary=""');
2160:
2161: htp.tableRowOpen;
2162: wf_core.token('GROUP',''||l_name||'');
2163: htp.tableData(cvalue=>wf_core.translate('WFE_ADD_SELECTED_TO_GRP'),
2164: calign=>'Left',cattributes=>'id=""');
2165: htp.tableRowClose;
2166:

Line 2163: htp.tableData(cvalue=>wf_core.translate('WFE_ADD_SELECTED_TO_GRP'),

2159: htp.tableOpen(calign=>'CENTER',cattributes=>'WIDTH=100% summary=""');
2160:
2161: htp.tableRowOpen;
2162: wf_core.token('GROUP',''||l_name||'');
2163: htp.tableData(cvalue=>wf_core.translate('WFE_ADD_SELECTED_TO_GRP'),
2164: calign=>'Left',cattributes=>'id=""');
2165: htp.tableRowClose;
2166:
2167: htp.tableClose;

Line 2223: hTab(i).value := wf_core.translate('DISPLAY_NAME');

2219:
2220: -- popluate the header table
2221: i := 1;
2222: hTab(i).def_type := 'TITLE';
2223: hTab(i).value := wf_core.translate('DISPLAY_NAME');
2224: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
2225: i := i+1;
2226: hTab(i).def_type := 'TITLE';
2227: hTab(i).value := wf_core.translate('NAME');

Line 2224: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';

2220: -- popluate the header table
2221: i := 1;
2222: hTab(i).def_type := 'TITLE';
2223: hTab(i).value := wf_core.translate('DISPLAY_NAME');
2224: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
2225: i := i+1;
2226: hTab(i).def_type := 'TITLE';
2227: hTab(i).value := wf_core.translate('NAME');
2228: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';

Line 2227: hTab(i).value := wf_core.translate('NAME');

2223: hTab(i).value := wf_core.translate('DISPLAY_NAME');
2224: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
2225: i := i+1;
2226: hTab(i).def_type := 'TITLE';
2227: hTab(i).value := wf_core.translate('NAME');
2228: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
2229: i := i+1;
2230: hTab(i).def_type := 'TITLE';
2231: hTab(i).value := wf_core.translate('STATUS');

Line 2228: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';

2224: hTab(i).attr := 'id="'||wf_core.translate('DISPLAY_NAME')||'"';
2225: i := i+1;
2226: hTab(i).def_type := 'TITLE';
2227: hTab(i).value := wf_core.translate('NAME');
2228: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
2229: i := i+1;
2230: hTab(i).def_type := 'TITLE';
2231: hTab(i).value := wf_core.translate('STATUS');
2232: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';

Line 2231: hTab(i).value := wf_core.translate('STATUS');

2227: hTab(i).value := wf_core.translate('NAME');
2228: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
2229: i := i+1;
2230: hTab(i).def_type := 'TITLE';
2231: hTab(i).value := wf_core.translate('STATUS');
2232: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';
2233:
2234: -- render table
2235: Wfe_Html_Util.Simple_Table(hTab, dTab);

Line 2232: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';

2228: hTab(i).attr := 'id="'||wf_core.translate('NAME')||'"';
2229: i := i+1;
2230: hTab(i).def_type := 'TITLE';
2231: hTab(i).value := wf_core.translate('STATUS');
2232: hTab(i).attr := 'id="'||wf_core.translate('STATUS')||'"';
2233:
2234: -- render table
2235: Wfe_Html_Util.Simple_Table(hTab, dTab);
2236:

Line 2245: wf_core.translate('SELECT_ALL'), null);

2241: htp.tableOpen (calign=>'CENTER',cattributes=>'WIDTH=100% summary=""');
2242: htp.tableRowOpen;
2243: htp.p('');
2244: htp.anchor('javascript:checkAll(document.WF_GROUP_EDIT.h_guids)',
2245: wf_core.translate('SELECT_ALL'), null);
2246: htp.anchor('javascript:uncheckAll(document.WF_GROUP_EDIT.h_guids)',
2247: wf_core.translate('UNSELECT_ALL'), null);
2248: htp.p('');
2249: htp.tableRowClose;

Line 2247: wf_core.translate('UNSELECT_ALL'), null);

2243: htp.p('');
2244: htp.anchor('javascript:checkAll(document.WF_GROUP_EDIT.h_guids)',
2245: wf_core.translate('SELECT_ALL'), null);
2246: htp.anchor('javascript:uncheckAll(document.WF_GROUP_EDIT.h_guids)',
2247: wf_core.translate('UNSELECT_ALL'), null);
2248: htp.p('');
2249: htp.tableRowClose;
2250: htp.tableClose;
2251: end if;

Line 2264: wf_core.translate('DELETE_SELECTED'),

2260: htp.p('');
2261: wfa_html.create_reg_button (
2262: 'javascript:document.WF_GROUP_EDIT.action.value=''DELETE'';'||
2263: 'document.WF_GROUP_EDIT.submit()',
2264: wf_core.translate('DELETE_SELECTED'),
2265: wfa_html.image_loc,
2266: null,
2267: wf_core.translate('DELETE_SELECTED'));
2268: htp.p('');

Line 2267: wf_core.translate('DELETE_SELECTED'));

2263: 'document.WF_GROUP_EDIT.submit()',
2264: wf_core.translate('DELETE_SELECTED'),
2265: wfa_html.image_loc,
2266: null,
2267: wf_core.translate('DELETE_SELECTED'));
2268: htp.p('');
2269: htp.p('');
2270: wfa_html.create_reg_button (
2271: 'javascript:document.WF_GROUP_EDIT.action.value=''FIND'';'||

Line 2273: wf_core.translate('ADD'),

2269: htp.p('');
2270: wfa_html.create_reg_button (
2271: 'javascript:document.WF_GROUP_EDIT.action.value=''FIND'';'||
2272: 'document.WF_GROUP_EDIT.submit()',
2273: wf_core.translate('ADD'),
2274: wfa_html.image_loc,
2275: null,
2276: wf_core.translate('ADD'));
2277: htp.p('');

Line 2276: wf_core.translate('ADD'));

2272: 'document.WF_GROUP_EDIT.submit()',
2273: wf_core.translate('ADD'),
2274: wfa_html.image_loc,
2275: null,
2276: wf_core.translate('ADD'));
2277: htp.p('');
2278: else
2279:
2280: -- Add screen

Line 2286: wf_core.translate('ADD_SELECTED'),

2282: htp.p('');
2283: wfa_html.create_reg_button (
2284: 'javascript:document.WF_GROUP_EDIT.action.value=''ADD'';'||
2285: 'document.WF_GROUP_EDIT.submit()',
2286: wf_core.translate('ADD_SELECTED'),
2287: wfa_html.image_loc,
2288: null,
2289: wf_core.translate('ADD_SELECTED'));
2290: htp.p('');

Line 2289: wf_core.translate('ADD_SELECTED'));

2285: 'document.WF_GROUP_EDIT.submit()',
2286: wf_core.translate('ADD_SELECTED'),
2287: wfa_html.image_loc,
2288: null,
2289: wf_core.translate('ADD_SELECTED'));
2290: htp.p('');
2291: htp.p('');
2292: wfa_html.create_reg_button ('javascript:history.back()',
2293: wf_core.translate ('CANCEL'),

Line 2293: wf_core.translate ('CANCEL'),

2289: wf_core.translate('ADD_SELECTED'));
2290: htp.p('');
2291: htp.p('');
2292: wfa_html.create_reg_button ('javascript:history.back()',
2293: wf_core.translate ('CANCEL'),
2294: wfa_html.image_loc,
2295: null,
2296: wf_core.translate ('CANCEL'));
2297:

Line 2296: wf_core.translate ('CANCEL'));

2292: wfa_html.create_reg_button ('javascript:history.back()',
2293: wf_core.translate ('CANCEL'),
2294: wfa_html.image_loc,
2295: null,
2296: wf_core.translate ('CANCEL'));
2297:
2298: htp.p('');
2299: end if;
2300: htp.tableRowClose;

Line 2308: wf_core.context('WF_EVENT_HTML', 'EditGroup', rawtohex(h_guid));

2304: htp.htmlClose;
2305: exception
2306: when others then
2307: rollback;
2308: wf_core.context('WF_EVENT_HTML', 'EditGroup', rawtohex(h_guid));
2309: wfe_html_util.Error;
2310: end EditGroup;
2311:
2312: --

Line 2332: l_message varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('WFPREF_LOV'));

2328: l_desc varchar2(2000);
2329: l_mname varchar2(80);
2330: l_mguid raw(16);
2331:
2332: l_message varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('WFPREF_LOV'));
2333: l_url varchar2(1000);
2334: l_media varchar2(240) := wfa_html.image_loc;
2335: l_icon varchar2(30) := 'FNDILOV.gif';
2336: begin

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

2339: username := upper(username);
2340: wf_events_pkg.setMode;
2341:
2342: -- Check Admin Priviledge
2343: admin_role := wf_core.translate('WF_ADMIN_ROLE');
2344: if (admin_role = '*' or
2345: Wf_Directory.IsPerformer(username, admin_role)) then
2346: -- Have admin privledge, do nothing.
2347: null;

Line 2349: wf_core.raise('WF_NOTADMIN');

2345: Wf_Directory.IsPerformer(username, admin_role)) then
2346: -- Have admin privledge, do nothing.
2347: null;
2348: else
2349: wf_core.raise('WF_NOTADMIN');
2350: end if;
2351:
2352: -- Check if Accessible
2353: wf_event_html.isAccessible('SYSTEM');

Line 2359: htp.title(wf_core.translate('WFE_EDIT_SYSTEM_TITLE'));

2355: -- Set page title
2356: htp.htmlOpen;
2357: htp.headOpen;
2358:
2359: htp.title(wf_core.translate('WFE_EDIT_SYSTEM_TITLE'));
2360: wfa_html.create_help_function('wf/links/t_d.htm?T_DEFEVSYS');
2361: fnd_document_management.get_open_dm_display_window;
2362:
2363: htp.headClose;

Line 2368: wf_core.translate('WFE_EDIT_SYSTEM_TITLE'),

2364:
2365: -- Page header
2366: wfa_sec.Header(FALSE,
2367: owa_util.get_owa_service_path||'wf_event_html.FindEvent',
2368: wf_core.translate('WFE_EDIT_SYSTEM_TITLE'),
2369: TRUE);
2370:
2371: -- populate the appropriate values in the form if editing an exist guid
2372: if (h_guid is not null) then

Line 2381: wf_core.raise('WFE_SYSTEM_NOTEXIST');

2377: where GUID = h_guid;
2378:
2379: exception
2380: when NO_DATA_FOUND then
2381: wf_core.raise('WFE_SYSTEM_NOTEXIST');
2382: end;
2383:
2384: if (l_mguid is not null) then
2385: begin

Line 2392: wf_core.token('GUID', rawtohex(l_mguid));

2388: from WF_SYSTEMS
2389: where GUID = l_mguid;
2390: exception
2391: when NO_DATA_FOUND then
2392: wf_core.token('GUID', rawtohex(l_mguid));
2393: l_mname := wf_core.translate('WFE_EVENT_NOGUID');
2394: end;
2395: end if;
2396:

Line 2393: l_mname := wf_core.translate('WFE_EVENT_NOGUID');

2389: where GUID = l_mguid;
2390: exception
2391: when NO_DATA_FOUND then
2392: wf_core.token('GUID', rawtohex(l_mguid));
2393: l_mname := wf_core.translate('WFE_EVENT_NOGUID');
2394: end;
2395: end if;
2396:
2397: -- take care of the double quote problem

Line 2424: wf_core.translate('NAME') || '',

2420:
2421: -- Name
2422: htp.tableRowOpen;
2423: htp.tableData(cvalue=>'',
2425: calign=>'Right', cattributes=>'id=""');
2426: htp.tableData(cvalue=>htf.formText(cname=>'h_name', csize=>40,
2427: cmaxlength=>240, cvalue=>l_name,
2428: cattributes=>'id="i_name"'),

Line 2435: wf_core.translate('DISPLAY_NAME') || '',

2431:
2432: -- Display Name
2433: htp.tableRowOpen;
2434: htp.tableData(cvalue=>'',
2436: calign=>'Right', cattributes=>'id=""');
2437: htp.tableData(cvalue=>htf.formText(cname=>'h_display_name', csize=>60,
2438: cmaxlength=>80,
2439: cattributes=>'id="i_display_name"'),

Line 2446: wf_core.translate('DESCRIPTION') || '',

2442:
2443: -- Description
2444: htp.tableRowOpen;
2445: htp.tableData(cvalue=>'',
2447: calign=>'Right', cattributes=>'id=""');
2448: htp.tableData(cvalue=>htf.formTextareaOpen2(
2449: cname=>'h_description',
2450: nrows=>2,

Line 2464: wf_core.translate('MASTER') || '',

2460:
2461: -- Master GUID
2462: htp.tableRowOpen;
2463: htp.tableData(cvalue=>'',
2465: calign=>'right',cattributes=>'id=""');
2466: htp.formHidden('h_master_guid', l_mguid);
2467: -- add LOV here:
2468: -- Note: The REPLACE function replaces all the space characters with

Line 2513: wf_core.translate('SUBMIT'),

2509:
2510: htp.p('');
2511:
2512: wfa_html.create_reg_button ('javascript:document.WF_SYSTEM_EDIT.submit()',
2513: wf_core.translate('SUBMIT'),
2514: wfa_html.image_loc,
2515: null,
2516: wf_core.translate('SUBMIT'));
2517:

Line 2516: wf_core.translate('SUBMIT'));

2512: wfa_html.create_reg_button ('javascript:document.WF_SYSTEM_EDIT.submit()',
2513: wf_core.translate('SUBMIT'),
2514: wfa_html.image_loc,
2515: null,
2516: wf_core.translate('SUBMIT'));
2517:
2518: htp.p('');
2519: htp.p('');
2520: wfa_html.create_reg_button ('javascript:history.back()',

Line 2521: wf_core.translate ('CANCEL'),

2517:
2518: htp.p('');
2519: htp.p('');
2520: wfa_html.create_reg_button ('javascript:history.back()',
2521: wf_core.translate ('CANCEL'),
2522: wfa_html.image_loc,
2523: null,
2524: wf_core.translate ('CANCEL'));
2525:

Line 2524: wf_core.translate ('CANCEL'));

2520: wfa_html.create_reg_button ('javascript:history.back()',
2521: wf_core.translate ('CANCEL'),
2522: wfa_html.image_loc,
2523: null,
2524: wf_core.translate ('CANCEL'));
2525:
2526: htp.p('');
2527:
2528: htp.tableRowClose;

Line 2537: wf_core.context('WF_EVENT_HTML', 'EditSystem', h_guid);

2533:
2534: exception
2535: when others then
2536: rollback;
2537: wf_core.context('WF_EVENT_HTML', 'EditSystem', h_guid);
2538: wfe_html_util.Error;
2539: end EditSystem;
2540:
2541: --

Line 2567: l_message varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('WFPREF_LOV'));

2563: l_qname varchar2(80);
2564: l_direction varchar2(8);
2565: l_status varchar2(8);
2566:
2567: l_message varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('WFPREF_LOV'));
2568: l_url varchar2(1000);
2569: l_media varchar2(240) := wfa_html.image_loc;
2570: l_icon varchar2(30) := 'FNDILOV.gif';
2571: l_onmouseover varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('FIND'));

Line 2571: l_onmouseover varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('FIND'));

2567: l_message varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('WFPREF_LOV'));
2568: l_url varchar2(1000);
2569: l_media varchar2(240) := wfa_html.image_loc;
2570: l_icon varchar2(30) := 'FNDILOV.gif';
2571: l_onmouseover varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('FIND'));
2572:
2573: select_in varchar2(8);
2574: select_out varchar2(8);
2575: select_enable varchar2(8);

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

2588: username := upper(username);
2589: wf_events_pkg.setMode;
2590:
2591: -- Check Admin Priviledge
2592: admin_role := wf_core.translate('WF_ADMIN_ROLE');
2593: if (admin_role = '*' or
2594: Wf_Directory.IsPerformer(username, admin_role)) then
2595: -- Have admin privledge, do nothing.
2596: null;

Line 2598: wf_core.raise('WF_NOTADMIN');

2594: Wf_Directory.IsPerformer(username, admin_role)) then
2595: -- Have admin privledge, do nothing.
2596: null;
2597: else
2598: wf_core.raise('WF_NOTADMIN');
2599: end if;
2600:
2601: -- Check if Accessible
2602: wf_event_html.isAccessible('AGENTS');

Line 2608: htp.title(wf_core.translate('WFE_EDIT_AGENT_TITLE'));

2604: -- Set page title
2605: htp.htmlOpen;
2606: htp.headOpen;
2607:
2608: htp.title(wf_core.translate('WFE_EDIT_AGENT_TITLE'));
2609: wfa_html.create_help_function('wf/links/t_d.htm?T_DEFEVAGT');
2610: fnd_document_management.get_open_dm_display_window;
2611:
2612: htp.headClose;

Line 2617: wf_core.translate('WFE_EDIT_AGENT_TITLE'),

2613:
2614: -- Page header
2615: wfa_sec.Header(FALSE,
2616: owa_util.get_owa_service_path||'wf_event_html.FindAgent',
2617: wf_core.translate('WFE_EDIT_AGENT_TITLE'),
2618: TRUE);
2619:
2620: -- populate the appropriate values in the form if editing an exist guid
2621: if (h_guid is not null) then

Line 2657: wf_core.raise('WFE_AGENT_NOTEXIST');

2653: select_disable := 'SELECTED';
2654: end if;
2655: exception
2656: when NO_DATA_FOUND then
2657: wf_core.raise('WFE_AGENT_NOTEXIST');
2658: end;
2659:
2660: end if;
2661:

Line 2680: wf_core.translate('NAME') || '',

2676:
2677: -- Name
2678: htp.tableRowOpen;
2679: htp.tableData(cvalue=>'',
2681: calign=>'Right',cattributes=>'id=""');
2682: htp.tableData(cvalue=>htf.formText(cname=>'h_name', csize=>60,
2683: cmaxlength=>80, cvalue=>l_name,
2684: cattributes=>'id="i_name"'),

Line 2691: wf_core.translate('DISPLAY_NAME') || '',

2687:
2688: -- Display Name
2689: htp.tableRowOpen;
2690: htp.tableData(cvalue=>'',
2692: calign=>'Right',cattributes=>'id=""');
2693: htp.tableData(cvalue=>htf.formText(cname=>'h_display_name', csize=>60,
2694: cmaxlength=>80,
2695: cattributes=>'id="i_display_name"'),

Line 2702: wf_core.translate('DESCRIPTION') || '',

2698:
2699: -- Description
2700: htp.tableRowOpen;
2701: htp.tableData(cvalue=>'',
2703: calign=>'Right', cattributes=>'id=""');
2704: htp.tableData(cvalue=>htf.formTextareaOpen2(
2705: cname=>'h_description',
2706: nrows=>2,

Line 2717: ||wf_core.newline;

2713: htp.tableRowClose;
2714:
2715: -- Protocol
2716: template := htf.formSelectOpen('h_protocol',cattributes=>'id="i_protocol"')
2717: ||wf_core.newline;
2718: for prtr in protocurs loop
2719: if (h_guid is not null and l_protocol is not null) then
2720: if (prtr.lookup_code = l_protocol) then
2721: template := template||htf.formSelectOption(prtr.meaning, 'SELECTED',

Line 2722: 'VALUE="'||prtr.lookup_code||'"')||wf_core.newline;

2718: for prtr in protocurs loop
2719: if (h_guid is not null and l_protocol is not null) then
2720: if (prtr.lookup_code = l_protocol) then
2721: template := template||htf.formSelectOption(prtr.meaning, 'SELECTED',
2722: 'VALUE="'||prtr.lookup_code||'"')||wf_core.newline;
2723: selected := TRUE;
2724: else
2725: template := template||htf.formSelectOption(prtr.meaning, '',
2726: 'VALUE="'||prtr.lookup_code||'"')||wf_core.newline;

Line 2726: 'VALUE="'||prtr.lookup_code||'"')||wf_core.newline;

2722: 'VALUE="'||prtr.lookup_code||'"')||wf_core.newline;
2723: selected := TRUE;
2724: else
2725: template := template||htf.formSelectOption(prtr.meaning, '',
2726: 'VALUE="'||prtr.lookup_code||'"')||wf_core.newline;
2727: end if;
2728: else
2729: if (not selected) then
2730: template := template||htf.formSelectOption(prtr.meaning, 'SELECTED',

Line 2731: 'VALUE="'||prtr.lookup_code||'"')||wf_core.newline;

2727: end if;
2728: else
2729: if (not selected) then
2730: template := template||htf.formSelectOption(prtr.meaning, 'SELECTED',
2731: 'VALUE="'||prtr.lookup_code||'"')||wf_core.newline;
2732: selected := TRUE;
2733: else
2734: template := template||htf.formSelectOption(prtr.meaning, '',
2735: 'VALUE="'||prtr.lookup_code||'"')||wf_core.newline;

Line 2735: 'VALUE="'||prtr.lookup_code||'"')||wf_core.newline;

2731: 'VALUE="'||prtr.lookup_code||'"')||wf_core.newline;
2732: selected := TRUE;
2733: else
2734: template := template||htf.formSelectOption(prtr.meaning, '',
2735: 'VALUE="'||prtr.lookup_code||'"')||wf_core.newline;
2736: end if;
2737: end if;
2738: end loop;
2739: -- if it is still not selected, this must be a custom code not yet in

Line 2743: 'VALUE="'||l_protocol||'"')||wf_core.newline;

2739: -- if it is still not selected, this must be a custom code not yet in
2740: -- WF_AQ_PROTOCOLS, preserve it.
2741: if (not selected) then
2742: template := template||htf.formSelectOption(l_protocol, 'SELECTED',
2743: 'VALUE="'||l_protocol||'"')||wf_core.newline;
2744: selected := TRUE;
2745: end if;
2746: template := template||htf.formSelectClose;
2747:

Line 2750: wf_core.translate('PROTOCOL') || '',

2746: template := template||htf.formSelectClose;
2747:
2748: htp.tableRowOpen;
2749: htp.tableData(cvalue=>'',
2751: calign=>'Right', cattributes=>'id=""');
2752: htp.tableData(cvalue=>template, calign=>'Left',cattributes=>'id=""');
2753: -- htp.tableData(cvalue=>htf.formText(cname=>'h_protocol', csize=>8,
2754: -- cmaxlength=>8, cvalue=>l_protocol),

Line 2761: wf_core.translate('ADDRESS') || '',

2757:
2758: -- Address
2759: htp.tableRowOpen;
2760: htp.tableData(cvalue=>'',
2762: calign=>'Right',cattributes=>'id=""');
2763: htp.tableData(cvalue=>htf.formText(cname=>'h_address', csize=>80,
2764: cmaxlength=>240, cvalue=>l_address,
2765: cattributes=>'id="i_address"'),

Line 2772: wf_core.translate('SYSTEM') || '',

2768:
2769: -- System
2770: htp.tableRowOpen;
2771: htp.tableData(cvalue=>'',
2773: calign=>'right',cattributes=>'id=""');
2774: htp.formHidden('h_system_guid', null);
2775: -- add LOV here:
2776: -- Note: The REPLACE function replaces all the space characters with

Line 2802: wf_core.translate('QUEUE_HANDLER') || '',

2798:
2799: -- Queue Handler
2800: htp.tableRowOpen;
2801: htp.tableData(cvalue=>'',
2803: calign=>'Right',cattributes=>'id=""');
2804: htp.tableData(cvalue=>htf.formText(cname=>'h_qhandler', csize=>60,
2805: cmaxlength=>240, cvalue=>l_qhandler,
2806: cattributes=>'id="i_queue_handler"'),

Line 2813: wf_core.translate('QUEUE_NAME') || '', calign=>'Right',

2809:
2810: -- Queue Name
2811: htp.tableRowOpen;
2812: htp.tableData(cvalue=>'', calign=>'Right',
2814: cattributes=>'id=""');
2815: htp.tableData(cvalue=>htf.formText(cname=>'h_qname', csize=>60,
2816: cmaxlength=>80, cvalue=>l_qname,
2817: cattributes=>'id="i_queue_name"'),

Line 2822: template := htf.formSelectOpen('h_direction', cattributes=>'id="i_direction"')||wf_core.newline||

2818: calign=>'Left',cattributes=>'id=""');
2819: htp.tableRowClose;
2820:
2821: -- Direction
2822: template := htf.formSelectOpen('h_direction', cattributes=>'id="i_direction"')||wf_core.newline||
2823: /*
2824: htf.formSelectOption(wf_core.translate('ANY'),
2825: select_any,'VALUE="ANY"')
2826: ||wf_core.newline||

Line 2824: htf.formSelectOption(wf_core.translate('ANY'),

2820:
2821: -- Direction
2822: template := htf.formSelectOpen('h_direction', cattributes=>'id="i_direction"')||wf_core.newline||
2823: /*
2824: htf.formSelectOption(wf_core.translate('ANY'),
2825: select_any,'VALUE="ANY"')
2826: ||wf_core.newline||
2827: */
2828: htf.formSelectOption(wf_core.translate('IN'),

Line 2826: ||wf_core.newline||

2822: template := htf.formSelectOpen('h_direction', cattributes=>'id="i_direction"')||wf_core.newline||
2823: /*
2824: htf.formSelectOption(wf_core.translate('ANY'),
2825: select_any,'VALUE="ANY"')
2826: ||wf_core.newline||
2827: */
2828: htf.formSelectOption(wf_core.translate('IN'),
2829: select_in,'VALUE="IN"')
2830: ||wf_core.newline||

Line 2828: htf.formSelectOption(wf_core.translate('IN'),

2824: htf.formSelectOption(wf_core.translate('ANY'),
2825: select_any,'VALUE="ANY"')
2826: ||wf_core.newline||
2827: */
2828: htf.formSelectOption(wf_core.translate('IN'),
2829: select_in,'VALUE="IN"')
2830: ||wf_core.newline||
2831: htf.formSelectOption(wf_core.translate('OUT'),
2832: select_out,'VALUE="OUT"')

Line 2830: ||wf_core.newline||

2826: ||wf_core.newline||
2827: */
2828: htf.formSelectOption(wf_core.translate('IN'),
2829: select_in,'VALUE="IN"')
2830: ||wf_core.newline||
2831: htf.formSelectOption(wf_core.translate('OUT'),
2832: select_out,'VALUE="OUT"')
2833: ||wf_core.newline||
2834: htf.formSelectClose;

Line 2831: htf.formSelectOption(wf_core.translate('OUT'),

2827: */
2828: htf.formSelectOption(wf_core.translate('IN'),
2829: select_in,'VALUE="IN"')
2830: ||wf_core.newline||
2831: htf.formSelectOption(wf_core.translate('OUT'),
2832: select_out,'VALUE="OUT"')
2833: ||wf_core.newline||
2834: htf.formSelectClose;
2835: htp.tableRowOpen;

Line 2833: ||wf_core.newline||

2829: select_in,'VALUE="IN"')
2830: ||wf_core.newline||
2831: htf.formSelectOption(wf_core.translate('OUT'),
2832: select_out,'VALUE="OUT"')
2833: ||wf_core.newline||
2834: htf.formSelectClose;
2835: htp.tableRowOpen;
2836: htp.tableData(cvalue=>'',

Line 2837: wf_core.translate('DIRECTION') || '',

2833: ||wf_core.newline||
2834: htf.formSelectClose;
2835: htp.tableRowOpen;
2836: htp.tableData(cvalue=>'',
2838: calign=>'Right',cattributes=>'id=""');
2839: htp.tableData(cvalue=>template, calign=>'Left',cattributes=>'id=""');
2840: htp.tableRowClose;
2841:

Line 2844: ||wf_core.newline||

2840: htp.tableRowClose;
2841:
2842: -- Status
2843: template := htf.formSelectOpen('h_status',cattributes=>'id="i_status"')
2844: ||wf_core.newline||
2845: htf.formSelectOption(wf_core.translate('ENABLED'),
2846: select_enable,'VALUE="ENABLED"')||
2847: wf_core.newline||
2848: htf.formSelectOption(wf_core.translate('DISABLED'),

Line 2845: htf.formSelectOption(wf_core.translate('ENABLED'),

2841:
2842: -- Status
2843: template := htf.formSelectOpen('h_status',cattributes=>'id="i_status"')
2844: ||wf_core.newline||
2845: htf.formSelectOption(wf_core.translate('ENABLED'),
2846: select_enable,'VALUE="ENABLED"')||
2847: wf_core.newline||
2848: htf.formSelectOption(wf_core.translate('DISABLED'),
2849: select_disable,'VALUE="DISABLED"')

Line 2847: wf_core.newline||

2843: template := htf.formSelectOpen('h_status',cattributes=>'id="i_status"')
2844: ||wf_core.newline||
2845: htf.formSelectOption(wf_core.translate('ENABLED'),
2846: select_enable,'VALUE="ENABLED"')||
2847: wf_core.newline||
2848: htf.formSelectOption(wf_core.translate('DISABLED'),
2849: select_disable,'VALUE="DISABLED"')
2850: ||wf_core.newline||
2851: htf.formSelectClose;

Line 2848: htf.formSelectOption(wf_core.translate('DISABLED'),

2844: ||wf_core.newline||
2845: htf.formSelectOption(wf_core.translate('ENABLED'),
2846: select_enable,'VALUE="ENABLED"')||
2847: wf_core.newline||
2848: htf.formSelectOption(wf_core.translate('DISABLED'),
2849: select_disable,'VALUE="DISABLED"')
2850: ||wf_core.newline||
2851: htf.formSelectClose;
2852: htp.tableRowOpen;

Line 2850: ||wf_core.newline||

2846: select_enable,'VALUE="ENABLED"')||
2847: wf_core.newline||
2848: htf.formSelectOption(wf_core.translate('DISABLED'),
2849: select_disable,'VALUE="DISABLED"')
2850: ||wf_core.newline||
2851: htf.formSelectClose;
2852: htp.tableRowOpen;
2853: htp.tableData(cvalue=>'',

Line 2854: wf_core.translate('STATUS') || '',

2850: ||wf_core.newline||
2851: htf.formSelectClose;
2852: htp.tableRowOpen;
2853: htp.tableData(cvalue=>'',
2855: calign=>'Right',cattributes=>'id=""');
2856: htp.tableData(cvalue=>template, calign=>'Left',cattributes=>'id=""');
2857: htp.tableRowClose;
2858:

Line 2880: wf_core.translate('SUBMIT'),

2876:
2877: htp.p('');
2878:
2879: wfa_html.create_reg_button ('javascript:document.WF_AGENT_EDIT.submit()',
2880: wf_core.translate('SUBMIT'),
2881: wfa_html.image_loc,
2882: null,
2883: wf_core.translate('SUBMIT'));
2884:

Line 2883: wf_core.translate('SUBMIT'));

2879: wfa_html.create_reg_button ('javascript:document.WF_AGENT_EDIT.submit()',
2880: wf_core.translate('SUBMIT'),
2881: wfa_html.image_loc,
2882: null,
2883: wf_core.translate('SUBMIT'));
2884:
2885: htp.p('');
2886: htp.p('');
2887: wfa_html.create_reg_button ('javascript:history.back()',

Line 2888: wf_core.translate ('CANCEL'),

2884:
2885: htp.p('');
2886: htp.p('');
2887: wfa_html.create_reg_button ('javascript:history.back()',
2888: wf_core.translate ('CANCEL'),
2889: wfa_html.image_loc,
2890: null,
2891: wf_core.translate ('CANCEL'));
2892:

Line 2891: wf_core.translate ('CANCEL'));

2887: wfa_html.create_reg_button ('javascript:history.back()',
2888: wf_core.translate ('CANCEL'),
2889: wfa_html.image_loc,
2890: null,
2891: wf_core.translate ('CANCEL'));
2892:
2893: htp.p('');
2894:
2895: htp.tableRowClose;

Line 2904: wf_core.context('WF_EVENT_HTML', 'EditAgent', h_guid);

2900:
2901: exception
2902: when others then
2903: rollback;
2904: wf_core.context('WF_EVENT_HTML', 'EditAgent', h_guid);
2905: wfe_html_util.Error;
2906: end EditAgent;
2907:
2908: --

Line 2976: l_message varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('WFPREF_LOV'));

2972: l_low varchar2(6) := '99';
2973: l_normal varchar2(6) := '50';
2974: l_high varchar2(6) := '1';
2975:
2976: l_message varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('WFPREF_LOV'));
2977: l_url varchar2(1000);
2978: l_media varchar2(240) := wfa_html.image_loc;
2979: l_icon varchar2(30) := 'FNDILOV.gif';
2980: l_onmouseover varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('FIND'));

Line 2980: l_onmouseover varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('FIND'));

2976: l_message varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('WFPREF_LOV'));
2977: l_url varchar2(1000);
2978: l_media varchar2(240) := wfa_html.image_loc;
2979: l_icon varchar2(30) := 'FNDILOV.gif';
2980: l_onmouseover varchar2(240) := wfa_html.replace_onMouseOver_quotes(wf_core.translate('FIND'));
2981:
2982: begin
2983: -- Check session and current user
2984: wfa_sec.GetSession(username);

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

2985: username := upper(username);
2986: wf_events_pkg.setMode;
2987:
2988: -- Check Admin Priviledge
2989: admin_role := wf_core.translate('WF_ADMIN_ROLE');
2990: if (admin_role = '*' or
2991: Wf_Directory.IsPerformer(username, admin_role)) then
2992: -- Have admin privledge, do nothing.
2993: null;

Line 2995: wf_core.raise('WF_NOTADMIN');

2991: Wf_Directory.IsPerformer(username, admin_role)) then
2992: -- Have admin privledge, do nothing.
2993: null;
2994: else
2995: wf_core.raise('WF_NOTADMIN');
2996: end if;
2997:
2998: -- Check if Accessible
2999: wf_event_html.isAccessible('SUBSCRIPTIONS');

Line 3004: htp.title(wf_core.translate('WFE_EDIT_SUBSC_TITLE'));

3000:
3001: -- Set page title
3002: htp.headOpen;
3003:
3004: htp.title(wf_core.translate('WFE_EDIT_SUBSC_TITLE'));
3005: wfa_html.create_help_function('wf/links/t_d.htm?'||'T_DEFEVSUB');
3006: fnd_document_management.get_open_dm_display_window;
3007:
3008: -- JavaScript for checkagent

Line 3016: window.alert('''||wf_core.translate('WFE_CHECKAGENT_ERROR')||''');

3012: htp.p('