DBA Data[Home] [Help]

APPS.WF_INITIATE dependencies on WF_CORE

Line 13: htp.title(wf_core.translate('ERROR'));

9: error_stack varchar2(32000);
10: begin
11: htp.htmlOpen;
12: htp.headOpen;
13: htp.title(wf_core.translate('ERROR'));
14: htp.headClose;
15: wfa_sec.header(background_only=>TRUE);
16:
17: htp.header(1, wf_core.translate('ERROR'));

Line 17: htp.header(1, wf_core.translate('ERROR'));

13: htp.title(wf_core.translate('ERROR'));
14: htp.headClose;
15: wfa_sec.header(background_only=>TRUE);
16:
17: htp.header(1, wf_core.translate('ERROR'));
18: htp.br;
19: --
20: wf_core.get_error(error_name, error_message, error_stack);
21: if (error_name is not null) then

Line 20: wf_core.get_error(error_name, error_message, error_stack);

16:
17: htp.header(1, wf_core.translate('ERROR'));
18: htp.br;
19: --
20: wf_core.get_error(error_name, error_message, error_stack);
21: if (error_name is not null) then
22: htp.p(error_message);
23: elsif (sqlcode <> 0) then
24: htp.p(sqlerrm);

Line 29: htp.p(wf_core.translate('WFMON_ERROR_STACK'));

25: end if;
26:
27: htp.br;
28: if (error_stack is not null) then
29: htp.p(wf_core.translate('WFMON_ERROR_STACK'));
30: htp.p(replace(error_stack,wf_core.newline,'
') || '
');
31: end if;
32: --
33: htp.bodyClose;

Line 30: htp.p(replace(error_stack,wf_core.newline,'
') || '
');

26:
27: htp.br;
28: if (error_stack is not null) then
29: htp.p(wf_core.translate('WFMON_ERROR_STACK'));
30: htp.p(replace(error_stack,wf_core.newline,'
') || '
');
31: end if;
32: --
33: htp.bodyClose;
34: htp.htmlClose;

Line 66: wf_core.newline||

62: htp.formHidden('h_fdocnames', '');
63:
64: -- Create hidden field and select list
65: template := htf.formHidden('h_fnames', name||'#LOOKUP#'||format)||
66: wf_core.newline||
67: htf.formSelectOpen('h_fvalues',
68: cattributes=>'id="i_attr'||seq||'"');
69:
70: -- Add all lookups to select list

Line 73: template := template||wf_core.newline||

69:
70: -- Add all lookups to select list
71: for i in lookup_codes(format) loop
72: if (i.lookup_code = value) then
73: template := template||wf_core.newline||
74: htf.formSelectOption(cvalue=>i.meaning,
75: cattributes=>'value='||i.lookup_code,
76: cselected=>'SELECTED');
77: else

Line 78: template := template||wf_core.newline||

74: htf.formSelectOption(cvalue=>i.meaning,
75: cattributes=>'value='||i.lookup_code,
76: cselected=>'SELECTED');
77: else
78: template := template||wf_core.newline||
79: htf.formSelectOption(cvalue=>i.meaning,
80: cattributes=>'value='||i.lookup_code);
81: end if;
82: end loop;

Line 83: template := template||wf_core.newline||htf.formSelectClose;

79: htf.formSelectOption(cvalue=>i.meaning,
80: cattributes=>'value='||i.lookup_code);
81: end if;
82: end loop;
83: template := template||wf_core.newline||htf.formSelectClose;
84: htp.tableData(template, 'left',cattributes=>'id=""');
85: exception
86: when others then
87: wf_core.context('Wf_initiate', 'GetLookup', name, value, format);

Line 87: wf_core.context('Wf_initiate', 'GetLookup', name, value, format);

83: template := template||wf_core.newline||htf.formSelectClose;
84: htp.tableData(template, 'left',cattributes=>'id=""');
85: exception
86: when others then
87: wf_core.context('Wf_initiate', 'GetLookup', name, value, format);
88: raise;
89: end GetLookup;
90:
91: -- GetDocument (PRIVATE)

Line 135: wf_core.context('Wf_Initiate', 'GetDocument', name, format, dvalue);

131: cattributes=>'id=""');
132:
133: exception
134: when others then
135: wf_core.context('Wf_Initiate', 'GetDocument', name, format, dvalue);
136: raise;
137: end GetDocument;
138:
139: --

Line 192: wf_core.context('Wf_Initiate', 'GetField', name, type, format, dvalue,

188: -- cattributes=>'id=""');
189: -- end if;
190: exception
191: when others then
192: wf_core.context('Wf_Initiate', 'GetField', name, type, format, dvalue,
193: index_num);
194: raise;
195: end GetField;
196: --

Line 234: l_message := wf_core.translate ('WFPREF_LOV');

230: '&p_display_key='||'Y'||
231: '&p_dest_display_field=top.opener.parent.document.WF_INITIATE.h_fdocnames['||seq||'].value',
232: ' ', '%20')||''''||',500,500)';
233:
234: l_message := wf_core.translate ('WFPREF_LOV');
235:
236: -- print everything together so ther is no gap.
237: htp.tabledata(htf.formText(cname=>'h_fdocnames',
238: csize=>30,

Line 250: wf_core.context('Wf_initiate', 'GetRole', name, seq);

246: cattributes=>'id=""');
247:
248: exception
249: when others then
250: wf_core.context('Wf_initiate', 'GetRole', name, seq);
251: raise;
252: end GetRole;
253:
254:

Line 288: wf_core.context('Wf_initiate', 'GetLookupMeaning', ltype, lcode);

284:
285: return(meaning);
286: exception
287: when others then
288: wf_core.context('Wf_initiate', 'GetLookupMeaning', ltype, lcode);
289: raise;
290: end GetLookupMeaning;
291:
292:

Line 342: wf_core.context('Wf_initiate', 'GetDisplayValue', type, format,

338: return(value);
339:
340: exception
341: when others then
342: wf_core.context('Wf_initiate', 'GetDisplayValue', type, format,
343: tvalue, to_char(nvalue), to_char(dvalue));
344: raise;
345: end GetDisplayValue;
346:

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

368: --
369: -- Authenticate user
370: wfa_sec.GetSession(username);
371: username := upper(username);
372: admin_role := wf_core.translate('WF_ADMIN_ROLE');
373: if (admin_role = '*' or
374: Wf_Directory.IsPerformer(username, admin_role)) then
375: admin_mode := 'Y';
376: else

Line 377: l_error_msg := wf_core.translate('WFINIT_INVALID_ADMIN');

373: if (admin_role = '*' or
374: Wf_Directory.IsPerformer(username, admin_role)) then
375: admin_mode := 'Y';
376: else
377: l_error_msg := wf_core.translate('WFINIT_INVALID_ADMIN');
378: end if;
379: --
380: -- Header and Page Title
381: --

Line 384: htp.title(wf_core.translate('WFINIT_ITEM_TYPE_TITLE'));

380: -- Header and Page Title
381: --
382: htp.htmlOpen;
383: htp.headOpen;
384: htp.title(wf_core.translate('WFINIT_ITEM_TYPE_TITLE'));
385: wfa_html.create_help_function('wf/links/tes.htm?TESTING');
386: htp.headClose;
387: wfa_sec.header(page_title=>wf_core.translate('WFINIT_ITEM_TYPE_TITLE'));
388: --

Line 387: wfa_sec.header(page_title=>wf_core.translate('WFINIT_ITEM_TYPE_TITLE'));

383: htp.headOpen;
384: htp.title(wf_core.translate('WFINIT_ITEM_TYPE_TITLE'));
385: wfa_html.create_help_function('wf/links/tes.htm?TESTING');
386: htp.headClose;
387: wfa_sec.header(page_title=>wf_core.translate('WFINIT_ITEM_TYPE_TITLE'));
388: --
389: if (l_error_msg IS NOT NULL) THEN
390: htp.center(htf.bold(l_error_msg));
391: return;

Line 394: htp.tableOpen(cattributes=>'border=1 cellpadding=1 cellspacing=3 bgcolor=white align=center summary= "' || wf_core.translate('WFINIT_ITEM_TYPE_TITLE') || '"');

390: htp.center(htf.bold(l_error_msg));
391: return;
392: end if;
393: --
394: htp.tableOpen(cattributes=>'border=1 cellpadding=1 cellspacing=3 bgcolor=white align=center summary= "' || wf_core.translate('WFINIT_ITEM_TYPE_TITLE') || '"');
395: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
396: htp.tableHeader(cvalue=>''||
397: wf_core.translate('ITEMTYPE')||'
',
398: calign=>'center',

Line 397: wf_core.translate('ITEMTYPE')||'',

393: --
394: htp.tableOpen(cattributes=>'border=1 cellpadding=1 cellspacing=3 bgcolor=white align=center summary= "' || wf_core.translate('WFINIT_ITEM_TYPE_TITLE') || '"');
395: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
396: htp.tableHeader(cvalue=>''||
397: wf_core.translate('ITEMTYPE')||'
',
398: calign=>'center',
399: cattributes=>'id="' || wf_core.translate('ITEMTYPE') || '"');
400: htp.tableHeader(cvalue=>''||
401: wf_core.translate('WFITD_INTERNAL_NAME')||'
',

Line 399: cattributes=>'id="' || wf_core.translate('ITEMTYPE') || '"');

395: htp.tableRowOpen(cattributes=>'bgcolor=#006699');
396: htp.tableHeader(cvalue=>''||
397: wf_core.translate('ITEMTYPE')||'
',
398: calign=>'center',
399: cattributes=>'id="' || wf_core.translate('ITEMTYPE') || '"');
400: htp.tableHeader(cvalue=>''||
401: wf_core.translate('WFITD_INTERNAL_NAME')||'
',
402: calign=>'center',
403: cattributes=>'id="' || wf_core.translate('WFITD_INTERNAL_NAME') || '"');

Line 401: wf_core.translate('WFITD_INTERNAL_NAME')||'',

397: wf_core.translate('ITEMTYPE')||'',
398: calign=>'center',
399: cattributes=>'id="' || wf_core.translate('ITEMTYPE') || '"');
400: htp.tableHeader(cvalue=>''||
401: wf_core.translate('WFITD_INTERNAL_NAME')||'
',
402: calign=>'center',
403: cattributes=>'id="' || wf_core.translate('WFITD_INTERNAL_NAME') || '"');
404: htp.tableHeader(cvalue=>''||
405: wf_core.translate('DESCRIPTION')||'
',

Line 403: cattributes=>'id="' || wf_core.translate('WFITD_INTERNAL_NAME') || '"');

399: cattributes=>'id="' || wf_core.translate('ITEMTYPE') || '"');
400: htp.tableHeader(cvalue=>''||
401: wf_core.translate('WFITD_INTERNAL_NAME')||'
',
402: calign=>'center',
403: cattributes=>'id="' || wf_core.translate('WFITD_INTERNAL_NAME') || '"');
404: htp.tableHeader(cvalue=>''||
405: wf_core.translate('DESCRIPTION')||'
',
406: calign=>'center',
407: cattributes=>'id="' || wf_core.translate('DESCRIPTION') || '"');

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

401: wf_core.translate('WFITD_INTERNAL_NAME')||'',
402: calign=>'center',
403: cattributes=>'id="' || wf_core.translate('WFITD_INTERNAL_NAME') || '"');
404: htp.tableHeader(cvalue=>''||
405: wf_core.translate('DESCRIPTION')||'
',
406: calign=>'center',
407: cattributes=>'id="' || wf_core.translate('DESCRIPTION') || '"');
408: htp.tableRowClose;
409: --

Line 407: cattributes=>'id="' || wf_core.translate('DESCRIPTION') || '"');

403: cattributes=>'id="' || wf_core.translate('WFITD_INTERNAL_NAME') || '"');
404: htp.tableHeader(cvalue=>''||
405: wf_core.translate('DESCRIPTION')||'
',
406: calign=>'center',
407: cattributes=>'id="' || wf_core.translate('DESCRIPTION') || '"');
408: htp.tableRowClose;
409: --
410: --
411:

Line 418: cattributes=>'headers="' || wf_core.translate('ITEMTYPE') || '"');

414:
415: htp.tableData(cvalue=>htf.anchor(wfa_html.base_url
416: ||'/wf_initiate.Process?ItemType='||wfa_html.conv_special_url_chars(typerec.name),
417: ctext=>typerec.display_name),
418: cattributes=>'headers="' || wf_core.translate('ITEMTYPE') || '"');
419:
420: htp.tableData(cvalue=>typerec.name, calign=>'left',
421: cattributes=>'headers="' || wf_core.translate('WFITD_INTERNAL_NAME') || '"');
422: htp.tableData(cvalue=>typerec.description, calign=>'left',

Line 421: cattributes=>'headers="' || wf_core.translate('WFITD_INTERNAL_NAME') || '"');

417: ctext=>typerec.display_name),
418: cattributes=>'headers="' || wf_core.translate('ITEMTYPE') || '"');
419:
420: htp.tableData(cvalue=>typerec.name, calign=>'left',
421: cattributes=>'headers="' || wf_core.translate('WFITD_INTERNAL_NAME') || '"');
422: htp.tableData(cvalue=>typerec.description, calign=>'left',
423: cattributes=>'headers="' || wf_core.translate('DESCRIPTION') || '"');
424: htp.tableRowClose;
425: end loop;

Line 423: cattributes=>'headers="' || wf_core.translate('DESCRIPTION') || '"');

419:
420: htp.tableData(cvalue=>typerec.name, calign=>'left',
421: cattributes=>'headers="' || wf_core.translate('WFITD_INTERNAL_NAME') || '"');
422: htp.tableData(cvalue=>typerec.description, calign=>'left',
423: cattributes=>'headers="' || wf_core.translate('DESCRIPTION') || '"');
424: htp.tableRowClose;
425: end loop;
426: --
427: --

Line 437: wf_core.context('Wf_Initiate', 'ItemType');

433: if (ItemTypes%isopen) then
434: close ItemTypes; -- Close cursor just in case
435: end if;
436: rollback;
437: wf_core.context('Wf_Initiate', 'ItemType');
438: print_error;
439: end ItemType;
440:
441:

Line 486: l_message varchar2(240) := wf_core.translate ('WFPREF_LOV');

482: l_media varchar2(240):= wfa_html.image_loc;
483: l_icon varchar2(30) := 'FNDILOV.gif';
484: l_url varchar2(1000);
485: l_onmouseover varchar2(240);
486: l_message varchar2(240) := wf_core.translate ('WFPREF_LOV');
487: l_text varchar2(30) := '';
488: --
489: --
490: --

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

492:
493: -- Authenticate user
494: wfa_sec.GetSession(username);
495: username := upper(username);
496: admin_role := wf_core.translate('WF_ADMIN_ROLE');
497: if (admin_role = '*' or
498: Wf_Directory.IsPerformer(username, admin_role)) then
499: admin_mode := 'Y';
500: else

Line 501: l_error_msg := wf_core.translate('WFINIT_INVALID_ADMIN');

497: if (admin_role = '*' or
498: Wf_Directory.IsPerformer(username, admin_role)) then
499: admin_mode := 'Y';
500: else
501: l_error_msg := wf_core.translate('WFINIT_INVALID_ADMIN');
502: end if;
503: --
504: -- Header and Page Title
505: --

Line 508: htp.title(wf_core.translate('WFINIT_PROCESS_TITLE'));

504: -- Header and Page Title
505: --
506: htp.htmlOpen;
507: htp.headOpen;
508: htp.title(wf_core.translate('WFINIT_PROCESS_TITLE'));
509: wfa_html.create_help_function('wf/links/ini.htm?INIT_WF');
510:
511: -- Add the java script to the header to open the dm window for
512: -- any DM function that and any standard LOV

Line 518: wfa_sec.Header(FALSE, '', wf_core.translate('WFINIT_PROCESS_TITLE')||' - '||Process.ItemType);

514: fnd_document_management.get_open_dm_display_window;
515:
516: htp.headClose;
517:
518: wfa_sec.Header(FALSE, '', wf_core.translate('WFINIT_PROCESS_TITLE')||' - '||Process.ItemType);
519: htp.br;
520:
521: --
522: if (l_error_msg IS NOT NULL) THEN

Line 559: htp.tableOpen(cattributes=>'border=0 cellpadding=2 cellspacing=0 ALIGN=CENTER summary="' || wf_core.translate('WFINIT_PROCESS_TITLE') || '"');

555: --
556: --
557: -- Item Key
558: --
559: htp.tableOpen(cattributes=>'border=0 cellpadding=2 cellspacing=0 ALIGN=CENTER summary="' || wf_core.translate('WFINIT_PROCESS_TITLE') || '"');
560: htp.tableRowOpen;
561: htp.tableData(cvalue=>'', calign=>'right',
563: cattributes=>'id=""');

Line 562: wf_core.translate('ITEMKEY') || '', calign=>'right',

558: --
559: htp.tableOpen(cattributes=>'border=0 cellpadding=2 cellspacing=0 ALIGN=CENTER summary="' || wf_core.translate('WFINIT_PROCESS_TITLE') || '"');
560: htp.tableRowOpen;
561: htp.tableData(cvalue=>'', calign=>'right',
563: cattributes=>'id=""');
564: htp.tableData(cvalue=>htf.formText(cname=>'itemkey',csize=>40,
565: cmaxlength=>240,
566: cattributes=>'id="i_itemkey"'),

Line 575: wf_core.translate('USER_ITEMKEY') || '',

571: -- User Key
572: --
573: htp.tableRowOpen;
574: htp.tableData(cvalue=>'',
576: calign=>'right',
577: cattributes=>'id=""');
578: htp.tableData(cvalue=>htf.formText(cname=>'userkey', csize=>40,
579: cmaxlength=>240,

Line 589: wf_core.translate('PROCESS_NAME') || '', calign=>'right',

585: -- Process name
586: --
587: htp.tableRowOpen('bgcolor=#ffffcc');
588: htp.tableData(cvalue=>'', calign=>'right',
590: cattributes=>'id=""');
591: htp.p('');
592: htp.formSelectOpen(cname=>'Process',cattributes=>'id="i_process_name"');
593:

Line 595: htp.formSelectOption(cvalue=>wf_core.translate('WFA_NULL_PROCESS')

591: htp.p('');
592: htp.formSelectOpen(cname=>'Process',cattributes=>'id="i_process_name"');
593:
594: -- add a null process which will invoke the selector function
595: htp.formSelectOption(cvalue=>wf_core.translate('WFA_NULL_PROCESS')
596: ,cattributes=>'value='||'""');
597: for wfp in RunnableProcesses loop
598: htp.formSelectOption(cvalue=>wfp.display_name
599: ,cattributes=>'value='||'"'||wfp.process_name||'"');

Line 625: wf_core.translate('PROCESS_OWNER') ||

621: ' ', '%20')||''''||',500,500)';
622:
623: htp.tableRowOpen;
624: htp.tableData(cvalue=>'', calign=>'right',
627: cattributes=>'id=""');
628:
629: -- print everything together so ther is no gap.

Line 680: l_text := wf_core.translate ('WFMON_OK');

676: htp.tableRowOpen;
677:
678: l_url := 'javascript:document.WF_INITIATE.submit()';
679: l_icon := 'FNDJLFOK.gif';
680: l_text := wf_core.translate ('WFMON_OK');
681: l_onmouseover := wf_core.translate ('WFMON_OK');
682:
683: htp.p('');
684:

Line 681: l_onmouseover := wf_core.translate ('WFMON_OK');

677:
678: l_url := 'javascript:document.WF_INITIATE.submit()';
679: l_icon := 'FNDJLFOK.gif';
680: l_text := wf_core.translate ('WFMON_OK');
681: l_onmouseover := wf_core.translate ('WFMON_OK');
682:
683: htp.p('');
684:
685: wf_pref.create_reg_button (l_url, l_onmouseover, l_media, l_icon, l_text);

Line 691: l_text := wf_core.translate ('CANCEL');

687: htp.p('');
688:
689: l_url := wfa_html.base_url||'/wf_initiate.itemType';
690: l_icon := 'FNDJLFCN.gif';
691: l_text := wf_core.translate ('CANCEL');
692: l_onmouseover := wf_core.translate ('CANCEL');
693:
694: htp.p('');
695:

Line 692: l_onmouseover := wf_core.translate ('CANCEL');

688:
689: l_url := wfa_html.base_url||'/wf_initiate.itemType';
690: l_icon := 'FNDJLFCN.gif';
691: l_text := wf_core.translate ('CANCEL');
692: l_onmouseover := wf_core.translate ('CANCEL');
693:
694: htp.p('');
695:
696: wf_pref.create_reg_button (l_url, l_onmouseover, l_media, l_icon, l_text);

Line 720: wf_core.context('Wf_Initiate', 'Process');

716: if (itemattrs%isopen) then
717: close itemattrs; -- Close cursor just in case
718: end if;
719: rollback;
720: wf_core.context('Wf_Initiate', 'Process');
721: print_error;
722: end Process;
723:
724:

Line 818: if (wf_core.error_name is null) and (attr_fmt is not null) then

814: attr_name, attr_value);
815: end if;
816: exception
817: when others then
818: if (wf_core.error_name is null) and (attr_fmt is not null) then
819: badfmt := true;
820: else
821: raise;
822: end if;

Line 825: Wf_Core.Token('FORMAT', attr_fmt);

821: raise;
822: end if;
823: end;
824: if (badfmt) then
825: Wf_Core.Token('FORMAT', attr_fmt);
826: Wf_core.Token('VALUE',attr_value);
827: Wf_Core.Raise('WFINIT_INVALID_FMT');
828: end if;
829: if input_too_long then

Line 826: Wf_core.Token('VALUE',attr_value);

822: end if;
823: end;
824: if (badfmt) then
825: Wf_Core.Token('FORMAT', attr_fmt);
826: Wf_core.Token('VALUE',attr_value);
827: Wf_Core.Raise('WFINIT_INVALID_FMT');
828: end if;
829: if input_too_long then
830: Wf_Core.Token('FORMAT', attr_fmt);

Line 827: Wf_Core.Raise('WFINIT_INVALID_FMT');

823: end;
824: if (badfmt) then
825: Wf_Core.Token('FORMAT', attr_fmt);
826: Wf_core.Token('VALUE',attr_value);
827: Wf_Core.Raise('WFINIT_INVALID_FMT');
828: end if;
829: if input_too_long then
830: Wf_Core.Token('FORMAT', attr_fmt);
831: Wf_core.Token('INPUT',substr(attr_value,1,10));

Line 830: Wf_Core.Token('FORMAT', attr_fmt);

826: Wf_core.Token('VALUE',attr_value);
827: Wf_Core.Raise('WFINIT_INVALID_FMT');
828: end if;
829: if input_too_long then
830: Wf_Core.Token('FORMAT', attr_fmt);
831: Wf_core.Token('INPUT',substr(attr_value,1,10));
832: Wf_core.Token('TRUNC',substr(attr_value,to_number(attr_fmt)+1));
833: wf_core.raise('WFINIT_INPUT_TOOLONG');
834: end if;

Line 831: Wf_core.Token('INPUT',substr(attr_value,1,10));

827: Wf_Core.Raise('WFINIT_INVALID_FMT');
828: end if;
829: if input_too_long then
830: Wf_Core.Token('FORMAT', attr_fmt);
831: Wf_core.Token('INPUT',substr(attr_value,1,10));
832: Wf_core.Token('TRUNC',substr(attr_value,to_number(attr_fmt)+1));
833: wf_core.raise('WFINIT_INPUT_TOOLONG');
834: end if;
835:

Line 832: Wf_core.Token('TRUNC',substr(attr_value,to_number(attr_fmt)+1));

828: end if;
829: if input_too_long then
830: Wf_Core.Token('FORMAT', attr_fmt);
831: Wf_core.Token('INPUT',substr(attr_value,1,10));
832: Wf_core.Token('TRUNC',substr(attr_value,to_number(attr_fmt)+1));
833: wf_core.raise('WFINIT_INPUT_TOOLONG');
834: end if;
835:
836: exception

Line 833: wf_core.raise('WFINIT_INPUT_TOOLONG');

829: if input_too_long then
830: Wf_Core.Token('FORMAT', attr_fmt);
831: Wf_core.Token('INPUT',substr(attr_value,1,10));
832: Wf_core.Token('TRUNC',substr(attr_value,to_number(attr_fmt)+1));
833: wf_core.raise('WFINIT_INPUT_TOOLONG');
834: end if;
835:
836: exception
837: when others then

Line 838: wf_core.context('Wf_initiate', 'SetAttribute',

834: end if;
835:
836: exception
837: when others then
838: wf_core.context('Wf_initiate', 'SetAttribute',
839: SetAttribute.itemType,SetAttribute.itemkey,
840: attr_name_type, attr_value, attr_doc_name);
841: raise;
842: end SetAttribute;

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

869:
870: -- Authenticate user
871: wfa_sec.GetSession(username);
872: username := upper(username);
873: admin_role := wf_core.translate('WF_ADMIN_ROLE');
874: if (admin_role = '*' or
875: Wf_Directory.IsPerformer(username, admin_role)) then
876: admin_mode := 'Y';
877: else

Line 878: l_error_msg := wf_core.translate('WFINIT_INVALID_ADMIN');

874: if (admin_role = '*' or
875: Wf_Directory.IsPerformer(username, admin_role)) then
876: admin_mode := 'Y';
877: else
878: l_error_msg := wf_core.translate('WFINIT_INVALID_ADMIN');
879: end if;
880:
881: -- Convert the display name of the owner to a username if necessary
882: t_owner := owner;

Line 935: wf_core.context('Wf_Initiate','SubmitWorkflow',

931: --
932: exception
933: when others then
934: rollback;
935: wf_core.context('Wf_Initiate','SubmitWorkflow',
936: itemtype, itemkey);
937: print_error;
938:
939: end SubmitWorkflow;