eTRM uses javascript that opens and focuses a separate window to display reports. Your browser does not appear to support javascript. This should not prevent you from using eTRM but it does mean the window focus feature will not work. Please check the contents of other windows on your desktop if you click on a link that does not appear to do anything.
475: ** Create the top header frameset and the bottom summary/detail frameset 476: */ 477: htp.p ('
485: 'SRC='|| 486: dm_base_url|| 487: '/fnd_document_management.create_document_toolbar?'|| 488: 'document_identifier='|| 489: wfa_html.conv_special_url_chars(document_identifier)|| 490: '&username='||username|| 491: ' MARGINHEIGHT=10 MARGINWIDTH=10 '|| 492: 'SCROLLING="NO" NORESIZE FRAMEBORDER=YES LONGDESC="'|| 493: owa_util.get_owa_service_path ||
490: '&username='||username|| 491: ' MARGINHEIGHT=10 MARGINWIDTH=10 '|| 492: 'SCROLLING="NO" NORESIZE FRAMEBORDER=YES LONGDESC="'|| 493: owa_util.get_owa_service_path || 494: 'wfa_html.LongDesc?p_token=WFDM_LONGDESC">'); 495: 496: /* 497: ** Get the HTML text for displaying the document 498: */
508: l_document_url || 509: ' MARGINHEIGHT=10 MARGINWIDTH=10 '|| 510: 'NORESIZE SCROLLING="YES" FRAMEBORDER=NO LONGDESC="'|| 511: owa_util.get_owa_service_path || 512: 'wfa_html.LongDesc?p_token=WFDM_LONGDESC">'); 513: 514: /* 515: ** Close the summary/details frameset 516: */
1143: l_document_id; 1144: ELSIF (l_parameter_list(l_record_num).parameter_name = 'USERNAME') THEN 1145: l_parameter_str := l_parameter_str || 1146: l_parameter_list(l_record_num).parameter_syntax || 1147: wfa_html.conv_special_url_chars(l_username); -- Bug5161758 - XSS 1148: ELSIF (l_parameter_list(l_record_num).parameter_name = 'TICKET') THEN 1149: l_parameter_str := l_parameter_str || 1150: l_parameter_list(l_record_num).parameter_syntax || 1151: wfa_html.conv_special_url_chars(
1147: wfa_html.conv_special_url_chars(l_username); -- Bug5161758 - XSS 1148: ELSIF (l_parameter_list(l_record_num).parameter_name = 'TICKET') THEN 1149: l_parameter_str := l_parameter_str || 1150: l_parameter_list(l_record_num).parameter_syntax || 1151: wfa_html.conv_special_url_chars( 1152: fnd_document_management.get_ticket(l_username)); -- Bug5161758 - XSS 1153: END IF; 1154: 1155: END LOOP;
1592: FALSE, 1593: l_display_document_url); 1594: l_parameter_str := l_parameter_str || 1595: l_parameter_list(l_record_num).parameter_syntax || 1596: wfa_html.conv_special_url_chars(l_display_document_url); 1597: ELSIF (l_parameter_list(l_record_num).parameter_name = 'USERNAME') THEN 1598: l_parameter_str := l_parameter_str || 1599: l_parameter_list(l_record_num).parameter_syntax || 1600: l_username;
1739: l_display_document_url); 1740: 1741: l_parameter_str := l_parameter_str || 1742: l_parameter_list(l_record_num).parameter_syntax || 1743: wfa_html.conv_special_url_chars(l_display_document_url); 1744: 1745: ELSIF (l_parameter_list(l_record_num).parameter_name = 'USERNAME') THEN 1746: 1747: l_parameter_str := l_parameter_str ||
1894: l_display_document_url); 1895: 1896: l_parameter_str := l_parameter_str || 1897: l_parameter_list(l_record_num).parameter_syntax || 1898: wfa_html.conv_special_url_chars(l_display_document_url); 1899: 1900: ELSIF (l_parameter_list(l_record_num).parameter_name = 'USERNAME') THEN 1901: 1902: l_parameter_str := l_parameter_str ||
2048: l_display_document_url); 2049: 2050: l_parameter_str := l_parameter_str || 2051: l_parameter_list(l_record_num).parameter_syntax || 2052: wfa_html.conv_special_url_chars(l_display_document_url); 2053: 2054: ELSIF (l_parameter_list(l_record_num).parameter_name = 'USERNAME') THEN 2055: 2056: l_parameter_str := l_parameter_str ||
2202: l_display_document_url); 2203: 2204: l_parameter_str := l_parameter_str || 2205: l_parameter_list(l_record_num).parameter_syntax || 2206: wfa_html.conv_special_url_chars(l_display_document_url); 2207: 2208: ELSIF (l_parameter_list(l_record_num).parameter_name = 'USERNAME') THEN 2209: 2210: l_parameter_str := l_parameter_str ||
2318: 2319: FNDDMwindow = window.open(url, "FNDDMwindow", attributes); 2320: 2321: FNDDMCopywindow = window.open("'|| 2322: wfa_html.base_url|| 2323: '/fnd_document_management.show_transport_message'|| 2324: '", "FNDDMCopywindow", transport_attr); 2325: 2326: FNDDMwindow.focus();
2398: 2399: 2400: END IF; 2401: 2402: callback_url := wfa_html.conv_special_url_chars(l_callback_url); 2403: 2404: EXCEPTION 2405: WHEN OTHERS THEN 2406: Wf_Core.Context('fnd_document_management',
2587: 2588: /* 2589: ** Left rounded icon for toolbar 2590: */ 2591: htp.p('
2592: 2593: /* 2594: ** White line on top of toolbar 2595: */ 2596: htp.p('
2597: 2598: /* 2599: ** Right rounded icon for toolbar 2600: */ 2601: htp.p('
2625: /* 2626: ** Create the dividing line 2627: */ 2628: htp.p('
2639: l_url_syntax); 2640: 2641: htp.p(''|| 2643: ''); 2644: 2645: /* 2646: ** Create the display latest version document icon control 2647: */
2653: l_url_syntax); 2654: 2655: htp.p(''|| 2657: ''); 2658: 2659: /* 2660: ** Create the fetch document icon control 2661: */
2666: l_url_syntax); 2667: 2668: htp.p(''|| 2670: ''); 2671: 2672: /* 2673: ** Create a dividing line 2674: */
2671: 2672: /* 2673: ** Create a dividing line 2674: */ 2675: htp.p(''); 2676: 2677: /* 2678: ** Create the check out icon control 2679: */
2684: l_url_syntax); 2685: 2686: htp.p(''|| 2688: ''); 2689: 2690: /* 2691: ** Create the check in icon control 2692: */
2697: l_url_syntax); 2698: 2699: htp.p(''|| 2701: ''); 2702: 2703: /* 2704: ** Create the unlock icon control 2705: */
2710: l_url_syntax); 2711: 2712: htp.p(''|| 2714: ''); 2715: /* 2716: ** Create a dividing line 2717: */ 2718: htp.p('');
2714: ''); 2715: /* 2716: ** Create a dividing line 2717: */ 2718: htp.p(''); 2719: 2720: /* 2721: ** Create the show history icon 2722: */
2727: l_url_syntax); 2728: 2729: htp.p(''|| 2731: ''); 2732: 2733: htp.p(''); 2734: 2735: /*
2729: htp.p(''|| 2731: ''); 2732: 2733: htp.p(''); 2734: 2735: /* 2736: ** Create the help icon 2737: */
2736: ** Create the help icon 2737: */ 2738: htp.p(''); 2741: htp.p(''); 2742: 2743: /* 2744: ** Create the black border under the toolbar and close the icon table
2743: /* 2744: ** Create the black border under the toolbar and close the icon table 2745: */ 2746: htp.p('
2753: 2754: /* 2755: ** Create the logo and close the toolbar and logo table 2756: */ 2757: htp.p('
3038: -- Check to see if the callback function special url characters have been 3039: -- converted. If they have not then convert. 3040: -- Bug5161758 - XSS - Double encoding already taken care of, 3041: -- for Apps we need to use encode_url instead 3042: l_callback_function := wfa_html.encode_url(callback_function); 3043: l_dm_node_name := SUBSTR (l_dm_node_name , 1, 30); 3044: 3045: htp.htmlOpen; 3046: htp.headOpen;
3052: */ 3053: 3054: htp.p ('
3066: '&callback_function='||l_callback_function|| 3067: ' MARGINHEIGHT=10 MARGINWIDTH=10 '|| 3068: 'SCROLLING="NO" NORESIZE FRAMEBORDER=YES LONGDESC="'|| 3069: owa_util.get_owa_service_path || 3070: 'wfa_html.LongDesc?p_token=WFDM_LONGDESC">'); 3071: 3072: /* 3073: ** Replace the NodeId token with the current dm home node id for 3074: ** this user
3096: '.opener.parent.')|| 3097: ' MARGINHEIGHT=10 MARGINWIDTH=10 '|| 3098: 'NORESIZE SCROLLING="YES" FRAMEBORDER=NO LONGDESC="'|| 3099: owa_util.get_owa_service_path || 3100: 'wfa_html.LongDesc?p_token=WFDM_LONGDESC">'); 3101: 3102: /* 3103: ** Close the summary/details frameset 3104: */
3174: 3175: /* 3176: ** Left rounded icon for toolbar 3177: */ 3178: htp.p('
3179: 3180: /* 3181: ** White line on top of toolbar 3182: */ 3183: htp.p('
3184: 3185: /* 3186: ** Right rounded icon for toolbar 3187: */ 3188: htp.p('
3205: htp.p(' 3210: '" TARGET="DOCUMENT" onMouseOver="window.status='||''''|| 3211: wf_core.translate('WFDM_HOME')||''''||';return true">'|| 3212: ''); 3213:
3208: '&callback='|| 3209: wfa_html.conv_special_url_chars(callback_function)||'"'|| 3210: '" TARGET="DOCUMENT" onMouseOver="window.status='||''''|| 3211: wf_core.translate('WFDM_HOME')||''''||';return true">'|| 3212: ''); 3213: 3214: htp.p(''); 3215: 3216: htp.p('');
3210: '" TARGET="DOCUMENT" onMouseOver="window.status='||''''|| 3211: wf_core.translate('WFDM_HOME')||''''||';return true">'|| 3212: ''); 3213: 3214: htp.p(''); 3215: 3216: htp.p(''); 3217: 3218: /*
3227: /* 3228: ** Create the dividing line 3229: */ 3230: htp.p('
3243: ** Create the search document icon control 3244: */ 3245: fnd_document_management.get_search_document_url ( 3246: username, 3247: wfa_html.conv_special_url_chars(l_callback_function), 3248: FALSE, 3249: l_url_syntax); 3250: 3251: htp.p('');
3253: '.opener.parent.parent.opener.', 3254: '.opener.parent.')|| 3255: '" TARGET="DOCUMENT" onMouseOver="window.status='||''''|| 3256: wf_core.translate('WFDM_SEARCH')||''''||';return true">'|| 3257: ''); 3258: 3259: /* 3260: ** Create the add document icon control 3261: */
3260: ** Create the add document icon control 3261: */ 3262: fnd_document_management.get_create_document_url ( 3263: username, 3264: wfa_html.conv_special_url_chars(l_callback_function), 3265: FALSE, 3266: l_url_syntax); 3267: 3268: htp.p('');
3266: l_url_syntax); 3267: 3268: htp.p(''|| 3270: ''); 3271: 3272: /* 3273: ** Create the browse icon control 3274: */
3273: ** Create the browse icon control 3274: */ 3275: fnd_document_management.get_browse_document_url ( 3276: username, 3277: wfa_html.conv_special_url_chars(l_callback_function), 3278: FALSE, 3279: l_url_syntax); 3280: 3281: htp.p('');
3279: l_url_syntax); 3280: 3281: htp.p(''|| 3283: ''); 3284: 3285: htp.p(''); 3286: 3287: /*
3281: htp.p(''|| 3283: ''); 3284: 3285: htp.p(''); 3286: 3287: /* 3288: ** Create the help icon 3289: */
3288: ** Create the help icon 3289: */ 3290: htp.p(''); 3293: htp.p(''); 3294: 3295: /* 3296: ** Create the black border under the toolbar and close the icon table
3295: /* 3296: ** Create the black border under the toolbar and close the icon table 3297: */ 3298: htp.p('
3305: 3306: /* 3307: ** Create the logo and close the toolbar and logo table 3308: */ 3309: htp.p('
3518: ** Get the HTML text for displaying the document 3519: */ 3520: fnd_document_management.get_search_document_url ( 3521: username, 3522: wfa_html.conv_special_url_chars(callback), 3523: FALSE, 3524: l_attach_URL); 3525: 3526: /*
3539: owa_util.redirect_url(curl=>dm_base_url || 3540: '/fnd_document_management.create_attach_document_url'|| 3541: '?username='||l_username|| 3542: '&callback_function='|| 3543: wfa_html.conv_special_url_chars(callback), 3544: bclose_header=>TRUE); 3545: 3546: END IF; 3547:
3567: realname varchar2(360); -- Display name of username 3568: s0 varchar2(2000); -- Dummy 3569: l_error_msg varchar2(240); 3570: l_url varchar2(240); 3571: l_media varchar2(240) := wfa_html.image_loc; 3572: l_icon varchar2(40); 3573: l_text varchar2(240); 3574: l_onmouseover varchar2(240); 3575:
3608: htp.htmlOpen; 3609: htp.headOpen; 3610: htp.p(''); 3611: htp.title(wf_core.translate('WFDM_NODES_TITLE')); 3612: wfa_html.create_help_function('wf/links/dmr.htm?DMREP'); 3613: htp.headClose; 3614: wfa_sec.Header(FALSE, '',wf_core.translate('WFDM_NODES_TITLE'), FALSE); 3615: htp.br; 3616:
3659: htp.tableRowOpen(null, 'TOP'); 3660: 3661: -- Bug5161758 - XSS 3662: htp.tableData(htf.anchor2( 3663: curl=>wfa_html.base_url|| 3664: '/fnd_document_management.dm_nodes_edit?p_node_id='|| 3665: to_char(nodes.node_id), 3666: ctext=>wf_core.substitutespecialchars(nodes.node_name), 3667: ctarget=>'_top'),
3683: cattributes=>'headers="t_version"'); 3684: htp.tableData(wf_core.substitutespecialchars(nodes.node_id), 'left', 3685: cattributes=>'headers="t_node_id"'); 3686: 3687: htp.tableData(htf.anchor2(curl=>wfa_html.base_url|| 3688: '/fnd_document_management.dm_nodes_confirm_delete?p_node_id='|| 3689: wf_core.substitutespecialchars(nodes.node_id), 3690: ctext=>''), 3691: 'center', cattributes=>'valign="MIDDLE" headers="t_delete"');
3686: 3687: htp.tableData(htf.anchor2(curl=>wfa_html.base_url|| 3688: '/fnd_document_management.dm_nodes_confirm_delete?p_node_id='|| 3689: wf_core.substitutespecialchars(nodes.node_id), 3690: ctext=>''), 3691: 'center', cattributes=>'valign="MIDDLE" headers="t_delete"'); 3692: 3693: end loop; 3694:
3700: 3701: --Add new node Button 3702: htp.tableRowOpen; 3703: 3704: l_url := wfa_html.base_url||'/fnd_document_management.dm_nodes_edit'; 3705: l_icon := 'FNDJLFOK.gif'; 3706: l_text := wf_core.translate ('WFDM_CREATE'); 3707: l_onmouseover := wf_core.translate ('WFDM_CREATE'); 3708:
3772: dm_node_id number; -- Document Management Home preference 3773: dm_node_name varchar2(240); 3774: l_checked varchar2(1); 3775: l_url varchar2(240); 3776: l_media varchar2(240) := wfa_html.image_loc; 3777: l_icon varchar2(30) := 'FNDILOV.gif'; 3778: l_text varchar2(240) := ''; 3779: l_onmouseover varchar2(240) := wf_core.translate ('WFPREF_LOV'); 3780: l_error_msg varchar2(2000) := null;
3805: return; 3806: end; 3807: l_username := upper(username); 3808: l_callback := wf_core.substitutespecialchars( 3809: wfa_html.conv_special_url_chars(callback)); 3810: 3811: wf_directory.GetRoleInfo(l_username, realname, s0, s0, s0, s0); 3812: 3813: -- get the document management home node information
3852: */ 3853: IF (dm_node_id = nodes.node_id) THEN 3854: -- Bug5161758 - XSS 3855: htp.tableData(htf.anchor2( 3856: curl=>wfa_html.base_url|| 3857: '/fnd_document_management.set_dm_home_html?'|| 3858: 'dm_node_id='||to_char(nodes.node_id)|| 3859: '&username='||l_username|| 3860: '&callback='|| l_callback,