2200: htp.tableData(itemkey, 'Left', cattributes=>'id=""');
2201: if (userkey is not null) then
2202: htp.tableData(userkey, 'Left',cattributes=>'id=""');
2203: else
2204: htp.tableData(htf.br,cattributes=>'id=""');
2205: end if;
2206:
2207: if (url is not null) then
2208: htp.tableData(htf.anchor2(curl=>url, ctext=>process, ctarget=>'_top'),
2204: htp.tableData(htf.br,cattributes=>'id=""');
2205: end if;
2206:
2207: if (url is not null) then
2208: htp.tableData(htf.anchor2(curl=>url, ctext=>process, ctarget=>'_top'),
2209: 'Left',
2210: cattributes=>'id=""');
2211: else
2212: htp.tableData(process, 'Left', cattributes=>'id=""');
2213: end if;
2214:
2215: -- Active/Complete icon
2216: if (active) then
2217: htp.tableData(htf.br,cattributes=>'id=""');
2218: else
2219: htp.tableData(cvalue=>htf.img(curl=>wfa_html.image_loc||'FNDIDONE.gif',
2220: calt=>wf_core.translate('COMPLETE'),
2221: cattributes=>'border=no height=26'),
2215: -- Active/Complete icon
2216: if (active) then
2217: htp.tableData(htf.br,cattributes=>'id=""');
2218: else
2219: htp.tableData(cvalue=>htf.img(curl=>wfa_html.image_loc||'FNDIDONE.gif',
2220: calt=>wf_core.translate('COMPLETE'),
2221: cattributes=>'border=no height=26'),
2222: calign=>'center',
2223: cattributes=>'id=""');
2224: end if;
2225:
2226: -- Error icon if error
2227: if (error) then
2228: htp.tableData(cvalue=>htf.img(curl=>wfa_html.image_loc||'FNDIREDL.gif',
2229: calt=>wf_core.translate('IN_ERROR'),
2230: cattributes=>'border=no height=26'),
2231: calign=>'center',
2232: cattributes=>'id=""');
2230: cattributes=>'border=no height=26'),
2231: calign=>'center',
2232: cattributes=>'id=""');
2233: else
2234: htp.tableData(htf.br,cattributes=>'id=""');
2235: end if;
2236:
2237: -- Suspend icon if suspended
2238: if (suspend) then
2235: end if;
2236:
2237: -- Suspend icon if suspended
2238: if (suspend) then
2239: htp.tableData(cvalue=>htf.img(curl=>wfa_html.image_loc||'FNDIYLWL.gif',
2240: calt=>wf_core.translate('SUSPEND'),
2241: cattributes=>'border=no height=26'),
2242: calign=>'center', cattributes=>'id=""');
2243: else
2240: calt=>wf_core.translate('SUSPEND'),
2241: cattributes=>'border=no height=26'),
2242: calign=>'center', cattributes=>'id=""');
2243: else
2244: htp.tableData(htf.br,cattributes=>'id=""');
2245: end if;
2246:
2247: htp.tableData(startdate, 'Left', cattributes=>'id=""');
2248: htp.tableRowClose;
2660: ** Close the checkboxes table
2661: */
2662: htp.tableClose;
2663:
2664: htp.p(htf.formHidden('x_item_type', x_item_type));
2665: htp.p(htf.formHidden('x_item_key', x_item_key));
2666: htp.p(htf.formHidden('x_admin_mode', x_admin_mode));
2667: htp.p(htf.formHidden('x_access_key', x_access_key));
2668: htp.p(htf.formHidden('x_advanced', 'TRUE'));
2661: */
2662: htp.tableClose;
2663:
2664: htp.p(htf.formHidden('x_item_type', x_item_type));
2665: htp.p(htf.formHidden('x_item_key', x_item_key));
2666: htp.p(htf.formHidden('x_admin_mode', x_admin_mode));
2667: htp.p(htf.formHidden('x_access_key', x_access_key));
2668: htp.p(htf.formHidden('x_advanced', 'TRUE'));
2669: htp.p(htf.formHidden('x_sort_column', x_sort_column));
2662: htp.tableClose;
2663:
2664: htp.p(htf.formHidden('x_item_type', x_item_type));
2665: htp.p(htf.formHidden('x_item_key', x_item_key));
2666: htp.p(htf.formHidden('x_admin_mode', x_admin_mode));
2667: htp.p(htf.formHidden('x_access_key', x_access_key));
2668: htp.p(htf.formHidden('x_advanced', 'TRUE'));
2669: htp.p(htf.formHidden('x_sort_column', x_sort_column));
2670: htp.p(htf.formHidden('x_sort_order', x_sort_order));
2663:
2664: htp.p(htf.formHidden('x_item_type', x_item_type));
2665: htp.p(htf.formHidden('x_item_key', x_item_key));
2666: htp.p(htf.formHidden('x_admin_mode', x_admin_mode));
2667: htp.p(htf.formHidden('x_access_key', x_access_key));
2668: htp.p(htf.formHidden('x_advanced', 'TRUE'));
2669: htp.p(htf.formHidden('x_sort_column', x_sort_column));
2670: htp.p(htf.formHidden('x_sort_order', x_sort_order));
2671: htp.p(htf.formHidden('x_nls_lang', x_nls_lang));
2664: htp.p(htf.formHidden('x_item_type', x_item_type));
2665: htp.p(htf.formHidden('x_item_key', x_item_key));
2666: htp.p(htf.formHidden('x_admin_mode', x_admin_mode));
2667: htp.p(htf.formHidden('x_access_key', x_access_key));
2668: htp.p(htf.formHidden('x_advanced', 'TRUE'));
2669: htp.p(htf.formHidden('x_sort_column', x_sort_column));
2670: htp.p(htf.formHidden('x_sort_order', x_sort_order));
2671: htp.p(htf.formHidden('x_nls_lang', x_nls_lang));
2672:
2665: htp.p(htf.formHidden('x_item_key', x_item_key));
2666: htp.p(htf.formHidden('x_admin_mode', x_admin_mode));
2667: htp.p(htf.formHidden('x_access_key', x_access_key));
2668: htp.p(htf.formHidden('x_advanced', 'TRUE'));
2669: htp.p(htf.formHidden('x_sort_column', x_sort_column));
2670: htp.p(htf.formHidden('x_sort_order', x_sort_order));
2671: htp.p(htf.formHidden('x_nls_lang', x_nls_lang));
2672:
2673: htp.formClose;
2666: htp.p(htf.formHidden('x_admin_mode', x_admin_mode));
2667: htp.p(htf.formHidden('x_access_key', x_access_key));
2668: htp.p(htf.formHidden('x_advanced', 'TRUE'));
2669: htp.p(htf.formHidden('x_sort_column', x_sort_column));
2670: htp.p(htf.formHidden('x_sort_order', x_sort_order));
2671: htp.p(htf.formHidden('x_nls_lang', x_nls_lang));
2672:
2673: htp.formClose;
2674:
2667: htp.p(htf.formHidden('x_access_key', x_access_key));
2668: htp.p(htf.formHidden('x_advanced', 'TRUE'));
2669: htp.p(htf.formHidden('x_sort_column', x_sort_column));
2670: htp.p(htf.formHidden('x_sort_order', x_sort_order));
2671: htp.p(htf.formHidden('x_nls_lang', x_nls_lang));
2672:
2673: htp.formClose;
2674:
2675: EXCEPTION
3132: '&x_nls_lang='||x_nls_lang|| ''''||', '||
3133: ''''||'header_bar'||''''||')">');
3134:
3135: if (status_flag = 'FNDIACTV.gif') then
3136: htp.p(htf.img(wfa_html.image_loc||status_flag,'left',
3137: wf_core.translate('ACTIVE'), null, 'height=40 width=35'));
3138: else
3139: htp.p(htf.img(wfa_html.image_loc||status_flag,'left',
3140: wf_core.translate('COMPLETE'), null, 'height=40 width=35'));
3135: if (status_flag = 'FNDIACTV.gif') then
3136: htp.p(htf.img(wfa_html.image_loc||status_flag,'left',
3137: wf_core.translate('ACTIVE'), null, 'height=40 width=35'));
3138: else
3139: htp.p(htf.img(wfa_html.image_loc||status_flag,'left',
3140: wf_core.translate('COMPLETE'), null, 'height=40 width=35'));
3141: end if;
3142:
3143: title_info := proc_dispname||': '||item_type_dispname||', '||u_key;
3142:
3143: title_info := proc_dispname||': '||item_type_dispname||', '||u_key;
3144: htp.p(title_info);
3145:
3146: htp.p(htf.br);
3147: title_info := wf_core.translate('WFMON_STARTED')||': '||
3148: x_begin_date||' ( '||
3149: proc_duration||' '||wf_core.translate('WFMON_DAYS')||' )';
3150: htp.p(title_info);
3147: title_info := wf_core.translate('WFMON_STARTED')||': '||
3148: x_begin_date||' ( '||
3149: proc_duration||' '||wf_core.translate('WFMON_DAYS')||' )';
3150: htp.p(title_info);
3151: htp.p(htf.br(cclear=>'clear=left'));
3152: htp.p('
');
3153:
3154:
3155: /*
3580: END LOOP;
3581:
3582: if (x_icon_name = 'FNDIACTV.gif') then
3583: htp.tableData(
3584: htf.img(wfa_html.image_loc||x_icon_name, 'absmiddle',
3585: wf_core.translate('ACTIVE'),
3586: null, 'height=26')||
3587: ' '||
3588: x_activity_record.activity_status_display,
3588: x_activity_record.activity_status_display,
3589: cattributes=>'id=""');
3590: elsif (x_icon_name = 'FNDIDONE.gif') then
3591: htp.tableData(
3592: htf.img(wfa_html.image_loc||x_icon_name, 'absmiddle',
3593: wf_core.translate('COMPLETE'),
3594: null, 'height=26')||
3595: ' '||
3596: x_activity_record.activity_status_display,
3596: x_activity_record.activity_status_display,
3597: cattributes=>'id=""');
3598: elsif (x_icon_name = 'FNDIREDL.gif') then
3599: htp.tableData(
3600: htf.img(wfa_html.image_loc||x_icon_name, 'absmiddle',
3601: wf_core.translate('ERROR'),
3602: null, 'height=26')||
3603: ' '||
3604: x_activity_record.activity_status_display,
3604: x_activity_record.activity_status_display,
3605: cattributes=>'id=""');
3606: else
3607: htp.tableData(
3608: htf.img(wfa_html.image_loc||x_icon_name, 'absmiddle',
3609: wf_core.translate('SUSPEND'),
3610: null, 'height=26')||
3611: ' '||
3612: x_activity_record.activity_status_display,
3626: NVL(x_activity_record.notification_status, 'OPEN') =
3627: 'CLOSED') THEN
3628:
3629: htp.tableData(
3630: htf.img(wfa_html.image_loc||'chckmark.gif', 'absmiddle',
3631: wf_core.translate('COMPLETE'), null, 'height=26'),
3632: cattributes=>'id=""');
3633:
3634: ELSE
3632: cattributes=>'id=""');
3633:
3634: ELSE
3635:
3636: htp.tableData(htf.br,cattributes=>'id=""');
3637:
3638: END IF;
3639:
3640: END IF;
3699: ** to. If it is any other type of activity then the WHO column is
3700: ** set to Workflow engine.
3701: */
3702: if (mlrurl is not null) then
3703: htp.tableData(htf.anchor2(mlrurl, role_name, 'anchor_text', '_top'),
3704: 'Left',cattributes=>'id=""');
3705: else
3706: htp.tableData(x_font_color||role_name||x_font_color_end, 'Left',
3707: cattributes=>'id=""');
3753: open attrs(x_activity_record.notification_id);
3754: fetch attrs into result;
3755: if (attrs%found) then
3756: n_response :=
3757: htf.anchor2(curl=>Wfa_Sec.DetailURL(
3758: x_activity_record.notification_id),
3759: ctarget=>'_top',
3760: ctext=>htf.img(
3761: curl=>wfa_html.image_loc||'reqresp.gif',
3756: n_response :=
3757: htf.anchor2(curl=>Wfa_Sec.DetailURL(
3758: x_activity_record.notification_id),
3759: ctarget=>'_top',
3760: ctext=>htf.img(
3761: curl=>wfa_html.image_loc||'reqresp.gif',
3762: calt=>wf_core.translate('WFSRV_RECIPIENT_MUST_RESPOND'),
3763: cattributes=>'BORDER=0'));
3764: end if;
3919: htp.tableData(x_font_color||x_activity_record.result||x_font_color_end, 'Left',cattributes=>'id=""');
3920:
3921: ELSE
3922:
3923: htp.tableData(htf.br,cattributes=>'id=""');
3924:
3925: END IF;
3926:
3927: END IF;
3927: END IF;
3928:
3929: else
3930:
3931: htp.tableData(htf.br,cattributes=>'id=""');
3932:
3933: end if;
3934:
3935: htp.tableRowClose;
3941: CLOSE x_activity_cursor;
3942:
3943: htp.tableClose;
3944:
3945: htp.p(htf.formHidden('x_item_type', x_item_type));
3946: htp.p(htf.formHidden('x_item_key', x_item_key));
3947: htp.p(htf.formHidden('x_admin_mode', x_admin_mode));
3948: htp.p(htf.formHidden('x_access_key', x_access_key));
3949: htp.p(htf.formHidden('x_nls_lang', x_nls_lang));
3942:
3943: htp.tableClose;
3944:
3945: htp.p(htf.formHidden('x_item_type', x_item_type));
3946: htp.p(htf.formHidden('x_item_key', x_item_key));
3947: htp.p(htf.formHidden('x_admin_mode', x_admin_mode));
3948: htp.p(htf.formHidden('x_access_key', x_access_key));
3949: htp.p(htf.formHidden('x_nls_lang', x_nls_lang));
3950:
3943: htp.tableClose;
3944:
3945: htp.p(htf.formHidden('x_item_type', x_item_type));
3946: htp.p(htf.formHidden('x_item_key', x_item_key));
3947: htp.p(htf.formHidden('x_admin_mode', x_admin_mode));
3948: htp.p(htf.formHidden('x_access_key', x_access_key));
3949: htp.p(htf.formHidden('x_nls_lang', x_nls_lang));
3950:
3951: htp.formClose;
3944:
3945: htp.p(htf.formHidden('x_item_type', x_item_type));
3946: htp.p(htf.formHidden('x_item_key', x_item_key));
3947: htp.p(htf.formHidden('x_admin_mode', x_admin_mode));
3948: htp.p(htf.formHidden('x_access_key', x_access_key));
3949: htp.p(htf.formHidden('x_nls_lang', x_nls_lang));
3950:
3951: htp.formClose;
3952:
3945: htp.p(htf.formHidden('x_item_type', x_item_type));
3946: htp.p(htf.formHidden('x_item_key', x_item_key));
3947: htp.p(htf.formHidden('x_admin_mode', x_admin_mode));
3948: htp.p(htf.formHidden('x_access_key', x_access_key));
3949: htp.p(htf.formHidden('x_nls_lang', x_nls_lang));
3950:
3951: htp.formClose;
3952:
3953: htp.tableOpen(cattributes=>'border=0 cellpadding=5 cellspacing=0
3974: IF (x_advanced = 'FALSE') THEN
3975:
3976: htp.p('