DBA Data[Home] [Help]

APPS.ICX_REQ_UPDATE_SAVED_CARTS dependencies on HTP

Line 88: htp.htmlOpen;

84:
85: icx_util.getPrompts(601,'ICX_SAVED_CARTS_R',c_title,c_prompts);
86: icx_util.error_page_setup;
87:
88: htp.htmlOpen;
89: htp.headOpen;
90: icx_util.copyright;
91: js.scriptOpen;
92: htp.p('function help_window() {

Line 89: htp.headOpen;

85: icx_util.getPrompts(601,'ICX_SAVED_CARTS_R',c_title,c_prompts);
86: icx_util.error_page_setup;
87:
88: htp.htmlOpen;
89: htp.headOpen;
90: icx_util.copyright;
91: js.scriptOpen;
92: htp.p('function help_window() {
93: help_win = window.open(''/OA_DOC/' || c_language || '/awe' || '/icxhlprq.htm'', "help_win","resizable=yes,scrollbars=yes,toolbar=yes,width=450,height=250");

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

88: htp.htmlOpen;
89: htp.headOpen;
90: icx_util.copyright;
91: js.scriptOpen;
92: htp.p('function help_window() {
93: help_win = window.open(''/OA_DOC/' || c_language || '/awe' || '/icxhlprq.htm'', "help_win","resizable=yes,scrollbars=yes,toolbar=yes,width=450,height=250");
94: help_win = window.open(''/OA_DOC/' || c_language || '/awe' || '/icxhlprq.htm'', "help_win","resizable=yes,scrollbars=yes,toolbar=yes,width=450,height=250")} ');
95:
96: htp.p('function saved_cart_rows(start_num, end_num, param_id) {

Line 96: htp.p('function saved_cart_rows(start_num, end_num, param_id) {

92: htp.p('function help_window() {
93: help_win = window.open(''/OA_DOC/' || c_language || '/awe' || '/icxhlprq.htm'', "help_win","resizable=yes,scrollbars=yes,toolbar=yes,width=450,height=250");
94: help_win = window.open(''/OA_DOC/' || c_language || '/awe' || '/icxhlprq.htm'', "help_win","resizable=yes,scrollbars=yes,toolbar=yes,width=450,height=250")} ');
95:
96: htp.p('function saved_cart_rows(start_num, end_num, param_id) {
97: document.DISPLAY_PACKPROC.p_start_row.value = start_num
98: document.DISPLAY_PACKPROC.p_end_row.value = end_num
99: document.DISPLAY_PACKPROC.parameters_id.value = param_id
100: document.DISPLAY_PACKPROC.submit()

Line 106: htp.p('function delete_saved_cart(delete_name, condensed_params) {

102:
103:
104: -- FND_MESSAGE.SET_TOKEN('OBJECT_TO_DELETE_TOKEN', '???');
105: -- FND_MESSAGE.SET_NAME('ICX', 'ICX_DELETE_OBJECT');
106: htp.p('function delete_saved_cart(delete_name, condensed_params) {
107: //if (confirm("' || FND_MESSAGE.GET || '") ) {
108: //if (confirm("Are you sure you want to delete requisition # "+delete_name+"?")) {
109: if (confirm(delete_name)) {
110: parent.location="ICX_REQ_UPDATE_SAVED_CARTS.deleteSavedCarts?condensed_params=" + condensed_params

Line 114: htp.title(c_title);

110: parent.location="ICX_REQ_UPDATE_SAVED_CARTS.deleteSavedCarts?condensed_params=" + condensed_params
111: }
112: }');
113: js.scriptClose;
114: htp.title(c_title);
115: htp.headClose;
116:
117: /* get number of rows to display */
118: select QUERY_SET into c_query_size

Line 115: htp.headClose;

111: }
112: }');
113: js.scriptClose;
114: htp.title(c_title);
115: htp.headClose;
116:
117: /* get number of rows to display */
118: select QUERY_SET into c_query_size
119: from ICX_PARAMETERS;

Line 172: htp.comment(where_clause);

168: -- where_clause := where_clause || ' AND ( SAVED_FLAG=''1'' OR SAVED_FLAG=''4'') ';
169: /* old code - 1/21/97 */
170:
171:
172: htp.comment(where_clause);
173:
174: -- set up end rows to display
175: if p_end_row is null then
176: end_row := c_query_size;

Line 205: htp.formOpen('ICX_REQ_UPDATE_SAVED_CARTS.displaySavedCarts','POST','','','NAME="DISPLAY_SAVED_CARTS"');

201: end if;
202:
203: icx_admin_sig.toolbar(language_code => c_language,
204: disp_find => 'icx_req_update_saved_carts.cartSearch');
205: htp.formOpen('ICX_REQ_UPDATE_SAVED_CARTS.displaySavedCarts','POST','','','NAME="DISPLAY_SAVED_CARTS"');
206:
207:
208: i := 0;
209:

Line 211: htp.tableOpen('BORDER=0');

207:
208: i := 0;
209:
210: if ak_query_pkg.g_results_table.COUNT > 0 then
211: htp.tableOpen('BORDER=0');
212: htp.tableRowOpen;
213: htp.tableData('

'||c_title||'

');
214: htp.tableRowClose;
215: htp.tableClose;

Line 212: htp.tableRowOpen;

208: i := 0;
209:
210: if ak_query_pkg.g_results_table.COUNT > 0 then
211: htp.tableOpen('BORDER=0');
212: htp.tableRowOpen;
213: htp.tableData('

'||c_title||'

');
214: htp.tableRowClose;
215: htp.tableClose;
216: if p_start_row <> 1 or end_row <> total_rows

Line 213: htp.tableData('

'||c_title||'

');

209:
210: if ak_query_pkg.g_results_table.COUNT > 0 then
211: htp.tableOpen('BORDER=0');
212: htp.tableRowOpen;
213: htp.tableData('

'||c_title||'

');
214: htp.tableRowClose;
215: htp.tableClose;
216: if p_start_row <> 1 or end_row <> total_rows
217: then

Line 214: htp.tableRowClose;

210: if ak_query_pkg.g_results_table.COUNT > 0 then
211: htp.tableOpen('BORDER=0');
212: htp.tableRowOpen;
213: htp.tableData('

'||c_title||'

');
214: htp.tableRowClose;
215: htp.tableClose;
216: if p_start_row <> 1 or end_row <> total_rows
217: then
218: icx_on_utilities2.displaySetIcons(c_language,'icx_req_update_saved_carts.displaySavedCarts',p_start_row,end_row,l_encrypted_where,c_query_size,total_rows);

Line 215: htp.tableClose;

211: htp.tableOpen('BORDER=0');
212: htp.tableRowOpen;
213: htp.tableData('

'||c_title||'

');
214: htp.tableRowClose;
215: htp.tableClose;
216: if p_start_row <> 1 or end_row <> total_rows
217: then
218: icx_on_utilities2.displaySetIcons(c_language,'icx_req_update_saved_carts.displaySavedCarts',p_start_row,end_row,l_encrypted_where,c_query_size,total_rows);
219: end if;

Line 226: htp.p('

'||fnd_message.get||'

');

222:
223: if ak_query_pkg.g_results_table.COUNT = 0 then
224: fnd_message.set_name('ICX','ICX_NO_RECORDS_FOUND');
225: fnd_message.set_token('NAME_OF_REGION_TOKEN',c_title);
226: htp.p('

'||fnd_message.get||'

');
227: else
228: htp.tableOpen('BORDER=4');
229: htp.p('');
230: for i in ak_query_pkg.g_items_table.FIRST..ak_query_pkg.g_items_table.LAST loop

Line 228: htp.tableOpen('BORDER=4');

224: fnd_message.set_name('ICX','ICX_NO_RECORDS_FOUND');
225: fnd_message.set_token('NAME_OF_REGION_TOKEN',c_title);
226: htp.p('

'||fnd_message.get||'

');
227: else
228: htp.tableOpen('BORDER=4');
229: htp.p('');
230: for i in ak_query_pkg.g_items_table.FIRST..ak_query_pkg.g_items_table.LAST loop
231: if ak_query_pkg.g_items_table(i).secured_column = 'F'
232: and ak_query_pkg.g_items_table(i).node_display_flag = 'Y'

Line 229: htp.p('');

225: fnd_message.set_token('NAME_OF_REGION_TOKEN',c_title);
226: htp.p('

'||fnd_message.get||'

');
227: else
228: htp.tableOpen('BORDER=4');
229: htp.p('');
230: for i in ak_query_pkg.g_items_table.FIRST..ak_query_pkg.g_items_table.LAST loop
231: if ak_query_pkg.g_items_table(i).secured_column = 'F'
232: and ak_query_pkg.g_items_table(i).node_display_flag = 'Y'
233: then

Line 234: htp.tableData(ak_query_pkg.g_items_table(i).attribute_label_long);

230: for i in ak_query_pkg.g_items_table.FIRST..ak_query_pkg.g_items_table.LAST loop
231: if ak_query_pkg.g_items_table(i).secured_column = 'F'
232: and ak_query_pkg.g_items_table(i).node_display_flag = 'Y'
233: then
234: htp.tableData(ak_query_pkg.g_items_table(i).attribute_label_long);
235: end if;
236:
237: if ak_query_pkg.g_items_table(i).attribute_code = 'ICX_CART_ID' then
238: l_cart_id_value_id := ak_query_pkg.g_items_table(i).value_id;

Line 248: htp.tableData('');

244: l_cart_name_value_id := ak_query_pkg.g_items_table(i).value_id;
245: end if;
246:
247: end loop;
248: htp.tableData('');
249: htp.tableRowClose;
250: for r in ak_query_pkg.g_results_table.FIRST..ak_query_pkg.g_results_table.LAST loop
251: -- if r >= p_start_row-1 and r <= end_row-1
252: -- then

Line 249: htp.tableRowClose;

245: end if;
246:
247: end loop;
248: htp.tableData('');
249: htp.tableRowClose;
250: for r in ak_query_pkg.g_results_table.FIRST..ak_query_pkg.g_results_table.LAST loop
251: -- if r >= p_start_row-1 and r <= end_row-1
252: -- then
253: icx_util.transfer_Row_To_Column(ak_query_pkg.g_results_table(r),y_table);

Line 254: htp.tableRowOpen;

250: for r in ak_query_pkg.g_results_table.FIRST..ak_query_pkg.g_results_table.LAST loop
251: -- if r >= p_start_row-1 and r <= end_row-1
252: -- then
253: icx_util.transfer_Row_To_Column(ak_query_pkg.g_results_table(r),y_table);
254: htp.tableRowOpen;
255: for i in ak_query_pkg.g_items_table.FIRST..ak_query_pkg.g_items_table.LAST loop
256: if ak_query_pkg.g_items_table(i).secured_column = 'F'
257: and ak_query_pkg.g_items_table(i).node_display_flag = 'Y'
258: then

Line 268: htp.tableData(htf.anchor('icx_req_navigation.ic_parent?cart_id='|| icx_call.encrypt2(y_table(l_cart_id_value_id)) ||'&'||'emergency='||icx_call.encrypt2(l_emergency),

264: else
265: l_emergency := 'YES';
266: end if;
267:
268: htp.tableData(htf.anchor('icx_req_navigation.ic_parent?cart_id='|| icx_call.encrypt2(y_table(l_cart_id_value_id)) ||'&'||'emergency='||icx_call.encrypt2(l_emergency),
269: y_table(ak_query_pkg.g_items_table(i).value_id),'','onMouseOver="return true"'));
270:
271: --Display status falg in plain ENGLISH
272: elsif (ak_query_pkg.g_items_table(i).attribute_code = 'ICX_SAVED_FLAG') then

Line 288: htp.tableData(display_text);

284:
285: FND_MESSAGE.SET_NAME('ICX','ICX_UNKNOWN');
286: display_text := FND_MESSAGE.GET;
287: end if;
288: htp.tableData(display_text);
289:
290: --Display delete button
291: elsif (ak_query_pkg.g_items_table(i).attribute_code = 'ICX_DELETE') then
292: condensed_params := icx_call.encrypt2( y_table(l_cart_id_value_id) ||'*'|| p_start_row||'*'||end_row||'*'||l_encrypted_where||'**]');

Line 302: htp.tableData(htf.anchor('javascript:delete_saved_cart('''||icx_util.replace_quotes(FND_MESSAGE.GET) ||''','''||condensed_params||''')',

298: FND_MESSAGE.SET_NAME('ICX', 'ICX_DELETE_OBJECT');
299: FND_MESSAGE.SET_TOKEN('OBJECT_TO_DELETE_TOKEN', y_table(l_cart_name_value_id));
300:
301:
302: htp.tableData(htf.anchor('javascript:delete_saved_cart('''||icx_util.replace_quotes(FND_MESSAGE.GET) ||''','''||condensed_params||''')',
303: htf.img('/OA_MEDIA/'||c_language||'/FNDIDELR.gif','CENTER','','','border=no width=17 height=16'),'','onMouseOver="return true"'));
304:
305: else
306: if ak_query_pkg.g_items_table(i).value_id is null then

Line 307: htp.tableData('');

303: htf.img('/OA_MEDIA/'||c_language||'/FNDIDELR.gif','CENTER','','','border=no width=17 height=16'),'','onMouseOver="return true"'));
304:
305: else
306: if ak_query_pkg.g_items_table(i).value_id is null then
307: htp.tableData('');
308: else
309: if (y_table(ak_query_pkg.g_items_table(i).value_id) is not null) then
310: htp.tableData(y_table(ak_query_pkg.g_items_table(i).value_id));
311: else

Line 310: htp.tableData(y_table(ak_query_pkg.g_items_table(i).value_id));

306: if ak_query_pkg.g_items_table(i).value_id is null then
307: htp.tableData('');
308: else
309: if (y_table(ak_query_pkg.g_items_table(i).value_id) is not null) then
310: htp.tableData(y_table(ak_query_pkg.g_items_table(i).value_id));
311: else
312: htp.tableData(htf.br);
313: end if;
314: end if;

Line 312: htp.tableData(htf.br);

308: else
309: if (y_table(ak_query_pkg.g_items_table(i).value_id) is not null) then
310: htp.tableData(y_table(ak_query_pkg.g_items_table(i).value_id));
311: else
312: htp.tableData(htf.br);
313: end if;
314: end if;
315: end if;
316: end if;

Line 319: htp.tableRowClose;

315: end if;
316: end if;
317: end loop; -- items
318:
319: htp.tableRowClose;
320: -- end if; -- < p_start_row -1
321: end loop; -- Results
322: htp.tableClose;
323: end if;

Line 322: htp.tableClose;

318:
319: htp.tableRowClose;
320: -- end if; -- < p_start_row -1
321: end loop; -- Results
322: htp.tableClose;
323: end if;
324:
325: -- if p_start_row <> 1 or end_row <> total_rows
326: -- then

Line 329: htp.formClose;

325: -- if p_start_row <> 1 or end_row <> total_rows
326: -- then
327: icx_on_utilities2.displaySetIcons(c_language,'icx_req_update_saved_carts.displaySavedCarts',p_start_row,end_row,l_encrypted_where,c_query_size,total_rows,FALSE);
328: -- end if;
329: htp.formClose;
330: icx_admin_sig.footer;
331: htp.htmlClose;
332:
333: end if; -- validate session

Line 331: htp.htmlClose;

327: icx_on_utilities2.displaySetIcons(c_language,'icx_req_update_saved_carts.displaySavedCarts',p_start_row,end_row,l_encrypted_where,c_query_size,total_rows,FALSE);
328: -- end if;
329: htp.formClose;
330: icx_admin_sig.footer;
331: htp.htmlClose;
332:
333: end if; -- validate session
334:
335: exception