DBA Data[Home] [Help]

APPS.ICX_REQ_NAVIGATION dependencies on HTP

Line 38: htp.htmlOpen;

34:
35: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_INTRO_TITLE');
36: c_title := FND_MESSAGE.GET;
37:
38: htp.htmlOpen;
39: htp.title(c_title);
40: htp.bodyOpen;
41:
42: htp.headOpen;

Line 39: htp.title(c_title);

35: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_INTRO_TITLE');
36: c_title := FND_MESSAGE.GET;
37:
38: htp.htmlOpen;
39: htp.title(c_title);
40: htp.bodyOpen;
41:
42: htp.headOpen;
43:

Line 40: htp.bodyOpen;

36: c_title := FND_MESSAGE.GET;
37:
38: htp.htmlOpen;
39: htp.title(c_title);
40: htp.bodyOpen;
41:
42: htp.headOpen;
43:
44: icx_util.copyright;

Line 42: htp.headOpen;

38: htp.htmlOpen;
39: htp.title(c_title);
40: htp.bodyOpen;
41:
42: htp.headOpen;
43:
44: icx_util.copyright;
45:
46: js.scriptOpen;

Line 47: htp.p('function help_window(){

43:
44: icx_util.copyright;
45:
46: js.scriptOpen;
47: htp.p('function help_window(){
48: help_win = window.open(''/OA_DOC/' || v_lang || '/awe' || '/icxhlprq.htm'', "help_win","resizable=yes,scrollbars=yes,toolbar=yes,width=450,height=250");
49: help_win = window.open(''/OA_DOC/' || v_lang || '/awe' || '/icxhlprq.htm'', "help_win","resizable=yes,scrollbars=yes,toolbar=yes,width=450,height=250")
50: }
51: ');

Line 54: htp.headClose;

50: }
51: ');
52:
53: js.scriptClose;
54: htp.headClose;
55: -- htp.p('');
56:
57:
58: -- TOOLBAR

Line 55: -- htp.p('');

51: ');
52:
53: js.scriptClose;
54: htp.headClose;
55: -- htp.p('');
56:
57:
58: -- TOOLBAR
59: icx_admin_sig.toolbar(language_code => v_lang);

Line 61: htp.p('');

57:
58: -- TOOLBAR
59: icx_admin_sig.toolbar(language_code => v_lang);
60:
61: htp.p('

');
62: htp.p('
63: v_lang || '/FNDDBPX6.gif height=1 width=1>
');
64:
65: htp.p('');

Line 62: htp.p('

58: -- TOOLBAR
59: icx_admin_sig.toolbar(language_code => v_lang);
60:
61: htp.p('');
62: htp.p('
63: v_lang || '/FNDDBPX6.gif height=1 width=1>
');
64:
65: htp.p('');
66: htp.p('
');

Line 65: htp.p('');

61: htp.p('

');
62: htp.p('
63: v_lang || '/FNDDBPX6.gif height=1 width=1>
');
64:
65: htp.p('');
66: htp.p('
');
67: -- The top intro line of the page
68: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_INTRO_TXT');
69: htp.p(FND_MESSAGE.GET || '

');

Line 66: htp.p('
');

62: htp.p('

63: v_lang || '/FNDDBPX6.gif height=1 width=1>
');
64:
65: htp.p('');
66: htp.p('
');
67: -- The top intro line of the page
68: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_INTRO_TXT');
69: htp.p(FND_MESSAGE.GET || '

');
70: htp.p('

');

Line 69: htp.p(FND_MESSAGE.GET || '

');

65: htp.p('');
66: htp.p('');

92: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_CHK_ORDER_TTL');
93: v_message_caption := FND_MESSAGE.GET;
94: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_CHK_ORDER_TXT');
95: v_message_text := FND_MESSAGE.GET;
96: htp.p('

');
97: htp.p('');
98: htp.p('
');
67: -- The top intro line of the page
68: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_INTRO_TXT');
69: htp.p(FND_MESSAGE.GET || '

');
70: htp.p('

');
71:
72: -- The First line of the intro
73: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_SELECT_ITEMS_TTL');

Line 70: htp.p('
');

66: htp.p('

');
67: -- The top intro line of the page
68: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_INTRO_TXT');
69: htp.p(FND_MESSAGE.GET || '

');
70: htp.p('

');
71:
72: -- The First line of the intro
73: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_SELECT_ITEMS_TTL');
74: v_message_caption := FND_MESSAGE.GET;

Line 77: htp.p('');

73: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_SELECT_ITEMS_TTL');
74: v_message_caption := FND_MESSAGE.GET;
75: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_SELECT_ITEMS_TXT');
76: v_message_text := FND_MESSAGE.GET;
77: htp.p('

');
78: htp.p('');
79: htp.p('');

74: v_message_caption := FND_MESSAGE.GET;
75: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_SELECT_ITEMS_TXT');
76: v_message_text := FND_MESSAGE.GET;
77: htp.p('

' || '

Line 78: htp.p('
');
78: htp.p('');
79: htp.p('');

Line 79: htp.p('
');
85: htp.p('');
87: htp.p('
' || ' 82: '/FNDISEL.gif border=no height=75 width=75 align=absmiddle> 76: v_message_text := FND_MESSAGE.GET;
77: htp.p('');
78: htp.p('');
79: htp.p('');
83: htp.p('
');
83: htp.p('
');
85: htp.p('
');
87: htp.p('
');
83: htp.p('
');
85: htp.p('
');
87: htp.p('
' || ' 82: '/FNDISEL.gif border=no height=75 width=75 align=absmiddle>

Line 83: htp.p('

79: htp.p('

' || ' 82: '/FNDISEL.gif border=no height=75 width=75 align=absmiddle> 84: '/FNDIBLBR.gif width=500 height=4>
' ||
86: '1
' ||

Line 85: htp.p('
' ||

81: '>' || ' 82: '/FNDISEL.gif border=no height=75 width=75 align=absmiddle>

84: '/FNDIBLBR.gif width=500 height=4>
' ||
86: '1
' ||
88: v_message_caption || '

' || v_message_text ||
89: '
');

Line 87: htp.p('
' ||

83: htp.p('

84: '/FNDIBLBR.gif width=500 height=4>
' ||
86: '1
' ||
88: v_message_caption || '
' || v_message_text ||
89: '
');
90:
91: -- Second line

Line 96: htp.p('
 ');
99: htp.p('');
100: htp.p('');

Line 97: htp.p('
');

93: v_message_caption := FND_MESSAGE.GET;
94: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_CHK_ORDER_TXT');
95: v_message_text := FND_MESSAGE.GET;
96: htp.p('

');
97: htp.p('');
98: htp.p('
 
 ');
99: htp.p('');
100: htp.p('');
101: htp.p('');
97: htp.p('');
98: htp.p('

Line 98: htp.p('
');

94: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_CHK_ORDER_TXT');
95: v_message_text := FND_MESSAGE.GET;
96: htp.p('

  ');
99: htp.p('');
100: htp.p('');
101: htp.p('');

Line 99: htp.p('
102: '/FNDICKO.gif height=75 width=75 align = absmiddle>
');

95: v_message_text := FND_MESSAGE.GET;
96: htp.p('

');
97: htp.p('');
98: htp.p('
 ');
99: htp.p('');
100: htp.p('');
101: htp.p('');
103: htp.p('');

96: htp.p('

');
97: htp.p('');
98: htp.p('
102: '/FNDICKO.gif height=75 width=75 align = absmiddle>

Line 100: htp.p('
 ');
99: htp.p('');
100: htp.p('');
101: htp.p('');
103: htp.p('');

Line 101: htp.p('
');
98: htp.p('');

112: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_PLACE_ORDER_TTL');
113: v_message_caption := FND_MESSAGE.GET;
114: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_PLACE_ORDER_TXT');
115: v_message_text := FND_MESSAGE.GET;
116: htp.p('

');
117: htp.p('');
118: htp.p('
102: '/FNDICKO.gif height=75 width=75 align = absmiddle> 104: '/FNDIRDBR.gif width=500 height=4>

97: htp.p('

 ');
99: htp.p('');
100: htp.p('');
101: htp.p('');
103: htp.p('
');
105: htp.p('
');
105: htp.p('
');
107: htp.p('
' ||
109: '
102: '/FNDICKO.gif height=75 width=75 align = absmiddle> 104: '/FNDIRDBR.gif width=500 height=4>
' ||

Line 103: htp.p('

99: htp.p('');
100: htp.p('');
101: htp.p('');
103: htp.p('');
105: htp.p('
');
107: htp.p('
');
103: htp.p('
');
105: htp.p('
');
107: htp.p('
' ||
109: '
102: '/FNDICKO.gif height=75 width=75 align = absmiddle> 104: '/FNDIRDBR.gif width=500 height=4>
' ||
106: '2
' ||

Line 105: htp.p('
' ||

101: htp.p('

102: '/FNDICKO.gif height=75 width=75 align = absmiddle> 104: '/FNDIRDBR.gif width=500 height=4>
' ||
106: '2
' ||
108: v_message_caption || '

' || v_message_text || '
');

Line 107: htp.p('
' ||

103: htp.p('

104: '/FNDIRDBR.gif width=500 height=4>
' ||
106: '2
' ||
108: v_message_caption || '
' || v_message_text || '
');
110:
111: -- Third line

Line 116: htp.p('
 ');
119: htp.p('');
120: htp.p('');

Line 117: htp.p('
');

113: v_message_caption := FND_MESSAGE.GET;
114: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_PLACE_ORDER_TXT');
115: v_message_text := FND_MESSAGE.GET;
116: htp.p('

');
117: htp.p('');
118: htp.p('' || '
 
 ');
119: htp.p('');
120: htp.p('');
121: htp.p('');
117: htp.p('');
118: htp.p('

Line 118: htp.p('
');

114: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_PLACE_ORDER_TXT');
115: v_message_text := FND_MESSAGE.GET;
116: htp.p('

  ');
119: htp.p('');
120: htp.p('');
121: htp.p('');

Line 119: htp.p('
122: '/FNDIPLO.gif height=75 width=75 align = absmiddle>
');

115: v_message_text := FND_MESSAGE.GET;
116: htp.p('

');
117: htp.p('');
118: htp.p('' || '
 ');
119: htp.p('');
120: htp.p('');
121: htp.p('');
123: htp.p('');

116: htp.p('

');
117: htp.p('');
118: htp.p('
122: '/FNDIPLO.gif height=75 width=75 align = absmiddle>

Line 120: htp.p('
 ');
119: htp.p('');
120: htp.p('');
121: htp.p('');
123: htp.p('');

Line 121: htp.p('
');
118: htp.p('
122: '/FNDIPLO.gif height=75 width=75 align = absmiddle> 124: '/FNDIGRBR.gif width=500 height=4>

117: htp.p('

 ');
119: htp.p('');
120: htp.p('');
121: htp.p('');
123: htp.p('
');
125: htp.p('
');
125: htp.p('
');
127: htp.p('
' || '
122: '/FNDIPLO.gif height=75 width=75 align = absmiddle> 124: '/FNDIGRBR.gif width=500 height=4>
' ||

Line 123: htp.p('

119: htp.p('');
120: htp.p('');
121: htp.p('');
123: htp.p('');
125: htp.p('
');
127: htp.p('
');
123: htp.p('
');
125: htp.p('
');
127: htp.p('
' || '
122: '/FNDIPLO.gif height=75 width=75 align = absmiddle> 124: '/FNDIGRBR.gif width=500 height=4>
' ||
126: '3
' ||

Line 125: htp.p('
' ||

121: htp.p('

122: '/FNDIPLO.gif height=75 width=75 align = absmiddle> 124: '/FNDIGRBR.gif width=500 height=4>
' ||
126: '3
' ||
128: v_message_caption || '

' || v_message_text ||
129: '
');

Line 127: htp.p('
' ||

123: htp.p('

124: '/FNDIGRBR.gif width=500 height=4>
' ||
126: '3
' ||
128: v_message_caption || '
' || v_message_text ||
129: '
');
130:
131: htp.p('
');

Line 131: htp.p('
');

127: htp.p('

' ||
128: v_message_caption || '

' || v_message_text ||
129: '
');
130:
131: htp.p('
');
132:
133: htp.p('
');
134: htp.anchor(v_dcdName || '/ICX_REQ_NAVIGATION.ic_parent?cart_id=' ||
135: v_0_encrypt, htf.img('/OA_MEDIA/' || v_lang ||

Line 133: htp.p('
');

129: '

');
130:
131: htp.p('
');
132:
133: htp.p('
');
134: htp.anchor(v_dcdName || '/ICX_REQ_NAVIGATION.ic_parent?cart_id=' ||
135: v_0_encrypt, htf.img('/OA_MEDIA/' || v_lang ||
136: '/FNDISELS.gif', cattributes => 'BORDER = NO align=absmiddle' ));
137: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_PROCEED_TTL');

Line 134: htp.anchor(v_dcdName || '/ICX_REQ_NAVIGATION.ic_parent?cart_id=' ||

130:
131: htp.p('

');
132:
133: htp.p('
');
134: htp.anchor(v_dcdName || '/ICX_REQ_NAVIGATION.ic_parent?cart_id=' ||
135: v_0_encrypt, htf.img('/OA_MEDIA/' || v_lang ||
136: '/FNDISELS.gif', cattributes => 'BORDER = NO align=absmiddle' ));
137: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_PROCEED_TTL');
138: htp.p('');

Line 138: htp.p('');

134: htp.anchor(v_dcdName || '/ICX_REQ_NAVIGATION.ic_parent?cart_id=' ||
135: v_0_encrypt, htf.img('/OA_MEDIA/' || v_lang ||
136: '/FNDISELS.gif', cattributes => 'BORDER = NO align=absmiddle' ));
137: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_PROCEED_TTL');
138: htp.p('');
139: htp.anchor(v_dcdName || '/ICX_REQ_NAVIGATION.ic_parent?cart_id=' ||
140: v_0_encrypt, FND_MESSAGE.GET);
141: htp.p('
');
142: htp.p('

');

Line 139: htp.anchor(v_dcdName || '/ICX_REQ_NAVIGATION.ic_parent?cart_id=' ||

135: v_0_encrypt, htf.img('/OA_MEDIA/' || v_lang ||
136: '/FNDISELS.gif', cattributes => 'BORDER = NO align=absmiddle' ));
137: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_PROCEED_TTL');
138: htp.p('');
139: htp.anchor(v_dcdName || '/ICX_REQ_NAVIGATION.ic_parent?cart_id=' ||
140: v_0_encrypt, FND_MESSAGE.GET);
141: htp.p('
');
142: htp.p('');
143:

Line 141: htp.p('');

137: FND_MESSAGE.SET_NAME('ICX', 'ICX_RQS_PROCEED_TTL');
138: htp.p('');
139: htp.anchor(v_dcdName || '/ICX_REQ_NAVIGATION.ic_parent?cart_id=' ||
140: v_0_encrypt, FND_MESSAGE.GET);
141: htp.p('
');
142: htp.p('');
143:
144: htp.bodyClose;
145: htp.htmlClose;

Line 142: htp.p('');

138: htp.p('');
139: htp.anchor(v_dcdName || '/ICX_REQ_NAVIGATION.ic_parent?cart_id=' ||
140: v_0_encrypt, FND_MESSAGE.GET);
141: htp.p('
');
142: htp.p('');
143:
144: htp.bodyClose;
145: htp.htmlClose;
146:

Line 144: htp.bodyClose;

140: v_0_encrypt, FND_MESSAGE.GET);
141: htp.p('
');
142: htp.p('');
143:
144: htp.bodyClose;
145: htp.htmlClose;
146:
147: end if;
148:

Line 145: htp.htmlClose;

141: htp.p('');
142: htp.p('');
143:
144: htp.bodyClose;
145: htp.htmlClose;
146:
147: end if;
148:
149: end reqs_welcome_page;

Line 193: htp.p('function getFront(str,searchStr) {

189: --
190: -- FIX THIS
191: --
192: -- Fixed by dchu at 1/8/97
193: htp.p('function getFront(str,searchStr) {
194: var str2 = "" + str;
195: var offset = str2.indexOf(searchStr);
196: if (offset == -1) {
197: return null;

Line 202: htp.p('function getEnd(str,searchStr) {

198: }
199: return str2.substring(0,offset);
200: }');
201:
202: htp.p('function getEnd(str,searchStr) {
203: var str2 = "" + str;
204: var offset = str2.indexOf(searchStr);
205: if (offset == -1) {
206: return null;

Line 211: htp.p('function replaceString(qstr,searchStr,repStr) {

207: }
208: return str2.substring(offset+searchStr.length,str2.length);
209: }');
210:
211: htp.p('function replaceString(qstr,searchStr,repStr) {
212: var newstr = qstr;
213: var retstr = "";
214: var frontStr = getFront(newstr,searchStr);
215: var endStr = getEnd(newstr,searchStr);

Line 234: htp.p('function replaceQuotes(qstr) {

230: }
231: return retstr;
232: }');
233:
234: htp.p('function replaceQuotes(qstr) {
235:
236: var newstr = "" + qstr;
237: newstr = replaceString(newstr,' || '"''"' || ',"*' || '");
238: newstr = replaceString(newstr,''"'',''"'');

Line 297: htp.p('

293: FND_MESSAGE.SET_NAME('ICX','ICX_CONTACT_WEBMASTER');
294: v_str_errors := v_str_errors || FND_MESSAGE.GET;
295:
296:
297: htp.p('
298: // BEGIN JS PROCEDURES RELATED TO MULTILEVEL HIERARCHY
299:
300: function node(nId, nName, nChildrenLoaded, nLink, p_where)
301: {

Line 581: htp.p('function synchObject(original_frame) {

577: ------------------------------------------------------------
578: procedure synchObject is
579: ------------------------------------------------------------
580: begin
581: htp.p('function synchObject(original_frame) {
582: this.tabName = original_frame;
583: }
584:
585: tabSynch = new synchObject("template");

Line 594: htp.p('function popWindow(sourceURL) {

590: ------------------------------------------------------------
591: procedure popWindow is
592: ------------------------------------------------------------
593: begin
594: htp.p('function popWindow(sourceURL) {
595: win = window.open(sourceURL, "drillDown", "resizable=yes,scrollbars=yes,width=750,height=300");
596: win = window.open(sourceURL, "drillDown", "resizable=yes,scrollbars=yes,width=750,height=300");
597: }
598: ');

Line 607: htp.p('function up(field) {

603: procedure spin_box is
604: ------------------------------------------------------------
605: begin
606:
607: htp.p('function up(field) {
608: var emptyCheck = "" + field.value;
609: if (emptyCheck == "") {
610: field.value = 1;
611: } else {

Line 619: htp.p('function down(field) {

615: }
616: }
617: ');
618:
619: htp.p('function down(field) {
620:
621:
622: var emptyCheck = "" + field.value;
623: if (emptyCheck <> "") {

Line 643: htp.p('function giveWarning() {

639: ------------------------------------------------------------
640: begin
641:
642: FND_MESSAGE.SET_NAME('ICX', 'ICX_CART_RMV_ALL');
643: htp.p('function giveWarning() {
644: if (confirm(''' || icx_util.replace_quotes(FND_MESSAGE.GET) || ''')) {
645: return true;
646: } else {
647: return false;

Line 707: htp.framesetOpen('106,*','','BORDER=0');

703: else
704: v_emergency := emergency;
705: end if;
706:
707: htp.framesetOpen('106,*','','BORDER=0');
708:
709: if (v_cart_id = -1) then
710:
711: -- get default template

Line 717: htp.frame(v_dcdName ||

713: if (v_template is null) then
714: v_template := 'none';
715: end if;
716:
717: htp.frame(v_dcdName ||
718: '/ICX_REQ_NAVIGATION.top_frame?tab_name=template&emergency=' ||
719: v_emergency,'tabs','0','0','no','NORESIZE', 'FRAMEBORDER=NO');
720:
721: htp.frame(v_dcdName || '/ICX_REQ_TEMPLATES.templates?p_where=' ||

Line 721: htp.frame(v_dcdName || '/ICX_REQ_TEMPLATES.templates?p_where=' ||

717: htp.frame(v_dcdName ||
718: '/ICX_REQ_NAVIGATION.top_frame?tab_name=template&emergency=' ||
719: v_emergency,'tabs','0','0','no','NORESIZE', 'FRAMEBORDER=NO');
720:
721: htp.frame(v_dcdName || '/ICX_REQ_TEMPLATES.templates?p_where=' ||
722: icx_call.encrypt2( '(NEW)' ||
723: icx_util.replace_quotes(v_template) || '*' || v_org_id ||
724: '**]'), 'navigation','0','0','auto','NORESIZE','FRAMEBORDER=NO');
725:

Line 728: htp.frame(v_dcdName ||

724: '**]'), 'navigation','0','0','auto','NORESIZE','FRAMEBORDER=NO');
725:
726: else
727:
728: htp.frame(v_dcdName ||
729: '/ICX_REQ_NAVIGATION.top_frame?tab_name=my_order&emergency=' ||
730: v_emergency,'tabs','0','0','no','NORESIZE', 'FRAMEBORDER=NO');
731: htp.frame(v_dcdName || '/ICX_REQ_ORDER.my_order?n_org=' ||
732: icx_call.encrypt2(v_org_id) || '&n_emergency=' ||

Line 731: htp.frame(v_dcdName || '/ICX_REQ_ORDER.my_order?n_org=' ||

727:
728: htp.frame(v_dcdName ||
729: '/ICX_REQ_NAVIGATION.top_frame?tab_name=my_order&emergency=' ||
730: v_emergency,'tabs','0','0','no','NORESIZE', 'FRAMEBORDER=NO');
731: htp.frame(v_dcdName || '/ICX_REQ_ORDER.my_order?n_org=' ||
732: icx_call.encrypt2(v_org_id) || '&n_emergency=' ||
733: icx_call.encrypt2(v_emergency) || '&n_cart_id=' ||
734: icx_call.encrypt2(v_cart_id) ,'navigation', '0','0', 'auto',
735: 'NORESIZE', 'FRAMEBORDER=NO');

Line 739: htp.framesetClose;

735: 'NORESIZE', 'FRAMEBORDER=NO');
736:
737: end if;
738:
739: htp.framesetClose;
740:
741: end reqNavigator;
742:
743:

Line 761: htp.p('function itemStorage(p_node_id, p_start_row, p_end_row, v_where){

757:
758: -- now we need to have a way to store the last items list gone to
759: -- to accomplish this, we will store the last place gone in a javascript
760: -- object
761: htp.p('function itemStorage(p_node_id, p_start_row, p_end_row, v_where){
762: this.node_id = p_node_id;
763: this.start_row = p_start_row;
764: this.end_row = p_end_row;
765: this.p_where = v_where;

Line 770: htp.p('lastCatalog = new itemStorage("", 1, -1,' ||

766: }
767: ');
768:
769: -- Now we declare one for the templates and the catalogs
770: htp.p('lastCatalog = new itemStorage("", 1, -1,' ||
771: icx_call.encrypt2( '-1' || '*' || v_org_id || '**]') || ');' );
772:
773:
774: -- See if there is a default Template

Line 779: htp.p('lastTemplate = new itemStorage("' || v_template || '",1,-1,' ||

775: v_template := get_default_template( v_emergency );
776: if v_template is null then
777: v_template := 'none';
778: end if;
779: htp.p('lastTemplate = new itemStorage("' || v_template || '",1,-1,' ||
780: icx_call.encrypt2( v_template || '*' || v_org_id || '**]') || ');');
781:
782: -- Now create a function to switch to the correct stuff
783: l_encrypt2_org_id := icx_call.encrypt2(to_char(v_org_id));

Line 784: htp.p('function switchFrames(tabName) {

780: icx_call.encrypt2( v_template || '*' || v_org_id || '**]') || ');');
781:
782: -- Now create a function to switch to the correct stuff
783: l_encrypt2_org_id := icx_call.encrypt2(to_char(v_org_id));
784: htp.p('function switchFrames(tabName) {
785: var lastPlace = "";
786: tabSynch.tabName = tabName;
787: open("' || v_dcdName ||
788: '/ICX_REQ_NAVIGATION.top_frame?tab_name="+ tabName+"&emergency=' ||

Line 832: htp.p('function winOpen(locon, tabName) {

828: }
829: ');
830:
831:
832: htp.p('function winOpen(locon, tabName) {
833: if (parent.tabSynch.tabName <> tabName) {
834: parent.tabSynch.tabName = tabName;
835: if (locon == ''nav'') {
836: open("' || v_dcdName ||

Line 857: htp.htmlOpen;

853: begin
854: -- set lang code
855: v_lang := icx_sec.getID(icx_sec.PV_LANGUAGE_CODE);
856:
857: htp.htmlOpen;
858: htp.headOpen;
859: icx_admin_sig.toolbar(language_code => v_lang);
860: icx_util.copyright;
861: js.scriptOpen;

Line 858: htp.headOpen;

854: -- set lang code
855: v_lang := icx_sec.getID(icx_sec.PV_LANGUAGE_CODE);
856:
857: htp.htmlOpen;
858: htp.headOpen;
859: icx_admin_sig.toolbar(language_code => v_lang);
860: icx_util.copyright;
861: js.scriptOpen;
862:

Line 863: htp.p('function help_window() {

859: icx_admin_sig.toolbar(language_code => v_lang);
860: icx_util.copyright;
861: js.scriptOpen;
862:
863: htp.p('function help_window() {
864: help_win = window.open(''/OA_DOC/' || v_lang || '/awe' ||
865: '/icxhlprq.htm'', "help_win","resizable=yes,scrollbars=yes,toolbar=yes,width=450,height=250"
866: );
867: help_win = window.open(''/OA_DOC/' || v_lang || '/awe' ||

Line 874: htp.headClose;

870: ');
871: js.scriptClose;
872:
873:
874: htp.headClose;
875: htp.bodyOpen('/OA_MEDIA/' || v_lang || '/ICXBCKGR.jpg');
876:
877: FND_MESSAGE.SET_NAME('ICX', 'ICX_DATA_INCORRECT');
878: icx_util.add_error(FND_MESSAGE.GET);

Line 875: htp.bodyOpen('/OA_MEDIA/' || v_lang || '/ICXBCKGR.jpg');

871: js.scriptClose;
872:
873:
874: htp.headClose;
875: htp.bodyOpen('/OA_MEDIA/' || v_lang || '/ICXBCKGR.jpg');
876:
877: FND_MESSAGE.SET_NAME('ICX', 'ICX_DATA_INCORRECT');
878: icx_util.add_error(FND_MESSAGE.GET);
879: icx_util.error_page_print;

Line 882: htp.bodyClose;

878: icx_util.add_error(FND_MESSAGE.GET);
879: icx_util.error_page_print;
880:
881:
882: htp.bodyClose;
883:
884: end sysadmin_error ;
885:
886: ------------------------------------------------------------

Line 899: htp.htmlOpen;

895:
896: -- get lang code
897: v_lang := icx_sec.getID(icx_sec.PV_LANGUAGE_CODE);
898:
899: htp.htmlOpen;
900: htp.headOpen;
901:
902: js.scriptOpen;
903:

Line 900: htp.headOpen;

896: -- get lang code
897: v_lang := icx_sec.getID(icx_sec.PV_LANGUAGE_CODE);
898:
899: htp.htmlOpen;
900: htp.headOpen;
901:
902: js.scriptOpen;
903:
904: htp.p('

Line 904: htp.p('

900: htp.headOpen;
901:
902: js.scriptOpen;
903:
904: htp.p('
905: function help_window(){
906: help_win = window.open(''/OA_DOC/' || v_lang || '/awe' ||
907: '/icxhlprq.htm'', "help_win","resizable=yes,scrollbars=yes,toolbar=yes,width=450,height=250"
908: );

Line 915: htp.headClose;

911: )}
912: ');
913:
914: js.scriptClose;
915: htp.headClose;
916:
917:
918: htp.bodyOpen( icx_admin_sig.background(v_lang),
919: cattributes => 'onLoad="parent.winOpen(''tabs'', ''' ||

Line 918: htp.bodyOpen( icx_admin_sig.background(v_lang),

914: js.scriptClose;
915: htp.headClose;
916:
917:
918: htp.bodyOpen( icx_admin_sig.background(v_lang),
919: cattributes => 'onLoad="parent.winOpen(''tabs'', ''' ||
920: tab_name || ''')"' );
921:
922: icx_admin_sig.toolbar (language_code => v_lang );

Line 924: htp.mapOpen('tabsi');

920: tab_name || ''')"' );
921:
922: icx_admin_sig.toolbar (language_code => v_lang );
923:
924: htp.mapOpen('tabsi');
925:
926: if ((emergency is null) or (emergency = 'NO')) then
927: if (tab_name = 'template' ) then
928: v_image_name := '/FNDTREQ1.gif';

Line 930: htp.area('17,3,133,20','rect',

926: if ((emergency is null) or (emergency = 'NO')) then
927: if (tab_name = 'template' ) then
928: v_image_name := '/FNDTREQ1.gif';
929: else
930: htp.area('17,3,133,20','rect',
931: 'javascript:parent.switchFrames(''template'')');
932: end if;
933:
934: if (tab_name = 'catalog' ) then

Line 937: htp.area('141,3,256,20', 'rect',

933:
934: if (tab_name = 'catalog' ) then
935: v_image_name := '/FNDTREQ2.gif';
936: else
937: htp.area('141,3,256,20', 'rect',
938: 'javascript:parent.switchFrames(''catalog'')');
939: end if;
940:
941: if (tab_name = 'item_search' ) then

Line 944: htp.area('264,3,380,20', 'rect',

940:
941: if (tab_name = 'item_search' ) then
942: v_image_name := '/FNDTREQ3.gif';
943: else
944: htp.area('264,3,380,20', 'rect',
945: 'javascript:parent.switchFrames(''item_search'')');
946: end if;
947:
948: if (tab_name = 'special_order' ) then

Line 951: htp.area('388,3,504,20', 'rect',

947:
948: if (tab_name = 'special_order' ) then
949: v_image_name := '/FNDTREQ4.gif';
950: else
951: htp.area('388,3,504,20', 'rect',
952: 'javascript:parent.switchFrames(''special_order'')');
953: end if;
954:
955: if (tab_name = 'my_order' ) then

Line 958: htp.area('512,3,628,20', 'rect',

954:
955: if (tab_name = 'my_order' ) then
956: v_image_name := '/FNDTREQ5.gif';
957: else
958: htp.area('512,3,628,20', 'rect',
959: 'javascript:parent.switchFrames(''my_order'')');
960: end if;
961: else
962: if (tab_name = 'template' ) then

Line 965: htp.area('17,3,133,20','rect',

961: else
962: if (tab_name = 'template' ) then
963: v_image_name := '/FNDTREQ6.gif'; -- New template image
964: else
965: htp.area('17,3,133,20','rect',
966: 'javascript:parent.switchFrames(''template'')');
967: end if;
968:
969: if (tab_name = 'my_order' ) then

Line 972: htp.area('141,3,256,20', 'rect',

968:
969: if (tab_name = 'my_order' ) then
970: v_image_name := '/FNDTREQ7.gif'; -- New My order image
971: else
972: htp.area('141,3,256,20', 'rect',
973: 'javascript:parent.switchFrames(''my_order'')');
974: end if;
975: end if;
976:

Line 977: htp.mapClose;

973: 'javascript:parent.switchFrames(''my_order'')');
974: end if;
975: end if;
976:
977: htp.mapClose;
978:
979:
980: htp.img2('/OA_MEDIA/' || v_lang ||
981: v_image_name , cusemap=> '#tabsi', cattributes=> 'BORDER=0' );

Line 980: htp.img2('/OA_MEDIA/' || v_lang ||

976:
977: htp.mapClose;
978:
979:
980: htp.img2('/OA_MEDIA/' || v_lang ||
981: v_image_name , cusemap=> '#tabsi', cattributes=> 'BORDER=0' );
982:
983: htp.bodyClose;
984: htp.htmlClose;

Line 983: htp.bodyClose;

979:
980: htp.img2('/OA_MEDIA/' || v_lang ||
981: v_image_name , cusemap=> '#tabsi', cattributes=> 'BORDER=0' );
982:
983: htp.bodyClose;
984: htp.htmlClose;
985:
986: end if;
987:

Line 984: htp.htmlClose;

980: htp.img2('/OA_MEDIA/' || v_lang ||
981: v_image_name , cusemap=> '#tabsi', cattributes=> 'BORDER=0' );
982:
983: htp.bodyClose;
984: htp.htmlClose;
985:
986: end if;
987:
988: end top_frame;

Line 997: htp.p('//Reserve a po number.

993: ------------------------------------------------
994: begin
995:
996: FND_MESSAGE.SET_NAME('ICX', 'ICX_ONE_PO_PER_REQUISITION');
997: htp.p('//Reserve a po number.
998: function get_po(){
999: open(top.dcd + "/ICX_REQ_NAVIGATION.get_emergency_po_num?n_org=" + top.org_id, ''navigation'');
1000:
1001: }

Line 1213: htp.htmlOpen;

1209: icx_req_custom.reqs_default_head(v_emergency, v_cart_id);
1210:
1211: end if;
1212:
1213: htp.htmlOpen;
1214: htp.headOpen;
1215: icx_util.copyright;
1216: htp.title(c_title);
1217:

Line 1214: htp.headOpen;

1210:
1211: end if;
1212:
1213: htp.htmlOpen;
1214: htp.headOpen;
1215: icx_util.copyright;
1216: htp.title(c_title);
1217:
1218:

Line 1216: htp.title(c_title);

1212:
1213: htp.htmlOpen;
1214: htp.headOpen;
1215: icx_util.copyright;
1216: htp.title(c_title);
1217:
1218:
1219:
1220: js.scriptOpen;

Line 1226: htp.p('// GLOBALS

1222: ICX_REQ_NAVIGATION.create_multilevel_js_functions(v_language);
1223: js.arrayCreate;
1224: replaceQuotes;
1225:
1226: htp.p('// GLOBALS
1227: org_id = "' || icx_call.encrypt2(to_char(v_org_id)) || '";
1228: ');
1229:
1230: ICX_REQ_NAVIGATION.synchObject;

Line 1237: htp.p('cartId = "' || icx_call.encrypt2(to_char(v_cart_id)) || '";');

1233: ICX_REQ_NAVIGATION.spin_box;
1234: ICX_REQ_NAVIGATION.giveWarning;
1235: ICX_REQ_NAVIGATION.popWindow;
1236:
1237: htp.p('cartId = "' || icx_call.encrypt2(to_char(v_cart_id)) || '";');
1238: htp.p('emergency = "' || icx_call.encrypt2(v_emergency) || '";');
1239: htp.p('account_dist= "";');
1240: htp.p('cartLineId = "";');
1241:

Line 1238: htp.p('emergency = "' || icx_call.encrypt2(v_emergency) || '";');

1234: ICX_REQ_NAVIGATION.giveWarning;
1235: ICX_REQ_NAVIGATION.popWindow;
1236:
1237: htp.p('cartId = "' || icx_call.encrypt2(to_char(v_cart_id)) || '";');
1238: htp.p('emergency = "' || icx_call.encrypt2(v_emergency) || '";');
1239: htp.p('account_dist= "";');
1240: htp.p('cartLineId = "";');
1241:
1242: ICX_REQ_NAVIGATION.synch(v_org_id,v_emergency,v_cart_id,v_language,shopper_id,v_dcdName);

Line 1239: htp.p('account_dist= "";');

1235: ICX_REQ_NAVIGATION.popWindow;
1236:
1237: htp.p('cartId = "' || icx_call.encrypt2(to_char(v_cart_id)) || '";');
1238: htp.p('emergency = "' || icx_call.encrypt2(v_emergency) || '";');
1239: htp.p('account_dist= "";');
1240: htp.p('cartLineId = "";');
1241:
1242: ICX_REQ_NAVIGATION.synch(v_org_id,v_emergency,v_cart_id,v_language,shopper_id,v_dcdName);
1243: ICX_REQ_CATEGORIES.GetCategoryTop(v_org_id);

Line 1240: htp.p('cartLineId = "";');

1236:
1237: htp.p('cartId = "' || icx_call.encrypt2(to_char(v_cart_id)) || '";');
1238: htp.p('emergency = "' || icx_call.encrypt2(v_emergency) || '";');
1239: htp.p('account_dist= "";');
1240: htp.p('cartLineId = "";');
1241:
1242: ICX_REQ_NAVIGATION.synch(v_org_id,v_emergency,v_cart_id,v_language,shopper_id,v_dcdName);
1243: ICX_REQ_CATEGORIES.GetCategoryTop(v_org_id);
1244: ICX_REQ_TEMPLATES.GetTemplateTop(v_org_id, v_emergency);

Line 1248: htp.headClose;

1244: ICX_REQ_TEMPLATES.GetTemplateTop(v_org_id, v_emergency);
1245: js.scriptClose;
1246:
1247:
1248: htp.headClose;
1249:
1250: if (newCart) then
1251: reqNavigator(v_org_id, emergency=> v_emergency, v_dcdName => v_dcdName, v_lang => v_language, v_shopper_id => shopper_id);
1252: else

Line 1255: htp.p('setparenttab("my_order");');

1251: reqNavigator(v_org_id, emergency=> v_emergency, v_dcdName => v_dcdName, v_lang => v_language, v_shopper_id => shopper_id);
1252: else
1253:
1254: js.scriptOpen;
1255: htp.p('setparenttab("my_order");');
1256: js.scriptClose;
1257: reqNavigator(v_org_id, v_cart_id, emergency=> v_emergency, v_dcdName => v_dcdName, v_lang => v_language, v_shopper_id => shopper_id);
1258: end if;
1259:

Line 1261: htp.htmlClose;

1257: reqNavigator(v_org_id, v_cart_id, emergency=> v_emergency, v_dcdName => v_dcdName, v_lang => v_language, v_shopper_id => shopper_id);
1258: end if;
1259:
1260:
1261: htp.htmlClose;
1262:
1263: end if;
1264:
1265: exception

Line 1267: htp.p(SQLERRM);

1263: end if;
1264:
1265: exception
1266: when others then
1267: htp.p(SQLERRM);
1268:
1269: end ic_parent;
1270:
1271: ------------------------------------------------------------

Line 1391: htp.htmlOpen;

1387: if (v_req_status = 'CANCELLED') then
1388: icx_util.error_page_setup;
1389: fnd_message.set_name('ICX', 'ICX_REQ_PREV_CANCEL');
1390: icx_util.add_error(fnd_message.get);
1391: htp.htmlOpen;
1392: icx_util.error_page_print;
1393: htp.htmlClose;
1394: else
1395: /* 812757

Line 1393: htp.htmlClose;

1389: fnd_message.set_name('ICX', 'ICX_REQ_PREV_CANCEL');
1390: icx_util.add_error(fnd_message.get);
1391: htp.htmlOpen;
1392: icx_util.error_page_print;
1393: htp.htmlClose;
1394: else
1395: /* 812757
1396: should add code to call ICX_PO_REQS_CANCEL_SV.update_web_reqs_status
1397: directly instead of poreqwf.doCancel... will implement later..