347: procedure Closeheader (language_code in varchar2 default null) is
348:
349: url varchar2(240) := null;
350: c_title varchar2(80);
351: c_prompts icx_util.g_prompts_table;
352: --v_language_code varchar2(30);
353:
354: begin
355: /* remove this commented code if the dependent code works fine.
360: -- else
361: -- v_language_code := language_code;
362: --end if;
363:
364: icx_util.getprompts(601, 'ICX_HEADER', c_title, c_prompts);
365: ---htp.p('
363:
364: icx_util.getprompts(601, 'ICX_HEADER', c_title, c_prompts);
365: ---htp.p('
366: htp.tableData(htf.anchor('OracleApps.DMM',htf.img('/OA_MEDIA/FNDSMENU.gif',
367: 'CENTER',icx_util.replace_alt_quotes(c_prompts(3)),'','BORDER=0 WIDTH=55 HEIGHT=38'),'','onMouseOver="window.status='''||icx_util.replace_onMouseOver_quotes(c_prompts(3))||''';return true"'));
368:
369: htp.tableData(htf.anchor('icx_admin_sig.Startover', htf.img('/OA_MEDIA/FNDSLOGF.gif',
370: 'CENTER',icx_util.replace_alt_quotes(c_prompts(4)),'','BORDER=0 WIDTH=55 HEIGHT=38'),'','onMouseOver="window.status='''||icx_util.replace_onMouseOver_quotes(c_prompts(4))||''';return true"'));
371:
372: htp.tableData(htf.anchor('javascript:help_window()',htf.img('/OA_MEDIA/FNDSHELP.gif',
373: 'CENTER',icx_util.replace_alt_quotes(c_prompts(5)),'','BORDER=0 WIDTH=46 HEIGHT=38'),'','onMouseOver="window.status='''||icx_util.replace_onMouseOver_quotes(c_prompts(5))||''';return true"'));
374: htp.tableRowClose;
369: htp.tableData(htf.anchor('icx_admin_sig.Startover', htf.img('/OA_MEDIA/FNDSLOGF.gif',
370: 'CENTER',icx_util.replace_alt_quotes(c_prompts(4)),'','BORDER=0 WIDTH=55 HEIGHT=38'),'','onMouseOver="window.status='''||icx_util.replace_onMouseOver_quotes(c_prompts(4))||''';return true"'));
371:
372: htp.tableData(htf.anchor('javascript:help_window()',htf.img('/OA_MEDIA/FNDSHELP.gif',
373: 'CENTER',icx_util.replace_alt_quotes(c_prompts(5)),'','BORDER=0 WIDTH=46 HEIGHT=38'),'','onMouseOver="window.status='''||icx_util.replace_onMouseOver_quotes(c_prompts(5))||''';return true"'));
374: htp.tableRowClose;
375: htp.tableClose;
376: htp.line;
377: end;
380: procedure Closeheader2 (language_code in varchar2 default null) is
381:
382: url varchar2(240) := null;
383: c_title varchar2(80);
384: c_prompts icx_util.g_prompts_table;
385:
386: --v_language_code varchar2(30);
387:
388: begin
394: -- else
395: -- v_language_code := language_code;
396: -- end if;
397:
398: icx_util.getprompts(601, 'ICX_HEADER', c_title, c_prompts);
399:
400: htp.tableData(htf.anchor('icx_admin_sig.Startover', htf.img('/OA_MEDIA/ICXTOP.gif',
401: 'CENTER',icx_util.replace_alt_quotes(c_prompts(4)),'','BORDER=0 WIDTH=55 HEIGHT=28'),'','onMouseOver="window.status='''||icx_util.replace_onMouseOver_quotes(c_prompts(4))||''';return true"'));
402:
397:
398: icx_util.getprompts(601, 'ICX_HEADER', c_title, c_prompts);
399:
400: htp.tableData(htf.anchor('icx_admin_sig.Startover', htf.img('/OA_MEDIA/ICXTOP.gif',
401: 'CENTER',icx_util.replace_alt_quotes(c_prompts(4)),'','BORDER=0 WIDTH=55 HEIGHT=28'),'','onMouseOver="window.status='''||icx_util.replace_onMouseOver_quotes(c_prompts(4))||''';return true"'));
402:
403: htp.tableData(htf.anchor('javascript:help_window()',htf.img('/OA_MEDIA/ICXHELP.gif',
404: 'CENTER',icx_util.replace_alt_quotes(c_prompts(5)),'','BORDER=0 WIDTH=46 HEIGHT=28'),'','onMouseOver="window.status='''||icx_util.replace_onMouseOver_quotes(c_prompts(5))||''';return true"'));
405:
400: htp.tableData(htf.anchor('icx_admin_sig.Startover', htf.img('/OA_MEDIA/ICXTOP.gif',
401: 'CENTER',icx_util.replace_alt_quotes(c_prompts(4)),'','BORDER=0 WIDTH=55 HEIGHT=28'),'','onMouseOver="window.status='''||icx_util.replace_onMouseOver_quotes(c_prompts(4))||''';return true"'));
402:
403: htp.tableData(htf.anchor('javascript:help_window()',htf.img('/OA_MEDIA/ICXHELP.gif',
404: 'CENTER',icx_util.replace_alt_quotes(c_prompts(5)),'','BORDER=0 WIDTH=46 HEIGHT=28'),'','onMouseOver="window.status='''||icx_util.replace_onMouseOver_quotes(c_prompts(5))||''';return true"'));
405:
406: htp.tableData(htf.img('/OA_MEDIA/ICXRIGHT.gif','','','','BORDER=0 HEIGHT=28 WIDTH=20'),'CENTER','','','','','VALIGN="MIDDLE"');
407:
408: htp.tableRowClose;
419: disp_exit in varchar2 default 'Y') is
420:
421: url varchar2(240) := null;
422: c_title varchar2(80);
423: c_prompts icx_util.g_prompts_table;
424: v_language_code varchar2(30);
425:
426: begin
427:
469: htp.tableData(htf.img(curl => '/OA_MEDIA/FNDLOGOS.gif', cattributes => 'BORDER=0'),
470: 'CENTER','','','','','VALIGN="MIDDLE"');
471: htp.p('
482:
483: if (disp_wizard = 'Y') then
484: htp.tableData(htf.anchor('javascript:doWizard()',
485: htf.img('/OA_MEDIA/FNDSWZRD.gif','CENTER',
486: icx_util.replace_alt_quotes(c_prompts(1)),'',
487: 'BORDER=0 '),'',
488: 'onMouseOver="window.status=''' ||
489: icx_util.replace_onMouseOver_quotes(c_prompts(1))||
490: ''';return true"'));
485: htf.img('/OA_MEDIA/FNDSWZRD.gif','CENTER',
486: icx_util.replace_alt_quotes(c_prompts(1)),'',
487: 'BORDER=0 '),'',
488: 'onMouseOver="window.status=''' ||
489: icx_util.replace_onMouseOver_quotes(c_prompts(1))||
490: ''';return true"'));
491: end if;
492:
493: if (disp_export is not null) then
495: htp.formHidden('S',icx_call.encrypt2(disp_export));
496: htp.p('');
497: htp.tableData(htf.anchor('javascript:document.exportON.submit()',
498: htf.img('/OA_MEDIA/FNDSEXPT.gif','CENTER',
499: icx_util.replace_alt_quotes(c_prompts(6)),'',
500: 'BORDER=0 '),'',
501: 'onMouseOver="window.status=''' ||
502: icx_util.replace_onMouseOver_quotes(c_prompts(6))||
503: ''';return true"'));
498: htf.img('/OA_MEDIA/FNDSEXPT.gif','CENTER',
499: icx_util.replace_alt_quotes(c_prompts(6)),'',
500: 'BORDER=0 '),'',
501: 'onMouseOver="window.status=''' ||
502: icx_util.replace_onMouseOver_quotes(c_prompts(6))||
503: ''';return true"'));
504: end if;
505:
506: if (disp_find is not null) then
505:
506: if (disp_find is not null) then
507: htp.tableData(htf.anchor(disp_find,
508: htf.img('/OA_MEDIA/FNDSFIND.gif','CENTER',
509: icx_util.replace_alt_quotes(c_prompts(2)),'',
510: 'BORDER=0 '),'',
511: 'onMouseOver="window.status=''' ||
512: icx_util.replace_onMouseOver_quotes(c_prompts(2))||
513: ''';return true"'));
508: htf.img('/OA_MEDIA/FNDSFIND.gif','CENTER',
509: icx_util.replace_alt_quotes(c_prompts(2)),'',
510: 'BORDER=0 '),'',
511: 'onMouseOver="window.status=''' ||
512: icx_util.replace_onMouseOver_quotes(c_prompts(2))||
513: ''';return true"'));
514: end if;
515:
516: if (disp_wizard = 'Y' or disp_find is not null or disp_export is not null) then
519:
520: if (disp_mainmenu = 'Y' and icx_sec.g_mode_code <> 'SLAVE') then
521: htp.tableData(htf.anchor('OracleApps.DMM',
522: htf.img('/OA_MEDIA/FNDSMENU.gif','CENTER',
523: icx_util.replace_alt_quotes(c_prompts(3)),'',
524: 'BORDER=0 '),'',
525: 'onMouseOver="window.status=''' ||
526: icx_util.replace_onMouseOver_quotes(c_prompts(3))
527: ||''';return true" TARGET="_top"'));
522: htf.img('/OA_MEDIA/FNDSMENU.gif','CENTER',
523: icx_util.replace_alt_quotes(c_prompts(3)),'',
524: 'BORDER=0 '),'',
525: 'onMouseOver="window.status=''' ||
526: icx_util.replace_onMouseOver_quotes(c_prompts(3))
527: ||''';return true" TARGET="_top"'));
528: end if;
529:
530: if (disp_exit = 'Y' and icx_sec.g_mode_code <> 'SLAVE') then
529:
530: if (disp_exit = 'Y' and icx_sec.g_mode_code <> 'SLAVE') then
531: htp.tableData(htf.anchor('icx_admin_sig.Startover',
532: htf.img('/OA_MEDIA/FNDSLOGF.gif','CENTER',
533: icx_util.replace_alt_quotes(c_prompts(4)),'','
534: BORDER=0 '),'','
535: onMouseOver="window.status=''' ||
536: icx_util.replace_onMouseOver_quotes(c_prompts(4)) ||
537: ''';return true"'));
532: htf.img('/OA_MEDIA/FNDSLOGF.gif','CENTER',
533: icx_util.replace_alt_quotes(c_prompts(4)),'','
534: BORDER=0 '),'','
535: onMouseOver="window.status=''' ||
536: icx_util.replace_onMouseOver_quotes(c_prompts(4)) ||
537: ''';return true"'));
538: end if;
539:
540: if (disp_help = 'Y') then
539:
540: if (disp_help = 'Y') then
541: htp.tableData(htf.anchor('javascript:help_window()',
542: htf.img('/OA_MEDIA/FNDSHELP.gif','CENTER',
543: icx_util.replace_alt_quotes(c_prompts(5)),'',
544: 'BORDER=0 '),'',
545: 'onMouseOver="window.status=''' ||
546: icx_util.replace_onMouseOver_quotes(c_prompts(5))||
547: ''';return true"'));
542: htf.img('/OA_MEDIA/FNDSHELP.gif','CENTER',
543: icx_util.replace_alt_quotes(c_prompts(5)),'',
544: 'BORDER=0 '),'',
545: 'onMouseOver="window.status=''' ||
546: icx_util.replace_onMouseOver_quotes(c_prompts(5))||
547: ''';return true"'));
548: end if;
549:
550: htp.tableRowClose;
553:
554: if (disp_wizard = 'Y') then
555: htp.tableData(cvalue => htf.anchor(curl => 'javascript:doWizard()',
556: ctext => ''||c_prompts(1)||'',
557: cattributes => 'onMouseOver="window.status=''' || icx_util.replace_onMouseOver_quotes(c_prompts(1))|| ''';return true"'),
558: calign=> 'CENTER');
559: end if;
560:
561: if (disp_export is not null) then
560:
561: if (disp_export is not null) then
562: htp.tableData(cvalue => htf.anchor(curl => 'javascript:document.exportON.submit()',
563: ctext => ''||c_prompts(6)||'',
564: cattributes => 'onMouseOver="window.status='''||icx_util.replace_onMouseOver_quotes(c_prompts(6))||''';return true"'),
565: calign=> 'CENTER');
566: end if;
567:
568: if (disp_find is not null) then
569: htp.tableData(cvalue => htf.anchor(curl => disp_find,
570: ctext => ''||
571: c_prompts(2) ||
572: '',
573: cattributes => 'onMouseOver="window.status=''' || icx_util.replace_onMouseOver_quotes(c_prompts(2))|| ''';return true"'),
574: calign=> 'CENTER');
575: end if;
576:
577: if (disp_wizard = 'Y' or disp_find is not null or disp_export is not null) then
582: htp.tableData(cvalue => htf.anchor(curl => 'OracleApps.DMM',
583: ctext => ''||
584: c_prompts(3) ||
585: '',
586: cattributes => 'onMouseOver="window.status=''' || icx_util.replace_onMouseOver_quotes(c_prompts(3))|| ''';return true" TARGET="_top"'),
587: calign=> 'CENTER');
588: end if;
589:
590: if (disp_exit = 'Y' and icx_sec.g_mode_code <> 'SLAVE') then
591: htp.tableData(cvalue => htf.anchor(curl => 'icx_admin_sig.Startover',
592: ctext => ''||
593: c_prompts(4)
594: || '',
595: cattributes => 'onMouseOver="window.status=''' || icx_util.replace_onMouseOver_quotes(c_prompts(4))|| ''';return true" TARGET="_top"'),
596: calign=> 'CENTER');
597: end if;
598:
599: if (disp_help = 'Y') then
600: htp.tableData(cvalue => htf.anchor(curl => 'javascript:help_window()',
601: ctext => ''||
602: c_prompts(5)
603: || '',
604: cattributes => 'onMouseOver="window.status=''' || icx_util.replace_onMouseOver_quotes(c_prompts(5))|| ''';return true"'),
605: calign=> 'CENTER');
606: end if;
607: htp.tableRowClose;
608:
719: language_code in varchar2 default null,
720: api_msg_count in number default null,
721: api_msg_data in varchar2 default null) is
722:
723: c_prompts icx_util.g_prompts_table;
724: c_title varchar2(80);
725: v_language_code varchar2(30);
726:
727: begin
728: -- add api messages to icx error page table
729: if api_msg_count is not null then
730: if api_msg_count = 1 then
731: fnd_message.set_encoded(api_msg_data);
732: icx_util.add_error(fnd_message.get);
733: else
734: for i in 1..api_msg_count loop
735: fnd_message.set_encoded(fnd_msg_pub.Get);
736: icx_util.add_error(fnd_message.get);
732: icx_util.add_error(fnd_message.get);
733: else
734: for i in 1..api_msg_count loop
735: fnd_message.set_encoded(fnd_msg_pub.Get);
736: icx_util.add_error(fnd_message.get);
737: end loop;
738: end if;
739: end if;
740:
742: v_language_code := icx_sec.getID(icx_sec.PV_LANGUAGE_CODE);
743: else
744: v_language_code := language_code;
745: end if;
746: icx_util.getprompts(601, 'ICX_ERR_SCRN', c_title, c_prompts);
747: htp.htmlOpen;
748: htp.headOpen;
749:
750: icx_util.copyright;
746: icx_util.getprompts(601, 'ICX_ERR_SCRN', c_title, c_prompts);
747: htp.htmlOpen;
748: htp.headOpen;
749:
750: icx_util.copyright;
751:
752: /*
753: htp.p('