DBA Data[Home] [Help]

APPS.WF_INITIATE dependencies on WF_INITIATE

Line 1: package body WF_INITIATE as

1: package body WF_INITIATE as
2: /* $Header: wfinitb.pls 120.3 2005/10/04 05:16:53 rtodi ship $ */
3:
4: ---
5: procedure Print_Error

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 109: 'WF_INITIATE',

105:
106: -- Set the destination field name for the document id
107: fnd_document_management.set_document_id_html (
108: null,
109: 'WF_INITIATE',
110: 'h_fvalues['||index_num||']',
111: 'h_fdocnames['||index_num||']',
112: l_callback_url);
113:

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 228: '&p_dest_hidden_field=top.opener.parent.document.WF_INITIATE.h_fvalues['||seq||'].value'||

224: l_url := 'javascript:fnd_open_dm_display_window('||''''||
225: REPLACE('wf_lov.display_lov?p_lov_name='||'owner'||
226: '&p_display_name='||'WFA_FIND_USER'||
227: '&p_validation_callback=wfa_html.wf_user_val'||
228: '&p_dest_hidden_field=top.opener.parent.document.WF_INITIATE.h_fvalues['||seq||'].value'||
229: '&p_current_value=top.opener.parent.document.WF_INITIATE.h_fdocnames['||seq||'].value'||
230: '&p_display_key='||'Y'||
231: '&p_dest_display_field=top.opener.parent.document.WF_INITIATE.h_fdocnames['||seq||'].value',
232: ' ', '%20')||''''||',500,500)';

Line 229: '&p_current_value=top.opener.parent.document.WF_INITIATE.h_fdocnames['||seq||'].value'||

225: REPLACE('wf_lov.display_lov?p_lov_name='||'owner'||
226: '&p_display_name='||'WFA_FIND_USER'||
227: '&p_validation_callback=wfa_html.wf_user_val'||
228: '&p_dest_hidden_field=top.opener.parent.document.WF_INITIATE.h_fvalues['||seq||'].value'||
229: '&p_current_value=top.opener.parent.document.WF_INITIATE.h_fdocnames['||seq||'].value'||
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:

Line 231: '&p_dest_display_field=top.opener.parent.document.WF_INITIATE.h_fdocnames['||seq||'].value',

227: '&p_validation_callback=wfa_html.wf_user_val'||
228: '&p_dest_hidden_field=top.opener.parent.document.WF_INITIATE.h_fvalues['||seq||'].value'||
229: '&p_current_value=top.opener.parent.document.WF_INITIATE.h_fdocnames['||seq||'].value'||
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:

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 416: ||'/wf_initiate.Process?ItemType='||wfa_html.conv_special_url_chars(typerec.name),

412: for typerec in itemtypes loop
413: htp.tableRowOpen('bgcolor=#ffffcc');
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',

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 538: -- wf_initiate.SubmitWorkflow is the url(procedure) to which the contents

534: from wf_item_types_vl
535: where name = Process.ItemType;
536:
537: --
538: -- wf_initiate.SubmitWorkflow is the url(procedure) to which the contents
539: -- of this form is sent
540: htp.formOpen(curl=>wfa_html.base_url||'/Wf_Initiate.SubmitWorkflow',
541: cmethod=>'Post', cattributes=>'NAME="WF_INITIATE"');
542:

Line 540: htp.formOpen(curl=>wfa_html.base_url||'/Wf_Initiate.SubmitWorkflow',

536:
537: --
538: -- wf_initiate.SubmitWorkflow is the url(procedure) to which the contents
539: -- of this form is sent
540: htp.formOpen(curl=>wfa_html.base_url||'/Wf_Initiate.SubmitWorkflow',
541: cmethod=>'Post', cattributes=>'NAME="WF_INITIATE"');
542:
543: --
544: -- Add dummy fields to start both array-type input fields.

Line 541: cmethod=>'Post', cattributes=>'NAME="WF_INITIATE"');

537: --
538: -- wf_initiate.SubmitWorkflow is the url(procedure) to which the contents
539: -- of this form is sent
540: htp.formOpen(curl=>wfa_html.base_url||'/Wf_Initiate.SubmitWorkflow',
541: cmethod=>'Post', cattributes=>'NAME="WF_INITIATE"');
542:
543: --
544: -- Add dummy fields to start both array-type input fields.
545: -- These dummy values are needed so that the array parameters to

Line 617: '&p_dest_hidden_field=top.opener.parent.document.WF_INITIATE.owner.value'||

613: l_url := 'javascript:fnd_open_dm_display_window('||''''||
614: REPLACE('wf_lov.display_lov?p_lov_name='||'owner'||
615: '&p_display_name='||'WFA_FIND_USER'||
616: '&p_validation_callback=wfa_html.wf_user_val'||
617: '&p_dest_hidden_field=top.opener.parent.document.WF_INITIATE.owner.value'||
618: '&p_current_value=top.opener.parent.document.WF_INITIATE.display_owner.value'||
619: '&p_display_key='||'Y'||
620: '&p_dest_display_field=top.opener.parent.document.WF_INITIATE.display_owner.value',
621: ' ', '%20')||''''||',500,500)';

Line 618: '&p_current_value=top.opener.parent.document.WF_INITIATE.display_owner.value'||

614: REPLACE('wf_lov.display_lov?p_lov_name='||'owner'||
615: '&p_display_name='||'WFA_FIND_USER'||
616: '&p_validation_callback=wfa_html.wf_user_val'||
617: '&p_dest_hidden_field=top.opener.parent.document.WF_INITIATE.owner.value'||
618: '&p_current_value=top.opener.parent.document.WF_INITIATE.display_owner.value'||
619: '&p_display_key='||'Y'||
620: '&p_dest_display_field=top.opener.parent.document.WF_INITIATE.display_owner.value',
621: ' ', '%20')||''''||',500,500)';
622:

Line 620: '&p_dest_display_field=top.opener.parent.document.WF_INITIATE.display_owner.value',

616: '&p_validation_callback=wfa_html.wf_user_val'||
617: '&p_dest_hidden_field=top.opener.parent.document.WF_INITIATE.owner.value'||
618: '&p_current_value=top.opener.parent.document.WF_INITIATE.display_owner.value'||
619: '&p_display_key='||'Y'||
620: '&p_dest_display_field=top.opener.parent.document.WF_INITIATE.display_owner.value',
621: ' ', '%20')||''''||',500,500)';
622:
623: htp.tableRowOpen;
624: htp.tableData(cvalue=>'

Line 656: wf_initiate.GetRole(rec.name, rec.text_default,

652:
653: if (rec.type = 'LOOKUP') then
654: GetLookup(rec.name, rec.text_default, rec.format, to_char(respcnt));
655: elsif (rec.type = 'ROLE') then
656: wf_initiate.GetRole(rec.name, rec.text_default,
657: to_char(respcnt) );
658: elsif (rec.type = 'DOCUMENT') then
659: GetDocument(rec.name, rec.format, dvalue, to_char(respcnt) );
660: else

Line 678: l_url := 'javascript:document.WF_INITIATE.submit()';

674:
675: htp.tableopen(calign=>'CENTER', cattributes=>'summary=""');
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:

Line 689: l_url := wfa_html.base_url||'/wf_initiate.itemType';

685: wf_pref.create_reg_button (l_url, l_onmouseover, l_media, l_icon, l_text);
686:
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:

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 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 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;

Line 942: end WF_INITIATE;

938:
939: end SubmitWorkflow;
940: --
941: --
942: end WF_INITIATE;