60: procedure giveWarning is
61: ------------------------------------------------------------
62: begin
63:
64: FND_MESSAGE.SET_NAME('ICX', 'ICX_CART_RMV_ALL');
65: htp.p('function giveWarning() {
66: if (confirm(''' || icx_util.replace_quotes(FND_MESSAGE.GET) || ''')) {
67: return true;
68: } else {
62: begin
63:
64: FND_MESSAGE.SET_NAME('ICX', 'ICX_CART_RMV_ALL');
65: htp.p('function giveWarning() {
66: if (confirm(''' || icx_util.replace_quotes(FND_MESSAGE.GET) || ''')) {
67: return true;
68: } else {
69: return false;
70: }
101:
102: htp.headClose;
103: htp.bodyOpen('/OA_MEDIA/' || v_lang || '/ICXBCKGR.jpg');
104:
105: FND_MESSAGE.SET_NAME('ICX', 'ICX_DATA_INCORRECT');
106: icx_util.add_error(FND_MESSAGE.GET);
107: icx_util.error_page_print;
108: -- htp.p(FND_MESSAGE.GET);
109:
102: htp.headClose;
103: htp.bodyOpen('/OA_MEDIA/' || v_lang || '/ICXBCKGR.jpg');
104:
105: FND_MESSAGE.SET_NAME('ICX', 'ICX_DATA_INCORRECT');
106: icx_util.add_error(FND_MESSAGE.GET);
107: icx_util.error_page_print;
108: -- htp.p(FND_MESSAGE.GET);
109:
110:
104:
105: FND_MESSAGE.SET_NAME('ICX', 'ICX_DATA_INCORRECT');
106: icx_util.add_error(FND_MESSAGE.GET);
107: icx_util.error_page_print;
108: -- htp.p(FND_MESSAGE.GET);
109:
110:
111: htp.bodyClose;
112:
178: ------------------------------------------------
179: v_dcdName varchar2(2000);
180: begin
181:
182: -- FND_MESSAGE.SET_NAME('ICX', 'ICX_ONE_PO_PER_REQUISITION');
183: /*
184: var po_num = "" + parent.my_cart_header.ICX_RESERVED_PO_NUM;
185: alert(po_num);
186: if (po_num <> "") {
183: /*
184: var po_num = "" + parent.my_cart_header.ICX_RESERVED_PO_NUM;
185: alert(po_num);
186: if (po_num <> "") {
187: alert("' || icx_util.replace_quotes(FND_MESSAGE.GET) || '");
188: //alert("Can not reserve more than one PO # for a single requisition.");
189: return;
190: }
191:
232: --get dcd name
233: v_dcdName := owa_util.get_cgi_env('SCRIPT_NAME');
234:
235:
236: FND_MESSAGE.SET_NAME('RG', 'RG_DELETE_ROW');
237: v_message := FND_MESSAGE.GET;
238:
239: htp.p('function remove(number) {
240: if (confirm("' || icx_util.replace_quotes(v_message) || '") ) {
233: v_dcdName := owa_util.get_cgi_env('SCRIPT_NAME');
234:
235:
236: FND_MESSAGE.SET_NAME('RG', 'RG_DELETE_ROW');
237: v_message := FND_MESSAGE.GET;
238:
239: htp.p('function remove(number) {
240: if (confirm("' || icx_util.replace_quotes(v_message) || '") ) {
241: //dc parent.removeItem(number);
274: v_confirm_text varchar2(240);
275: v_empty_cart_msg varchar2(1000);
276: begin
277:
278: FND_MESSAGE.SET_NAME('ICX','ICX_CONFIRM_COMPLETE');
279: v_confirm_text := FND_MESSAGE.GET;
280:
281: FND_MESSAGE.SET_NAME('ICX','ICX_CART_EMPTY');
282: v_empty_cart_msg := FND_MESSAGE.GET;
275: v_empty_cart_msg varchar2(1000);
276: begin
277:
278: FND_MESSAGE.SET_NAME('ICX','ICX_CONFIRM_COMPLETE');
279: v_confirm_text := FND_MESSAGE.GET;
280:
281: FND_MESSAGE.SET_NAME('ICX','ICX_CART_EMPTY');
282: v_empty_cart_msg := FND_MESSAGE.GET;
283:
277:
278: FND_MESSAGE.SET_NAME('ICX','ICX_CONFIRM_COMPLETE');
279: v_confirm_text := FND_MESSAGE.GET;
280:
281: FND_MESSAGE.SET_NAME('ICX','ICX_CART_EMPTY');
282: v_empty_cart_msg := FND_MESSAGE.GET;
283:
284: htp.p('function save_order() {
285:
278: FND_MESSAGE.SET_NAME('ICX','ICX_CONFIRM_COMPLETE');
279: v_confirm_text := FND_MESSAGE.GET;
280:
281: FND_MESSAGE.SET_NAME('ICX','ICX_CART_EMPTY');
282: v_empty_cart_msg := FND_MESSAGE.GET;
283:
284: htp.p('function save_order() {
285:
286: // if (parent.frames[0].document.LINE.itemCount.value == 0) {
294: // }
295: }');
296:
297:
298: FND_MESSAGE.SET_NAME('ICX','ICX_APPLY_CHANGES_CONFIRM');
299: v_confirm_text := FND_MESSAGE.GET;
300:
301: htp.p('function modify_order() {
302:
295: }');
296:
297:
298: FND_MESSAGE.SET_NAME('ICX','ICX_APPLY_CHANGES_CONFIRM');
299: v_confirm_text := FND_MESSAGE.GET;
300:
301: htp.p('function modify_order() {
302:
303: // if (parent.frames[0].document.LINE.itemCount.value == 0) {
318: // }
319: }');
320:
321:
322: FND_MESSAGE.SET_NAME('ICX','ICX_CONFIRM_ORDER');
323: v_confirm_text := FND_MESSAGE.GET;
324: htp.p('function submit_order() {
325:
326: if (parent.frames[0].document.LINE.itemCount.value == 0) {
319: }');
320:
321:
322: FND_MESSAGE.SET_NAME('ICX','ICX_CONFIRM_ORDER');
323: v_confirm_text := FND_MESSAGE.GET;
324: htp.p('function submit_order() {
325:
326: if (parent.frames[0].document.LINE.itemCount.value == 0) {
327: alert("' || icx_util.replace_quotes(v_empty_cart_msg) || '");
333: }
334: }
335: }');
336:
337: FND_MESSAGE.SET_NAME('ICX','ICX_CANCEL_CONFIRM');
338: v_confirm_text := FND_MESSAGE.GET;
339: htp.p('function delete_saved_cart() {
340:
341: // if (parent.frames[0].document.LINE.itemCount.value == 0) {
334: }
335: }');
336:
337: FND_MESSAGE.SET_NAME('ICX','ICX_CANCEL_CONFIRM');
338: v_confirm_text := FND_MESSAGE.GET;
339: htp.p('function delete_saved_cart() {
340:
341: // if (parent.frames[0].document.LINE.itemCount.value == 0) {
342: // alert("' || icx_util.replace_quotes(v_empty_cart_msg) || '");
837: for i in 1 .. (column_number - 2) loop
838: htp.p('result += "