DBA Data[Home] [Help]

APPS.ICX_REQ_ORDER dependencies on HTP

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

11: ------------------------------------------------------------
12: procedure popWindow is
13: ------------------------------------------------------------
14: begin
15: htp.p('function popWindow(sourceURL) {
16: win = window.open(sourceURL, "drillDown", "resizable=yes,scrollbars=yes,width=750,height=300");
17: win = window.open(sourceURL, "drillDown", "resizable=yes,scrollbars=yes,width=750,height=300");
18: }
19: ');

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

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 {
69: return false;

Line 89: htp.htmlOpen;

85:
86: -- icx_admin_sig.openHeader;
87: -- icx_admin_sig.closeHeader;
88:
89: htp.htmlOpen;
90: htp.headOpen;
91: icx_admin_sig.toolbar(language_code => v_lang);
92: icx_util.copyright;
93: js.scriptOpen;

Line 90: htp.headOpen;

86: -- icx_admin_sig.openHeader;
87: -- icx_admin_sig.closeHeader;
88:
89: htp.htmlOpen;
90: htp.headOpen;
91: icx_admin_sig.toolbar(language_code => v_lang);
92: icx_util.copyright;
93: js.scriptOpen;
94:

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

91: icx_admin_sig.toolbar(language_code => v_lang);
92: icx_util.copyright;
93: js.scriptOpen;
94:
95: htp.p('function help_window() {
96: help_win = window.open(''/OA_DOC/' || v_lang || '/awe' || '/icxhlprq.htm'', "help_win","resizable=yes,scrollbars=yes,toolbar=yes,width=450,height=250");
97: help_win = window.open(''/OA_DOC/' || v_lang || '/awe' || '/icxhlprq.htm'', "help_win","resizable=yes,scrollbars=yes,toolbar=yes,width=450,height=250")}
98: ');
99: js.scriptClose;

Line 102: htp.headClose;

98: ');
99: js.scriptClose;
100:
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);

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

99: js.scriptClose;
100:
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;

Line 108: -- htp.p(FND_MESSAGE.GET);

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:

Line 111: htp.bodyClose;

107: icx_util.error_page_print;
108: -- htp.p(FND_MESSAGE.GET);
109:
110:
111: htp.bodyClose;
112:
113: end sysadmin_error ;
114:
115:

Line 130: --dc htp.p('//Draw errors at top of the cart.

126: l_message varchar2(1000);
127: l_first_time varchar2(1);
128:
129: begin
130: --dc htp.p('//Draw errors at top of the cart.
131: --dc function drawCartErrors() {
132: --dc if (top.cartErrors.length > 0 ) {
133: --dc var result = "";
134: --dc result += "";

Line 147: htp.p('
');

143:
144: l_first_time := 'Y';
145: for prec in get_errors(l_cart_id) loop
146: if l_first_time = 'Y' then
147: htp.p('

');
148: l_first_time := 'N';
149: end if;
150:
151: htp.p('');

Line 151: htp.p('
');

147: htp.p('

' || prec.error_text || '
' || prec.error_text || '
');
148: l_first_time := 'N';
149: end if;
150:
151: htp.p('');
152: end loop;
153: if l_first_time = 'N' then
154: htp.p('
' || prec.error_text || '
');
155: end if;

Line 154: htp.p('');

150:
151: htp.p('' || prec.error_text || '');
152: end loop;
153: if l_first_time = 'N' then
154: htp.p('');
155: end if;
156:
157: end drawCartErrors;
158:

Line 165: htp.p('//Update the requestor.

161: ------------------------------------------------
162: procedure updateCartHeaderObject is
163: ------------------------------------------------
164: begin
165: htp.p('//Update the requestor.
166: function Update_requestor(id, name,org_id,loc_id,loc_cd) {
167: document.KEVIN.ICX_DEST_ORG_ID.value = document.KEVIN.ICX_REQ_ORG_ID.value;
168: document.KEVIN.ICX_DELIVER_TO_LOCATION_ID.value = document.KEVIN.ICX_REQ_LOC_ID.value;
169: document.KEVIN.ICX_DELIVER_TO_LOCATION.value = document.KEVIN.ICX_REQ_LOC_CD.value;

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

194:
195: --get dcd name
196: v_dcdName := owa_util.get_cgi_env('SCRIPT_NAME');
197:
198: htp.p('//Reserve a po number.
199: function get_po(){
200: open("' || v_dcdName || '/ICX_REQ_ORDER.get_emergency_po_num?n_org=' || n_org || '&n_cart_id= ' || n_cart_id || '", "navigation");
201:
202: }

Line 239: htp.p('function remove(number) {

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);
242: document.LINE.cartLineId.value = number;
243: document.LINE.cartLineAction.value = "DELETE";

Line 252: htp.p('function splitLine(number) {

248: }
249: ');
250:
251:
252: htp.p('function splitLine(number) {
253: //dc parent.splitLine(number);
254: document.LINE.cartLineId.value = number;
255: document.LINE.cartLineAction.value = "COPY";
256: document.LINE.submit();

Line 261: htp.p('function accountDist(number) {

257: //dc top.switchFrames("my_order");
258: }');
259:
260: -- Added for account distributions
261: htp.p('function accountDist(number) {
262: document.LINE.cartLineId.value = number;
263: document.LINE.cartLineAction.value = "ACCOUNT";
264: parent.parent.account_dist="Y";
265: parent.parent.cartLineId=number;

Line 284: htp.p('function save_order() {

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) {
287: // alert("' || icx_util.replace_quotes(v_empty_cart_msg) || '");
288: // } else {

Line 301: htp.p('function modify_order() {

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) {
304: // alert("' || icx_util.replace_quotes(v_empty_cart_msg) || '");
305: // } else {

Line 312: htp.p('function get_po_modify_order() {

308: parent.frames[0].document.KEVIN.submit();
309: // }
310: }');
311:
312: htp.p('function get_po_modify_order() {
313: // if (parent.frames[0].document.LINE.itemCount.value == 0) {
314: // alert ("' || icx_util.replace_quotes(v_empty_cart_msg) || '");
315: // } else {
316: parent.frames[0].document.KEVIN.user_action.value = "GET_PO_MODIFY";

Line 324: htp.p('function submit_order() {

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) || '");
328: } else {

Line 339: htp.p('function delete_saved_cart() {

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) || '");
343: // } else {

Line 371: htp.p('');

367:
368: ICX_REQ_NAVIGATION.chk_vendor_on(v_vendor_on_flag);
369:
370: -- old background
371: htp.p('

');
372: htp.p('');
373:
374: for i in ak_query_pkg.g_items_table.first .. ak_query_pkg.g_items_table.last loop
375:

Line 372: htp.p('
');

368: ICX_REQ_NAVIGATION.chk_vendor_on(v_vendor_on_flag);
369:
370: -- old background
371: htp.p('

');
372: htp.p('');
373:
374: for i in ak_query_pkg.g_items_table.first .. ak_query_pkg.g_items_table.last loop
375:
376: if ( ak_query_pkg.g_items_table(i).item_style <> 'HIDDEN' and

Line 428: htp.p( '' || ak_query_pkg.g_items_table(i).attribute_label_long || '' );

424: ak_query_pkg.g_items_table(i).attribute_code <> 'ICX_REQ_LOC_CD') then
425:
426: if ak_query_pkg.g_items_table(i).attribute_code <> 'ICX_UNIT_PRICE' and ak_query_pkg.g_items_table(i).attribute_code <> 'ICX_EXT_PRICE' then
427:
428: htp.p( '' || ak_query_pkg.g_items_table(i).attribute_label_long || '' );
429:
430: else
431:
432: htp.p( '' || ak_query_pkg.g_items_table(i).attribute_label_long || ' (' || v_currency || ') ' );

Line 432: htp.p( '' || ak_query_pkg.g_items_table(i).attribute_label_long || ' (' || v_currency || ') ' );

428: htp.p( '' || ak_query_pkg.g_items_table(i).attribute_label_long || '' );
429:
430: else
431:
432: htp.p( '' || ak_query_pkg.g_items_table(i).attribute_label_long || ' (' || v_currency || ') ' );
433:
434:
435: end if;
436:

Line 449: htp.p('
');

445:
446:
447: end loop;
448:
449: htp.p('

');
450: end PrintHead;
451:
452:
453: /* new PrintItem server side XXXXXXXXXXXXXXXXXXX*/

Line 499: htp.formHidden(cname => ak_query_pkg.g_items_table(i).attribute_code || 'A', cvalue => replace(l_values(ak_query_pkg.g_items_table(i).value_id),'"','"'));

495: and ak_query_pkg.g_items_table(i).secured_column = 'F'
496: and ak_query_pkg.g_items_table(i).item_style = 'HIDDEN'
497: then
498:
499: htp.formHidden(cname => ak_query_pkg.g_items_table(i).attribute_code || 'A', cvalue => replace(l_values(ak_query_pkg.g_items_table(i).value_id),'"','"'));
500:
501: -- remember org id and loc id positions for LOV use
502: if ak_query_pkg.g_items_table(i).attribute_code = 'ICX_DEST_ORG_ID_L' then
503: l_org_id_pos := l_pos;

Line 514: htp.p('
');

510: end if;
511:
512: end loop;
513:
514: htp.p('

');
515:
516: for i in 0..ak_query_pkg.g_items_table.LAST loop
517:
518: --add by alex

Line 544: htp.p('

Line 563: htp.tableData(cvalue => ' 564: || l_values(p_cart_line_id_value)
565: -- || ')"> 566: || ')" onMouseOver="window.status='''
567: || icx_util.replace_onmouseover_quotes(ak_query_pkg.g_items_table(i).attribute_label_long)

Line 580: htp.tableData(cvalue => ' 581: || l_values(p_cart_line_id_value)
582: -- || ')"> 583: || ')" onMouseOver="window.status='''
584: || icx_util.replace_onmouseover_quotes(ak_query_pkg.g_items_table(i).attribute_label_long)

Line 597: htp.tableData(cvalue => '

593: calign => ak_query_pkg.g_items_table(i).horizontal_alignment);
594:
595: elsif ak_query_pkg.g_items_table(i).attribute_code = 'ICX_ACCT_DIST'
596: then
597: htp.tableData(cvalue => ' 598: href="javascript:accountDist('
599: || l_values(p_cart_line_id_value)
600: -- || ')"> 601: || ')" onMouseOver="window.status='''

Line 618: htp.tableData(cvalue => '

614: elsif ak_query_pkg.g_items_table(i).attribute_code = 'ICX_PAPER_CLIP' then
615: fnd_webattch.GetSummaryStatus('ICX_REQS', 'REQ_LINES',
616: pk, NULL, NULL, NULL, NULL, attachment_status);
617: if (attachment_status <> 'DISABLE' AND attachment_status = 'FULL') then
618: htp.tableData(cvalue => ' 619: href="javascript:attachment(2, '''
620: || pk
621: || ''' ,'''' , '''
622: || v_dcdname

Line 634: htp.tableData(cvalue => '

630: crowspan => 2,
631: -- add by Mary
632: calign => ak_query_pkg.g_items_table(i).horizontal_alignment);
633: elsif (attachment_status <> 'DISABLE') then
634: htp.tableData(cvalue => ' 635: href="javascript:attachment(2, '''
636: || pk
637: || ''' ,'''' , '''
638: ||v_dcdname

Line 665: htp.tableData(cvalue => ' 664:
665: htp.tableData(cvalue => ' 667: || to_char(l_org_id_pos) || '].value ="";document.KEVIN.elements[' || to_char(l_loc_id_pos) || '].value="";''>', crowspan => 2);
668: else
669:

Line 679: htp.tableData(cvalue => ' 676: ak_query_pkg.g_items_table(i).attribute_code = 'ICX_UNIT_PRICE' then
677: l_value := replace(l_value,',','');
678:
679: htp.tableData(cvalue => '', crowspan => 2);
682:
683: else

Line 685: htp.tableData(cvalue => '', crowspan => 2);
682:
683: else
684:
685: htp.tableData(cvalue => '', crowspan => 2);
688:
689: end if;

Line 696: htp.tableData(cvalue => ' 697: ||l_spin_pos
698: ||'])" onMouseOver="window.status=''Add Quantity'';return true">',cattributes => 'width=18 valign=bottom');

Line 705: htp.tableData(cvalue => htf.anchor('javascript:PRE_LOV1(''178'',''ICX_SUGGESTED_VENDOR_NAME'',''601'',''ICX_SHOPPING_CART_LINES_R'',''LOVFIELDS'',''my_order1'','''','''','''

701: end if;
702:
703: if ak_query_pkg.g_items_table(i).attribute_code = 'ICX_SUGGESTED_VENDOR_NAME' then
704:
705: htp.tableData(cvalue => htf.anchor('javascript:PRE_LOV1(''178'',''ICX_SUGGESTED_VENDOR_NAME'',''601'',''ICX_SHOPPING_CART_LINES_R'',''LOVFIELDS'',''my_order1'','''','''','''
706: || to_char(l_pos) || ''',''' || to_char(l_pos + 1) || ''',''' || to_char(l_pos + 2) || ''',''' || to_char(l_pos + 3) || ''')',htf.img('/OA_MEDIA/'
707: ||l_language_code||'/FNDILOV.gif','LEFT',c_title,'','BORDER=0 WIDTH=22 HEIGHT=22'),'','onMouseOver="window.status='''
708: || icx_util.replace_onMouseOver_quotes(c_title) ||''';return true"'), crowspan => 2);
709:

Line 712: htp.tableData(cvalue => htf.anchor('javascript:PRE_LOV2(''178'',''ICX_DELIVER_TO_LOCATION_L'',''601'',''ICX_SHOPPING_CART_LINES_R'',''LOVFIELDS'',''my_order1'','''','''',''' ||

708: || icx_util.replace_onMouseOver_quotes(c_title) ||''';return true"'), crowspan => 2);
709:
710: elsif ak_query_pkg.g_items_table(i).attribute_code = 'ICX_DELIVER_TO_LOCATION_L' then -- must be location LOV
711:
712: htp.tableData(cvalue => htf.anchor('javascript:PRE_LOV2(''178'',''ICX_DELIVER_TO_LOCATION_L'',''601'',''ICX_SHOPPING_CART_LINES_R'',''LOVFIELDS'',''my_order1'','''','''',''' ||
713: to_char(l_org_id_pos) || ''',''' || to_char(l_loc_id_pos) || ''',''' || to_char(l_pos) || ''')',htf.img('/OA_MEDIA/'||l_language_code||
714: '/FNDILOV.gif','LEFT',c_title,'','BORDER=0 WIDTH=22 HEIGHT=22'),'','onMouseOver="window.status='''|| icx_util.replace_onMouseOver_quotes(c_title) ||''';return true"'), crowspan => 2);
715:
716: -- user has LOV

Line 726: htp.tableData(cvalue => htf.anchor('javascript:PRE_LOV0(''178'',''' || ak_query_pkg.g_items_table(i).attribute_code ||

722: ak_query_pkg.g_items_table(i).attribute_code <> 'ICX_DELIVER_TO_LOCATION_ID_L' and
723: ak_query_pkg.g_items_table(i).attribute_code <> 'ICX_DEST_ORG_ID_L' then
724:
725:
726: htp.tableData(cvalue => htf.anchor('javascript:PRE_LOV0(''178'',''' || ak_query_pkg.g_items_table(i).attribute_code ||
727: ''',''601'',''ICX_SHOPPING_CART_LINES_R'',''LOVFIELDS'',''my_order1'','''','''',''' || to_char(l_pos) || ''')',htf.img('/OA_MEDIA/'||
728: l_language_code||'/FNDILOV.gif','LEFT',c_title,'','BORDER=0 WIDTH=22 HEIGHT=22'),'','onMouseOver="window.status='''||
729: icx_util.replace_onMouseOver_quotes(c_title) || ''';return true"'), crowspan => 2);
730:

Line 749: htp.tableData(cvalue => ' 747: input text field so that it can be dynamically changed
748: when ICX_SUGGESTED_VENDOR_NAME is changed */
749: htp.tableData(cvalue => ' 751: || ' size='|| ak_query_pkg.g_items_table(i).display_value_length
752: || ' maxlength=' || ak_query_pkg.g_items_table(i).attribute_value_length
753: || ' VALUE = "'|| replace(l_value,'"','"')

Line 759: htp.tableData(cvalue =>

755: || to_char(l_pos-1) || '].focus(); ''>',
756: crowspan => 2);
757: l_pos := l_pos + 1;
758: ELSE /* if attribute_code <> 'ICX_SUGGESTED_VENDOR_*' */
759: htp.tableData(cvalue =>
760: icx_on_utilities.formatText(replace(l_value,'"','"'),
761: ak_query_pkg.g_items_table(i).bold,
762: ak_query_pkg.g_items_table(i).italic),
763: calign => ak_query_pkg.g_items_table(i).horizontal_alignment,

Line 775: htp.p('
');

771: end if; -- display
772:
773: end loop; -- g_items_table
774:
775: htp.p('');
776:
777: htp.p('

');
778: htp.tableData(cvalue => '
779: ||l_spin_pos
780: ||'])" onMouseOver="window.status=''Reduce Quantity'';return true">

774:
775: htp.p('

');
776:
777: htp.p('
');
778: htp.tableData(cvalue => '
',cattributes => 'width=18 valign=top');

Line 784: htp.p('
');

780: ||'])" onMouseOver="window.status=''Reduce Quantity'';return true">',cattributes => 'width=18 valign=top');
783:
784: htp.p('');
785:
786: end loop; -- g_results_table
787:
788: p_ext_price_total := l_ext_price_total;

Line 834: htp.p('function PrintTotal() {

830: end loop;
831:
832: -- Print total only if the EXT_PRICE is turned on
833: if ( v_ext_price_is_on ) then
834: htp.p('function PrintTotal() {
835: var result = "

";');
836:
837: for i in 1 .. (column_number - 2) loop
838: htp.p('result += "
";');

Line 838: htp.p('result += "
";');

834: htp.p('function PrintTotal() {
835: var result = "

";');
836:
837: for i in 1 .. (column_number - 2) loop
838: htp.p('result += "
";');
839: end loop;
840:
841: FND_MESSAGE.SET_NAME('MRP','EC_TOTAL');
842: htp.p('

Line 842: htp.p('

838: htp.p('result += "

";');
839: end loop;
840:
841: FND_MESSAGE.SET_NAME('MRP','EC_TOTAL');
842: htp.p('
843: result += "
";
845: result += "' || FND_MESSAGE.GET || ' (' || v_currency || ') ');
997: htp.p('
' );

Line 996: htp.p('
');

992: for i in 1 .. (l_total_price_column - 2) loop
993: htp.p('

');
994: end loop;
995: FND_MESSAGE.SET_NAME('MRP','EC_TOTAL');
996: htp.p('
');
997: htp.p('
' );
998:
999: htp.p('
');
1000: elsif l_total_price_column > 0 then

Line 997: htp.p('
' );

993: htp.p('

');
994: end loop;
995: FND_MESSAGE.SET_NAME('MRP','EC_TOTAL');
996: htp.p('
');
997: htp.p('
' );
998:
999: htp.p('
');
1000: elsif l_total_price_column > 0 then
1001: htp.p('
');

Line 999: htp.p('');

995: FND_MESSAGE.SET_NAME('MRP','EC_TOTAL');
996: htp.p('

');
997: htp.p('
' );
998:
999: htp.p('
');
1000: elsif l_total_price_column > 0 then
1001: htp.p('
');
1002: htp.p('
');
1003: FND_MESSAGE.SET_NAME('MRP','EC_TOTAL');

Line 1001: htp.p('
');

997: htp.p('

' );
998:
999: htp.p('
');
1000: elsif l_total_price_column > 0 then
1001: htp.p('
');
1002: htp.p('
');
1003: FND_MESSAGE.SET_NAME('MRP','EC_TOTAL');
1004: htp.p('
');
1005: htp.p('
' );

Line 1002: htp.p('
');

998:
999: htp.p('

');
1000: elsif l_total_price_column > 0 then
1001: htp.p('
');
1002: htp.p('
');
1003: FND_MESSAGE.SET_NAME('MRP','EC_TOTAL');
1004: htp.p('
');
1005: htp.p('
' );
1006:

Line 1004: htp.p('
');

1000: elsif l_total_price_column > 0 then
1001: htp.p('

');
1002: htp.p('
');
1003: FND_MESSAGE.SET_NAME('MRP','EC_TOTAL');
1004: htp.p('
');
1005: htp.p('
' );
1006:
1007: htp.p('
');
1008:

Line 1005: htp.p('
' );

1001: htp.p('

');
1002: htp.p('
');
1003: FND_MESSAGE.SET_NAME('MRP','EC_TOTAL');
1004: htp.p('
');
1005: htp.p('
' );
1006:
1007: htp.p('
');
1008:
1009: end if;

Line 1007: htp.p('');

1003: FND_MESSAGE.SET_NAME('MRP','EC_TOTAL');
1004: htp.p('

');
1005: htp.p('
' );
1006:
1007: htp.p('
');
1008:
1009: end if;
1010:
1011: htp.p('
' || icx_util.replace_quotes(FND_MESSAGE.GET) || ' (";
844: result += parent.currencyCode + ")
' || to_char(l_total_price,v_money_fmt_mask) || '' || FND_MESSAGE.GET || ' (' || v_currency || ') ' || FND_MESSAGE.GET || ' (' || v_currency || ') ' || to_char(l_total_price,v_money_fmt_mask) || '
' || to_char(l_total_price,v_money_fmt_mask) || '' || FND_MESSAGE.GET || ' (' || v_currency || ') ' || to_char(l_total_price,v_money_fmt_mask) || '
' || FND_MESSAGE.GET || ' (' || v_currency || ') ' || to_char(l_total_price,v_money_fmt_mask) || '
' || to_char(l_total_price,v_money_fmt_mask) || '
' || FND_MESSAGE.GET || ' (' || v_currency || ') ' || to_char(l_total_price,v_money_fmt_mask) || '
' || FND_MESSAGE.GET || ' (' || v_currency || ') ' || to_char(l_total_price,v_money_fmt_mask) || '' || FND_MESSAGE.GET || ' (' || v_currency || ')
' || FND_MESSAGE.GET || ' (' || v_currency || ') ' || to_char(l_total_price,v_money_fmt_mask) || '
' || to_char(l_total_price,v_money_fmt_mask) || '
' || FND_MESSAGE.GET || ' (' || v_currency || ') ' || to_char(l_total_price,v_money_fmt_mask) || '
' || FND_MESSAGE.GET || ' (' || v_currency || ') ' || to_char(l_total_price,v_money_fmt_mask) || '
');

Line 1011: htp.p('');

1007: htp.p('');
1008:
1009: end if;
1010:
1011: htp.p('');
1012:
1013: end drawCartLines;
1014:
1015:

Line 1023: htp.p('

1019: procedure addAttachmentScript is
1020: ------------------------------------------------------------
1021:
1022: begin
1023: htp.p('
1024:
1025: function attachment(en, pk1, pk2, dcd) {
1026: var temp = "";
1027: if (en == 1){

Line 1053: htp.p('function resetItemCount(fld) {

1049: ------------------------------------------------------------
1050: procedure updateCarts is
1051: ------------------------------------------------------------
1052: begin
1053: htp.p('function resetItemCount(fld) {
1054: fld.value = 0;
1055: }');
1056:
1057: htp.p('function formSequence(seq) {

Line 1057: htp.p('function formSequence(seq) {

1053: htp.p('function resetItemCount(fld) {
1054: fld.value = 0;
1055: }');
1056:
1057: htp.p('function formSequence(seq) {
1058: this.sequence = seq }');
1059:
1060: htp.p('LOVSequence1 = new formSequence("0")');
1061: htp.p('LOVSequence2 = new formSequence("0")');

Line 1060: htp.p('LOVSequence1 = new formSequence("0")');

1056:
1057: htp.p('function formSequence(seq) {
1058: this.sequence = seq }');
1059:
1060: htp.p('LOVSequence1 = new formSequence("0")');
1061: htp.p('LOVSequence2 = new formSequence("0")');
1062: htp.p('LOVSequence3 = new formSequence("0")');
1063: htp.p('LOVSequence4 = new formSequence("0")');
1064: htp.p('LOVSequence5 = new formSequence("0")');

Line 1061: htp.p('LOVSequence2 = new formSequence("0")');

1057: htp.p('function formSequence(seq) {
1058: this.sequence = seq }');
1059:
1060: htp.p('LOVSequence1 = new formSequence("0")');
1061: htp.p('LOVSequence2 = new formSequence("0")');
1062: htp.p('LOVSequence3 = new formSequence("0")');
1063: htp.p('LOVSequence4 = new formSequence("0")');
1064: htp.p('LOVSequence5 = new formSequence("0")');
1065: htp.p('LOVSequence6 = new formSequence("0")');

Line 1062: htp.p('LOVSequence3 = new formSequence("0")');

1058: this.sequence = seq }');
1059:
1060: htp.p('LOVSequence1 = new formSequence("0")');
1061: htp.p('LOVSequence2 = new formSequence("0")');
1062: htp.p('LOVSequence3 = new formSequence("0")');
1063: htp.p('LOVSequence4 = new formSequence("0")');
1064: htp.p('LOVSequence5 = new formSequence("0")');
1065: htp.p('LOVSequence6 = new formSequence("0")');
1066: htp.p('LOVSequence7 = new formSequence("0")');

Line 1063: htp.p('LOVSequence4 = new formSequence("0")');

1059:
1060: htp.p('LOVSequence1 = new formSequence("0")');
1061: htp.p('LOVSequence2 = new formSequence("0")');
1062: htp.p('LOVSequence3 = new formSequence("0")');
1063: htp.p('LOVSequence4 = new formSequence("0")');
1064: htp.p('LOVSequence5 = new formSequence("0")');
1065: htp.p('LOVSequence6 = new formSequence("0")');
1066: htp.p('LOVSequence7 = new formSequence("0")');
1067: htp.p('LOVSequence0 = new formSequence("0")');

Line 1064: htp.p('LOVSequence5 = new formSequence("0")');

1060: htp.p('LOVSequence1 = new formSequence("0")');
1061: htp.p('LOVSequence2 = new formSequence("0")');
1062: htp.p('LOVSequence3 = new formSequence("0")');
1063: htp.p('LOVSequence4 = new formSequence("0")');
1064: htp.p('LOVSequence5 = new formSequence("0")');
1065: htp.p('LOVSequence6 = new formSequence("0")');
1066: htp.p('LOVSequence7 = new formSequence("0")');
1067: htp.p('LOVSequence0 = new formSequence("0")');
1068:

Line 1065: htp.p('LOVSequence6 = new formSequence("0")');

1061: htp.p('LOVSequence2 = new formSequence("0")');
1062: htp.p('LOVSequence3 = new formSequence("0")');
1063: htp.p('LOVSequence4 = new formSequence("0")');
1064: htp.p('LOVSequence5 = new formSequence("0")');
1065: htp.p('LOVSequence6 = new formSequence("0")');
1066: htp.p('LOVSequence7 = new formSequence("0")');
1067: htp.p('LOVSequence0 = new formSequence("0")');
1068:
1069: htp.p('function PRE_LOV0(attr_id, attr_code, region_id, region_code, form_name, frame_name, where_clause, c_js_where_clause,sequence0) {

Line 1066: htp.p('LOVSequence7 = new formSequence("0")');

1062: htp.p('LOVSequence3 = new formSequence("0")');
1063: htp.p('LOVSequence4 = new formSequence("0")');
1064: htp.p('LOVSequence5 = new formSequence("0")');
1065: htp.p('LOVSequence6 = new formSequence("0")');
1066: htp.p('LOVSequence7 = new formSequence("0")');
1067: htp.p('LOVSequence0 = new formSequence("0")');
1068:
1069: htp.p('function PRE_LOV0(attr_id, attr_code, region_id, region_code, form_name, frame_name, where_clause, c_js_where_clause,sequence0) {
1070: LOVSequence0.sequence = sequence0

Line 1067: htp.p('LOVSequence0 = new formSequence("0")');

1063: htp.p('LOVSequence4 = new formSequence("0")');
1064: htp.p('LOVSequence5 = new formSequence("0")');
1065: htp.p('LOVSequence6 = new formSequence("0")');
1066: htp.p('LOVSequence7 = new formSequence("0")');
1067: htp.p('LOVSequence0 = new formSequence("0")');
1068:
1069: htp.p('function PRE_LOV0(attr_id, attr_code, region_id, region_code, form_name, frame_name, where_clause, c_js_where_clause,sequence0) {
1070: LOVSequence0.sequence = sequence0
1071:

Line 1069: htp.p('function PRE_LOV0(attr_id, attr_code, region_id, region_code, form_name, frame_name, where_clause, c_js_where_clause,sequence0) {

1065: htp.p('LOVSequence6 = new formSequence("0")');
1066: htp.p('LOVSequence7 = new formSequence("0")');
1067: htp.p('LOVSequence0 = new formSequence("0")');
1068:
1069: htp.p('function PRE_LOV0(attr_id, attr_code, region_id, region_code, form_name, frame_name, where_clause, c_js_where_clause,sequence0) {
1070: LOVSequence0.sequence = sequence0
1071:
1072: LOV(attr_id, attr_code, region_id, region_code, form_name, frame_name , where_clause,c_js_where_clause)
1073: }');

Line 1076: htp.p('function PRE_LOV1(attr_id, attr_code, region_id, region_code, form_name, frame_name, where_clause, c_js_where_clause,sequence1,sequence2,sequence3,sequence4) {

1072: LOV(attr_id, attr_code, region_id, region_code, form_name, frame_name , where_clause,c_js_where_clause)
1073: }');
1074:
1075:
1076: htp.p('function PRE_LOV1(attr_id, attr_code, region_id, region_code, form_name, frame_name, where_clause, c_js_where_clause,sequence1,sequence2,sequence3,sequence4) {
1077: LOVSequence1.sequence = sequence1
1078: LOVSequence2.sequence = sequence2
1079: LOVSequence3.sequence = sequence3
1080: LOVSequence4.sequence = sequence4

Line 1086: htp.p('function PRE_LOV2(attr_id, attr_code, region_id, region_code, form_name, frame_name, where_clause, c_js_where_clause,sequence5,sequence6,sequence7){

1082: LOV(attr_id, attr_code, region_id, region_code, form_name, frame_name, where_clause,c_js_where_clause)
1083: }');
1084:
1085:
1086: htp.p('function PRE_LOV2(attr_id, attr_code, region_id, region_code, form_name, frame_name, where_clause, c_js_where_clause,sequence5,sequence6,sequence7){
1087: LOVSequence5.sequence = sequence5
1088: LOVSequence6.sequence = sequence6
1089: LOVSequence7.sequence = sequence7
1090:

Line 1095: htp.p('function postLOV(value0,value01,value02) {

1091: LOV(attr_id, attr_code, region_id, region_code, form_name, frame_name, where_clause,c_js_where_clause)
1092: }');
1093:
1094:
1095: htp.p('function postLOV(value0,value01,value02) {
1096: var seq0 = LOVSequence0.sequence
1097: document.KEVIN.elements[seq0].value = value0
1098: }');
1099:

Line 1100: htp.p('function updateCarts(value1,value2,value3,value4) {

1096: var seq0 = LOVSequence0.sequence
1097: document.KEVIN.elements[seq0].value = value0
1098: }');
1099:
1100: htp.p('function updateCarts(value1,value2,value3,value4) {
1101: var seq1 = LOVSequence1.sequence
1102: var seq2 = LOVSequence2.sequence
1103: var seq3 = LOVSequence3.sequence
1104: var seq4 = LOVSequence4.sequence

Line 1114: htp.p('function Updatelineloc(value1,value2,value3) {

1110: }
1111: ');
1112:
1113:
1114: htp.p('function Updatelineloc(value1,value2,value3) {
1115: var seq5 = LOVSequence5.sequence
1116: var seq6 = LOVSequence6.sequence
1117: var seq7 = LOVSequence7.sequence
1118: document.KEVIN.elements[seq5].value = value1

Line 1190: htp.p('');

1186: l_requestor_name := y_table(ak_query_pkg.g_items_table(l).value_id);
1187: end if;
1188: end loop;
1189:
1190: htp.p('

');
1191:
1192: htp.p('');
1193: htp.p('');
1194: htp.p('');

Line 1192: htp.p('');

1188: end loop;
1189:
1190: htp.p('

');
1191:
1192: htp.p('');
1193: htp.p('');
1194: htp.p('');
1195: htp.p('');
1196: htp.p('');

Line 1193: htp.p('');

1189:
1190: htp.p('

');
1191:
1192: htp.p('');
1193: htp.p('');
1194: htp.p('');
1195: htp.p('');
1196: htp.p('');
1197: htp.p('');

Line 1194: htp.p('');

1190: htp.p('

');
1191:
1192: htp.p('');
1193: htp.p('');
1194: htp.p('');
1195: htp.p('');
1196: htp.p('');
1197: htp.p('');
1198: htp.p('');

Line 1195: htp.p('');

1191:
1192: htp.p('');
1193: htp.p('');
1194: htp.p('');
1195: htp.p('');
1196: htp.p('');
1197: htp.p('');
1198: htp.p('');
1199: htp.p('');

Line 1196: htp.p('');

1192: htp.p('');
1193: htp.p('');
1194: htp.p('');
1195: htp.p('');
1196: htp.p('');
1197: htp.p('');
1198: htp.p('');
1199: htp.p('');
1200: l_pos := l_pos + 8;

Line 1197: htp.p('');

1193: htp.p('');
1194: htp.p('');
1195: htp.p('');
1196: htp.p('');
1197: htp.p('');
1198: htp.p('');
1199: htp.p('');
1200: l_pos := l_pos + 8;
1201:

Line 1198: htp.p('');

1194: htp.p('');
1195: htp.p('');
1196: htp.p('');
1197: htp.p('');
1198: htp.p('');
1199: htp.p('');
1200: l_pos := l_pos + 8;
1201:
1202: for i in ak_query_pkg.g_items_table.first .. ak_query_pkg.g_items_table.last loop

Line 1199: htp.p('');

1195: htp.p('');
1196: htp.p('');
1197: htp.p('');
1198: htp.p('');
1199: htp.p('');
1200: l_pos := l_pos + 8;
1201:
1202: for i in ak_query_pkg.g_items_table.first .. ak_query_pkg.g_items_table.last loop
1203:

Line 1241: htp.p('');
1243:
1244: l_pos := l_pos + 1;
1245: elsif ak_query_pkg.g_items_table(i).attribute_code = 'ICX_RESERVED_PO_NUM' then

Line 1258: htp.p('
');

1254: l_po_number := y_table(ak_query_pkg.g_items_table(i).value_id);
1255: end if;
1256: end if;
1257:
1258: htp.p('

');
1259:
1260: htp.p('');
1259:
1260: htp.p('');
1259:
1260: htp.p('
');
1271: htp.p('
');

Line 1269: htp.p('');

1265: else
1266:
1267: htp.p('
');
1268: end if;
1269: htp.p('');
1270: htp.p('');
1271: htp.p('

');
1272:
1273:

Line 1270: htp.p('');

1266:
1267: htp.p('
');
1268: end if;
1269: htp.p('');
1270: htp.p('');
1271: htp.p('

');
1272:
1273:
1274: --htp.p('result += "');

1267: htp.p('
');
1268: end if;
1269: htp.p('');
1270: htp.p('');
1271: htp.p('

');
1272:
1273:
1274: --htp.p('result += "');
1271: htp.p('');
1272:
1273:
1274: --htp.p('result += "');
1296: /* 837698 increment l_pos if reserve po num is visible in emergency reqs*/

Line 1295: htp.p('');

1291:
1292: --dc htp.p('} result = "";');
1293:
1294: end if;
1295: htp.p('');
1296: /* 837698 increment l_pos if reserve po num is visible in emergency reqs*/
1297: l_pos := l_pos + 1;
1298:
1299:

Line 1307: htp.p('
');

1303: ak_query_pkg.g_items_table(i).item_style <> 'HIDDEN') then
1304:
1305: where_clause :='';--' = ' || icx_sec.getID(icx_sec.PV_WEB_USER_ID);
1306:
1307: htp.p('

');
1308: htp.p('
');
1308: htp.p('
');

1317:
1318: l_pos := l_pos + 1;
1319:
1320: -- 'parent.my_cart_header.ICX_APPROVER_NAME=this.value''>";');
1321: htp.p('');
1322: htp.p('

');
1322: htp.p('
');
1322: htp.p('
');

1326: c_region_code => 'ICX_SHOPPING_CART_HEADER_R',
1327: c_form_name => 'KEVIN',
1328: c_frame_name => 'my_order1',
1329: c_where_clause => where_clause));
1330: htp.p('');
1331: --dc htp.p('} else {');
1332: --dc htp.p('result += "

"; }');
1333:
1334: elsif (ak_query_pkg.g_items_table(i).item_style = 'HIDDEN') then

Line 1331: --dc htp.p('} else {');

1327: c_form_name => 'KEVIN',
1328: c_frame_name => 'my_order1',
1329: c_where_clause => where_clause));
1330: htp.p('');
1331: --dc htp.p('} else {');
1332: --dc htp.p('result += "

"; }');
1333:
1334: elsif (ak_query_pkg.g_items_table(i).item_style = 'HIDDEN') then
1335:

Line 1332: --dc htp.p('result += "
"; }');

1328: c_frame_name => 'my_order1',
1329: c_where_clause => where_clause));
1330: htp.p('');
1331: --dc htp.p('} else {');
1332: --dc htp.p('result += "

"; }');
1333:
1334: elsif (ak_query_pkg.g_items_table(i).item_style = 'HIDDEN') then
1335:
1336: htp.p(' 1333:
1334: elsif (ak_query_pkg.g_items_table(i).item_style = 'HIDDEN') then
1335:
1336: htp.p('' );
1338:
1339: l_pos := l_pos + 1;
1340:

Line 1342: htp.p('
');

1338:
1339: l_pos := l_pos + 1;
1340:
1341: elsif (ak_query_pkg.g_items_table(i).update_flag = 'N' ) then
1342: htp.p('

');
1343: htp.p('
');
1343: htp.p('
');
1343: htp.p('
' || ak_query_pkg.g_items_table(i).attribute_label_long || '
' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1261: htp.p('');
1262: if (l_po_number is not null) then

Line 1260: htp.p('
');

1256: end if;
1257:
1258: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || ' ');
1261: htp.p('');
1262: if (l_po_number is not null) then
1263: htp.p(l_po_number);
1264:

Line 1261: htp.p('');

1257:
1258: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1261: htp.p('');
1262: if (l_po_number is not null) then
1263: htp.p(l_po_number);
1264:
1265: else

Line 1263: htp.p(l_po_number);

1259:
1260: htp.p('

');
1261: htp.p('');
1262: if (l_po_number is not null) then
1263: htp.p(l_po_number);
1264:
1265: else
1266:
1267: htp.p('
');

Line 1267: htp.p('
');

1263: htp.p(l_po_number);
1264:
1265: else
1266:
1267: htp.p('
');
1268: end if;
1269: htp.p('
');
1270: htp.p('

";');

Line 1271: htp.p('
";');
1275:

Line 1274: --htp.p('result += "
";');

1270: htp.p('

";');
1275:
1276: htp.p('
');
1277: if (l_po_number is NULL) then
1278:

Line 1276: htp.p('
');

1272:
1273:
1274: --htp.p('result += "

";');
1275:
1276: htp.p('
');
1277: if (l_po_number is NULL) then
1278:
1279: FND_MESSAGE.SET_NAME('ICX','ICX_RESERVE_PO_NUM');
1280:

Line 1292: --dc htp.p('} result = "";');

1288: P_JavaScriptFlag => FALSE);
1289:
1290:
1291:
1292: --dc htp.p('} result = "";');
1293:
1294: end if;
1295: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || '
' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1309:
1310:
1311:

Line 1308: htp.p('
');

1304:
1305: where_clause :='';--' = ' || icx_sec.getID(icx_sec.PV_WEB_USER_ID);
1306:
1307: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1309:
1310:
1311:
1312: htp.p('');
1309:
1310:
1311:
1312: htp.p(' 1315: '" onBlur='' document.KEVIN.ICX_APPROVER_ID.value ="";''>');
1316:

Line 1321: htp.p('
');
1323: htp.p(icx_util.LOVButton(c_attribute_app_id => 178,
1324: c_attribute_code => 'ICX_APPROVER_NAME',
1325: c_region_app_id => 601,

Line 1322: htp.p('
');

1318: l_pos := l_pos + 1;
1319:
1320: -- 'parent.my_cart_header.ICX_APPROVER_NAME=this.value''>";');
1321: htp.p('

');
1323: htp.p(icx_util.LOVButton(c_attribute_app_id => 178,
1324: c_attribute_code => 'ICX_APPROVER_NAME',
1325: c_region_app_id => 601,
1326: c_region_code => 'ICX_SHOPPING_CART_HEADER_R',

Line 1323: htp.p(icx_util.LOVButton(c_attribute_app_id => 178,

1319:
1320: -- 'parent.my_cart_header.ICX_APPROVER_NAME=this.value''>";');
1321: htp.p('

');
1323: htp.p(icx_util.LOVButton(c_attribute_app_id => 178,
1324: c_attribute_code => 'ICX_APPROVER_NAME',
1325: c_region_app_id => 601,
1326: c_region_code => 'ICX_SHOPPING_CART_HEADER_R',
1327: c_form_name => 'KEVIN',

Line 1330: htp.p('
' || ak_query_pkg.g_items_table(i).attribute_label_long || '
' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1344:
1345:
1346: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');

Line 1343: htp.p('
');

1339: l_pos := l_pos + 1;
1340:
1341: elsif (ak_query_pkg.g_items_table(i).update_flag = 'N' ) then
1342: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1344:
1345:
1346: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1347:

Line 1346: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');

1342: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1344:
1345:
1346: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1347:
1348: if y_table(ak_query_pkg.g_items_table(i).value_id) is NULL then
1349:
1350: htp.p('
');

Line 1350: htp.p('
');

1346: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1347:
1348: if y_table(ak_query_pkg.g_items_table(i).value_id) is NULL then
1349:
1350: htp.p('');
1376:
1377: end if;
1378:
1379: else -- Special treatment object attributes

Line 1384: htp.p('
');

1380:
1381: if ak_query_pkg.g_items_table(i).update_flag = 'Y' then
1382: if ( ak_query_pkg.g_items_table(i).item_style = 'TEXT' ) then
1383:
1384: htp.p('

');
1385:
1386: /* dynamic LOV */
1387: if ak_query_pkg.g_items_table(i).lov_attribute_code is not NULL and ak_query_pkg.g_items_table(i).lov_region_code is not NULL then
1388: htp.p('');
1385:
1386: /* dynamic LOV */
1387: if ak_query_pkg.g_items_table(i).lov_attribute_code is not NULL and ak_query_pkg.g_items_table(i).lov_region_code is not NULL then
1388: htp.p('');
1411:
1412: /* dynamic LOV */
1413: if ak_query_pkg.g_items_table(i).lov_attribute_code is not NULL and ak_query_pkg.g_items_table(i).lov_region_code is not NULL then

Line 1410: htp.p('');

1406:
1407: end if;
1408:
1409: htp.p(display_text);
1410: htp.p('');
1411:
1412: /* dynamic LOV */
1413: if ak_query_pkg.g_items_table(i).lov_attribute_code is not NULL and ak_query_pkg.g_items_table(i).lov_region_code is not NULL then
1414:

Line 1415: htp.p('
');

1418: c_region_app_id => 601,
1419: c_region_code => 'ICX_SHOPPING_CART_HEADER_R',
1420: c_form_name => 'KEVIN',
1421: c_frame_name => 'my_order1'));
1422: htp.p('');
1423: end if;
1424:
1425: htp.p('

');
1426:

Line 1425: htp.p('');

1421: c_frame_name => 'my_order1'));
1422: htp.p('');
1423: end if;
1424:
1425: htp.p('');
1426:
1427: elsif (ak_query_pkg.g_items_table(i).item_style = 'HIDDEN' ) then
1428: htp.p('');

Line 1428: htp.p('');
1426:
1427: elsif (ak_query_pkg.g_items_table(i).item_style = 'HIDDEN' ) then
1428: htp.p('');
1430:
1431: l_pos := l_pos + 1;
1432: else

Line 1438: htp.p('
');

1434: end if;
1435: else -- Update falg not set
1436: if ( ak_query_pkg.g_items_table(i).item_style <> 'HIDDEN' ) then
1437:
1438: htp.p('

');
1439: htp.p('
');
1439: htp.p('
');
1439: htp.p('
');
1351: else
1352:
1353: htp.p('');
1376:
1377: end if;
1378:

Line 1375: htp.p('');

1371: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1372: htp.p('');
1373: end if;
1374: htp.p('

');
1354: end if;

Line 1353: htp.p('
');

1349:
1350: htp.p('');
1376:

Line 1374: htp.p('
');
1351: else
1352:
1353: htp.p('
');
1354: end if;
1355:
1356: --Bold
1357: if ak_query_pkg.g_items_table(i).bold = 'Y' then

Line 1358: htp.p('');

1354: end if;
1355:
1356: --Bold
1357: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1358: htp.p('');
1359: end if;
1360: --Italics
1361: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1362: htp.p('');

Line 1362: htp.p('');

1358: htp.p('');
1359: end if;
1360: --Italics
1361: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1362: htp.p('');
1363: end if;
1364: htp.p(y_table(ak_query_pkg.g_items_table(i).value_id) || '
' );
1365:
1366: --Bold

Line 1364: htp.p(y_table(ak_query_pkg.g_items_table(i).value_id) || '
' );

1360: --Italics
1361: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1362: htp.p('');
1363: end if;
1364: htp.p(y_table(ak_query_pkg.g_items_table(i).value_id) || '
' );
1365:
1366: --Bold
1367: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1368: htp.p('
');

Line 1368: htp.p('');

1364: htp.p(y_table(ak_query_pkg.g_items_table(i).value_id) || '
' );
1365:
1366: --Bold
1367: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1368: htp.p('
');
1369: end if;
1370: --Italics
1371: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1372: htp.p('
');

Line 1372: htp.p('');

1368: htp.p('');
1369: end if;
1370: --Italics
1371: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1372: htp.p('');
1373: end if;
1374: htp.p('

');
1375: htp.p('
');

1370: --Italics
1371: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1372: htp.p('');
1373: end if;
1374: htp.p('

');
1375: htp.p('
');
1375: htp.p('
' || ak_query_pkg.g_items_table(i).attribute_label_long || '
' || ak_query_pkg.g_items_table(i).attribute_label_long || '');

Line 1388: htp.p('
');

1384: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || ' ');
1389: else
1390: htp.p('
');
1391: end if;
1392:

Line 1390: htp.p('
');

1386: /* dynamic LOV */
1387: if ak_query_pkg.g_items_table(i).lov_attribute_code is not NULL and ak_query_pkg.g_items_table(i).lov_region_code is not NULL then
1388: htp.p('

');
1389: else
1390: htp.p('
');
1391: end if;
1392:
1393: display_text := '

1397: l_pos := l_pos + 1;
1398:
1399: /* do not allow to change requisition number */
1400: if ak_query_pkg.g_items_table(i).attribute_code = 'ICX_REQ_NUMBER_SEG1' then
1401: --dc htp.p('result += " onBlur=''this.value=parent.my_cart_header.ICX_REQ_NUMBER_SEG1''>";');
1402:
1403: display_text := display_text || ' onBlur=''this.value= ' || y_table(ak_query_pkg.g_items_table(i).value_id) || '>';
1404: else
1405: display_text := display_text || '>';

Line 1409: htp.p(display_text);

1405: display_text := display_text || '>';
1406:
1407: end if;
1408:
1409: htp.p(display_text);
1410: htp.p('

');

1411:
1412: /* dynamic LOV */
1413: if ak_query_pkg.g_items_table(i).lov_attribute_code is not NULL and ak_query_pkg.g_items_table(i).lov_region_code is not NULL then
1414:
1415: htp.p('

');
1416: htp.p(icx_util.LOVButton(c_attribute_app_id => 178,
1417: c_attribute_code => ak_query_pkg.g_items_table(i).attribute_code,
1418: c_region_app_id => 601,
1419: c_region_code => 'ICX_SHOPPING_CART_HEADER_R',

Line 1416: htp.p(icx_util.LOVButton(c_attribute_app_id => 178,

1412: /* dynamic LOV */
1413: if ak_query_pkg.g_items_table(i).lov_attribute_code is not NULL and ak_query_pkg.g_items_table(i).lov_region_code is not NULL then
1414:
1415: htp.p('

');
1416: htp.p(icx_util.LOVButton(c_attribute_app_id => 178,
1417: c_attribute_code => ak_query_pkg.g_items_table(i).attribute_code,
1418: c_region_app_id => 601,
1419: c_region_code => 'ICX_SHOPPING_CART_HEADER_R',
1420: c_form_name => 'KEVIN',

Line 1422: htp.p('
' || ak_query_pkg.g_items_table(i).attribute_label_long || '
' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1440: --
1441: -- Add a table to create a white background
1442: -- htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');

Line 1439: htp.p('
');

1435: else -- Update falg not set
1436: if ( ak_query_pkg.g_items_table(i).item_style <> 'HIDDEN' ) then
1437:
1438: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1440: --
1441: -- Add a table to create a white background
1442: -- htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1443: if (y_table(ak_query_pkg.g_items_table(i).value_id) is NULL) then

Line 1442: -- htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');

1438: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1440: --
1441: -- Add a table to create a white background
1442: -- htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1443: if (y_table(ak_query_pkg.g_items_table(i).value_id) is NULL) then
1444:
1445: htp.p('
');
1446: else

Line 1445: htp.p('
');

1441: -- Add a table to create a white background
1442: -- htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1443: if (y_table(ak_query_pkg.g_items_table(i).value_id) is NULL) then
1444:
1445: htp.p('');
1476: --changed by alex
1477: else --it is a hidden field
1478: htp.p('');
1480: l_pos := l_pos + 1;
1481: end if;
1482: end if;

Line 1502: htp.p('
');

1498: icx_sec.getID(icx_sec.PV_USER_REQ_OVERRIDE_REQUESTOR) = 'ORG'
1499: ) then
1500:
1501:
1502: htp.p('

');
1503: htp.p('
');
1503: htp.p('
');

1512: ( icx_sec.getID(icx_sec.PV_USER_REQ_OVERRIDE_LOC_FLAG) = 'N' or
1513: ak_query_pkg.g_items_table(i).update_flag = 'N') then
1514:
1515: display_text := display_text || ' onBlur=''this.value ="' || replace(y_table(ak_query_pkg.g_items_table(i).value_id),'"','"') || '"''>';
1516: htp.p(display_text || '');
1517: else
1518:
1519: --dc htp.p('result += " onBlur=''parent.my_cart_header.ICX_DELIVER_TO_LOCATION=this.value;''>";');
1520:

Line 1519: --dc htp.p('result += " onBlur=''parent.my_cart_header.ICX_DELIVER_TO_LOCATION=this.value;''>";');

1515: display_text := display_text || ' onBlur=''this.value ="' || replace(y_table(ak_query_pkg.g_items_table(i).value_id),'"','"') || '"''>';
1516: htp.p(display_text || '');
1517: else
1518:
1519: --dc htp.p('result += " onBlur=''parent.my_cart_header.ICX_DELIVER_TO_LOCATION=this.value;''>";');
1520:
1521: display_text := display_text || ' onBlur=''document.KEVIN.ICX_DELIVER_TO_LOCATION_ID.value = "";document.KEVIN.ICX_DEST_ORG_ID.value= "";''>';
1522: htp.p(display_text || '');
1523:

Line 1522: htp.p(display_text || '');

1518:
1519: --dc htp.p('result += " onBlur=''parent.my_cart_header.ICX_DELIVER_TO_LOCATION=this.value;''>";');
1520:
1521: display_text := display_text || ' onBlur=''document.KEVIN.ICX_DELIVER_TO_LOCATION_ID.value = "";document.KEVIN.ICX_DEST_ORG_ID.value= "";''>';
1522: htp.p(display_text || '');
1523:
1524:
1525: htp.p('

');
1523:
1524:
1525: htp.p('
');
1529:

Line 1526: htp.p(icx_util.LOVButton(178,'ICX_DELIVER_TO_LOCATION', 601, 'ICX_SHOPPING_CART_HEADER_R', 'KEVIN', 'my_order1'));

1522: htp.p(display_text || '');
1523:
1524:
1525: htp.p('

');
1529:
1530: end if;

Line 1528: htp.p('');

1524:
1525: htp.p('

');
1529:
1530: end if;
1531:
1532: else

Line 1534: htp.p('
');

1530: end if;
1531:
1532: else
1533:
1534: htp.p('

');
1535: htp.p('
');
1535: htp.p('
');
1535: htp.p('
');
1446: else
1447: htp.p('');
1476: --changed by alex
1477: else --it is a hidden field
1478: htp.p('');

Line 1478: htp.p('
');
1448: end if;
1449: --Bold

Line 1447: htp.p('');
1476: --changed by alex
1477: else --it is a hidden field
1478: htp.p('');

1471: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1472: htp.p('');
1473: end if;
1474: htp.p('

');

1443: if (y_table(ak_query_pkg.g_items_table(i).value_id) is NULL) then
1444:
1445: htp.p('
');
1446: else
1447: htp.p('');
1476: --changed by alex

Line 1474: htp.p('
');
1448: end if;
1449: --Bold
1450: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1451: htp.p('');

Line 1451: htp.p('');

1447: htp.p('
');
1448: end if;
1449: --Bold
1450: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1451: htp.p('');
1452: end if;
1453: --Italics
1454: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1455: htp.p('');

Line 1455: htp.p('');

1451: htp.p('');
1452: end if;
1453: --Italics
1454: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1455: htp.p('');
1456: end if;
1457: htp.p(y_table(ak_query_pkg.g_items_table(i).value_id) || '
' );
1458:
1459: --add by alex

Line 1457: htp.p(y_table(ak_query_pkg.g_items_table(i).value_id) || '
' );

1453: --Italics
1454: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1455: htp.p('');
1456: end if;
1457: htp.p(y_table(ak_query_pkg.g_items_table(i).value_id) || '
' );
1458:
1459: --add by alex
1460: -- if ak_query_pkg.g_items_table(i).attribute_code = 'ICX_CART_ID' then
1461: pk1 := icx_call.decrypt2(n_cart_id);

Line 1468: htp.p('');

1464: --
1465:
1466: --Bold
1467: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1468: htp.p('
');
1469: end if;
1470: --Italics
1471: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1472: htp.p('
');

Line 1472: htp.p('');

1468: htp.p('');
1469: end if;
1470: --Italics
1471: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1472: htp.p('');
1473: end if;
1474: htp.p('

');
1475: htp.p('

');

1470: --Italics
1471: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1472: htp.p('
');
1473: end if;
1474: htp.p('

');
1475: htp.p('

');
1475: htp.p('
');
1475: htp.p('
' || ak_query_pkg.g_items_table(i).attribute_label_long || '
' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1504:
1505: display_text := '

Line 1503: htp.p('
');

1499: ) then
1500:
1501:
1502: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1504:
1505: display_text := ' 1507:

Line 1516: htp.p(display_text || '
');
1526: htp.p(icx_util.LOVButton(178,'ICX_DELIVER_TO_LOCATION', 601, 'ICX_SHOPPING_CART_HEADER_R', 'KEVIN', 'my_order1'));

Line 1525: htp.p('
');

1521: display_text := display_text || ' onBlur=''document.KEVIN.ICX_DELIVER_TO_LOCATION_ID.value = "";document.KEVIN.ICX_DEST_ORG_ID.value= "";''>';
1522: htp.p(display_text || '

');
1526: htp.p(icx_util.LOVButton(178,'ICX_DELIVER_TO_LOCATION', 601, 'ICX_SHOPPING_CART_HEADER_R', 'KEVIN', 'my_order1'));
1527:
1528: htp.p('
');
1526: htp.p(icx_util.LOVButton(178,'ICX_DELIVER_TO_LOCATION', 601, 'ICX_SHOPPING_CART_HEADER_R', 'KEVIN', 'my_order1'));
1527:
1528: htp.p('
');
1526: htp.p(icx_util.LOVButton(178,'ICX_DELIVER_TO_LOCATION', 601, 'ICX_SHOPPING_CART_HEADER_R', 'KEVIN', 'my_order1'));
1527:
1528: htp.p('
' || ak_query_pkg.g_items_table(i).attribute_label_long || '
' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1536:
1537: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1538:

Line 1535: htp.p('
');

1531:
1532: else
1533:
1534: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1536:
1537: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1538:
1539: if y_table(ak_query_pkg.g_items_table(i).value_id) is NULL then

Line 1537: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');

1533:
1534: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1536:
1537: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1538:
1539: if y_table(ak_query_pkg.g_items_table(i).value_id) is NULL then
1540: htp.p('
');
1541: --dc htp.p('else');

Line 1540: htp.p('
');

1536:
1537: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1538:
1539: if y_table(ak_query_pkg.g_items_table(i).value_id) is NULL then
1540: htp.p('
');
1541: --dc htp.p('else');
1542: else
1543: htp.p('
');
1544: end if;

Line 1541: --dc htp.p('else');

1537: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1538:
1539: if y_table(ak_query_pkg.g_items_table(i).value_id) is NULL then
1540: htp.p('');
1566:
1567: end if;
1568:
1569: else

Line 1571: htp.p('');
1573:
1574: l_pos := l_pos + 1;
1575: end if;

Line 1589: htp.p('
');

1585: ak_query_pkg.g_items_table(i).item_style <> 'HIDDEN' then
1586:
1587: where_clause := 'WEB_USER_ID = ' || icx_sec.getID(icx_sec.PV_WEB_USER_ID);
1588:
1589: htp.p('

');
1590: htp.p('');
1590: htp.p('');
1601: htp.p('
');

1596:
1597: display_text := display_text || ' onBlur=''document.KEVIN.ICX_DELIVER_TO_REQUESTOR_ID.value="";''>';
1598: htp.p(display_text);
1599:
1600: htp.p('');
1601: htp.p('

');
1601: htp.p('
');
1601: htp.p('
');

1605: c_region_code => 'ICX_SHOPPING_CART_HEADER_R',
1606: c_form_name => 'KEVIN',
1607: c_frame_name => 'my_order1',
1608: c_where_clause => where_clause));
1609: htp.p('');
1610:
1611: elsif ( icx_sec.getID(icx_sec.PV_USER_REQ_OVERRIDE_REQUESTOR) = 'ALL' OR
1612: icx_sec.getID(icx_sec.PV_USER_REQ_OVERRIDE_REQUESTOR) = 'ORG') and
1613: (ak_query_pkg.g_items_table(i).node_display_flag ='Y' and

Line 1616: htp.p(' 1613: (ak_query_pkg.g_items_table(i).node_display_flag ='Y' and
1614: ak_query_pkg.g_items_table(i).item_style = 'HIDDEN') then
1615:
1616: htp.p('');
1618:
1619: l_pos := l_pos + 1;
1620:

Line 1626: htp.p('
');

1622:
1623: elsif (ak_query_pkg.g_items_table(i).node_display_flag = 'Y') and ( icx_sec.getID(icx_sec.PV_USER_REQ_OVERRIDE_REQUESTOR) = 'NO' or
1624: ak_query_pkg.g_items_table(i).update_flag = 'N' ) then
1625:
1626: htp.p('

');
1627: htp.p('
');
1627: htp.p('
');
1541: --dc htp.p('else');
1542: else
1543: htp.p('');
1566:
1567: end if;
1568:

Line 1565: htp.p('');

1561: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1562: htp.p('');
1563: end if;
1564: htp.p('

');
1544: end if;
1545:

Line 1543: htp.p('
');

1539: if y_table(ak_query_pkg.g_items_table(i).value_id) is NULL then
1540: htp.p('');
1566:

Line 1564: htp.p('
');
1541: --dc htp.p('else');
1542: else
1543: htp.p('
');
1544: end if;
1545:
1546: --Bold
1547: if ak_query_pkg.g_items_table(i).bold = 'Y' then

Line 1548: htp.p('');

1544: end if;
1545:
1546: --Bold
1547: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1548: htp.p('');
1549: end if;
1550: --Italics
1551: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1552: htp.p('');

Line 1552: htp.p('');

1548: htp.p('');
1549: end if;
1550: --Italics
1551: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1552: htp.p('');
1553: end if;
1554: htp.p(y_table(ak_query_pkg.g_items_table(i).value_id) || '
');
1555:
1556: --Bold

Line 1554: htp.p(y_table(ak_query_pkg.g_items_table(i).value_id) || '
');

1550: --Italics
1551: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1552: htp.p('');
1553: end if;
1554: htp.p(y_table(ak_query_pkg.g_items_table(i).value_id) || '
');
1555:
1556: --Bold
1557: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1558: htp.p('
');

Line 1558: htp.p('');

1554: htp.p(y_table(ak_query_pkg.g_items_table(i).value_id) || '
');
1555:
1556: --Bold
1557: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1558: htp.p('');
1559: end if;
1560: --Italics
1561: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1562: htp.p('
');

Line 1562: htp.p('');

1558: htp.p('');
1559: end if;
1560: --Italics
1561: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1562: htp.p('
');
1563: end if;
1564: htp.p('

');
1565: htp.p('
');

1560: --Italics
1561: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1562: htp.p('');
1563: end if;
1564: htp.p('

');
1565: htp.p('
');
1565: htp.p('
' || ak_query_pkg.g_items_table(i).attribute_label_long || '
' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1591:
1592: display_text := '

Line 1590: htp.p('
');

1586:
1587: where_clause := 'WEB_USER_ID = ' || icx_sec.getID(icx_sec.PV_WEB_USER_ID);
1588:
1589: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || ' ');
1591:
1592: display_text := ' 1594:

Line 1598: htp.p(display_text);

1594:
1595: l_pos := l_pos + 1;
1596:
1597: display_text := display_text || ' onBlur=''document.KEVIN.ICX_DELIVER_TO_REQUESTOR_ID.value="";''>';
1598: htp.p(display_text);
1599:
1600: htp.p('

');
1602: htp.p(icx_util.LOVButton(c_attribute_app_id => 178,

Line 1600: htp.p('
');
1602: htp.p(icx_util.LOVButton(c_attribute_app_id => 178,
1603: c_attribute_code => 'ICX_DELIVER_TO_REQUESTOR',
1604: c_region_app_id => 601,

Line 1601: htp.p('
');

1597: display_text := display_text || ' onBlur=''document.KEVIN.ICX_DELIVER_TO_REQUESTOR_ID.value="";''>';
1598: htp.p(display_text);
1599:
1600: htp.p('

');
1602: htp.p(icx_util.LOVButton(c_attribute_app_id => 178,
1603: c_attribute_code => 'ICX_DELIVER_TO_REQUESTOR',
1604: c_region_app_id => 601,
1605: c_region_code => 'ICX_SHOPPING_CART_HEADER_R',

Line 1602: htp.p(icx_util.LOVButton(c_attribute_app_id => 178,

1598: htp.p(display_text);
1599:
1600: htp.p('

');
1602: htp.p(icx_util.LOVButton(c_attribute_app_id => 178,
1603: c_attribute_code => 'ICX_DELIVER_TO_REQUESTOR',
1604: c_region_app_id => 601,
1605: c_region_code => 'ICX_SHOPPING_CART_HEADER_R',
1606: c_form_name => 'KEVIN',

Line 1609: htp.p('
' || ak_query_pkg.g_items_table(i).attribute_label_long || '
' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1628:
1629:
1630:

Line 1627: htp.p('
');

1623: elsif (ak_query_pkg.g_items_table(i).node_display_flag = 'Y') and ( icx_sec.getID(icx_sec.PV_USER_REQ_OVERRIDE_REQUESTOR) = 'NO' or
1624: ak_query_pkg.g_items_table(i).update_flag = 'N' ) then
1625:
1626: htp.p('

' || ak_query_pkg.g_items_table(i).attribute_label_long || '');
1628:
1629:
1630:
1631: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');

Line 1631: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');

1627: htp.p('

');
1628:
1629:
1630:
1631: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1632:
1633: if l_requestor_name is NULL then
1634:
1635: htp.p('
');

Line 1635: htp.p('');

2487: P_OnMouseOverText => v_order_button_text,
2488: P_HyperTextCall => 'javascript:submit_order()',
2489: P_LanguageCode => v_lang,
2490: P_JavaScriptFlag => FALSE);
2491: htp.p('');
2492:
2493: htp.p('

');
2492:
2493: htp.p('');

2498: P_OnMouseOverText => v_order_button_text,
2499: P_HyperTextCall => 'javascript:save_order()',
2500: P_LanguageCode => v_lang,
2501: P_JavaScriptFlag => FALSE);
2502: htp.p('');
2503:
2504: htp.p('

');
2503:
2504: htp.p('
');

2509: P_OnMouseOverText => v_order_button_text,
2510: P_HyperTextCall => 'javascript:delete_saved_cart()',
2511: P_LanguageCode => v_lang,
2512: P_JavaScriptFlag => FALSE);
2513: htp.p('');
2514:
2515: htp.p('

');
2516:
2517: htp.p('
');

2511: P_LanguageCode => v_lang,
2512: P_JavaScriptFlag => FALSE);
2513: htp.p('');
2514:
2515: htp.p('

');
2516:
2517: htp.p('
');
2514:
2515: htp.p('
');
2516:
2517: htp.p('
');

2522: P_OnMouseOverText => v_order_button_text,
2523: P_HyperTextCall => 'javascript:modify_order()',
2524: P_LanguageCode => v_lang,
2525: P_JavaScriptFlag => FALSE);
2526: htp.p('');
2527:
2528:
2529: htp.tableRowClose;
2530: htp.tableClose;

Line 2529: htp.tableRowClose;

2525: P_JavaScriptFlag => FALSE);
2526: htp.p('');
2527:
2528:
2529: htp.tableRowClose;
2530: htp.tableClose;
2531: htp.p('');
2532:
2533: htp.bodyClose;

Line 2530: htp.tableClose;

2526: htp.p('');
2527:
2528:
2529: htp.tableRowClose;
2530: htp.tableClose;
2531: htp.p('');
2532:
2533: htp.bodyClose;
2534: htp.htmlClose;

Line 2531: htp.p('');

2527:
2528:
2529: htp.tableRowClose;
2530: htp.tableClose;
2531: htp.p('');
2532:
2533: htp.bodyClose;
2534: htp.htmlClose;
2535:

Line 2533: htp.bodyClose;

2529: htp.tableRowClose;
2530: htp.tableClose;
2531: htp.p('');
2532:
2533: htp.bodyClose;
2534: htp.htmlClose;
2535:
2536: end if;
2537:

Line 2534: htp.htmlClose;

2530: htp.tableClose;
2531: htp.p('');
2532:
2533: htp.bodyClose;
2534: htp.htmlClose;
2535:
2536: end if;
2537:
2538: end;

');

1631: --dc htp.p('if (parent.my_cart_header.' || ak_query_pkg.g_items_table(i).attribute_code || ' == "")');
1632:
1633: if l_requestor_name is NULL then
1634:
1635: htp.p('
');
1636: --dc htp.p('else');
1637: else
1638: htp.p('
');
1639: end if;

Line 1636: --dc htp.p('else');

1632:
1633: if l_requestor_name is NULL then
1634:
1635: htp.p('
');
1636: --dc htp.p('else');
1637: else
1638: htp.p('');
1659:
1660: end if;
1661:
1662: elsif ak_query_pkg.g_items_table(i).attribute_code = 'ICX_PO_BUTTON' then

Line 1664: htp.p('result += "
";');

1660: end if;
1661:
1662: elsif ak_query_pkg.g_items_table(i).attribute_code = 'ICX_PO_BUTTON' then
1663: /*
1664: htp.p('result += "

";');
1665:
1666: htp.p('result += "";');
1665:
1666: htp.p('result += "";');

1680: || ''' SIZE=' || ak_query_pkg.g_items_table(i).display_value_length
1681: || ' VALUE=''' || icx_util.replace_quotes(ak_query_pkg.g_items_table(i).attribute_code) || ''' onClick=''get_po()''>";');
1682:
1683: l_pos := l_pos + 1;
1684: htp.p('result += "";');
1685: */ null;
1686:
1687: elsif (ak_query_pkg.g_items_table(i).attribute_code = 'ICX_REQ_ORG_ID' or
1688: ak_query_pkg.g_items_table(i).attribute_code = 'ICX_REQ_LOC_ID' or

Line 1692: htp.p('');

1688: ak_query_pkg.g_items_table(i).attribute_code = 'ICX_REQ_LOC_ID' or
1689: ak_query_pkg.g_items_table(i).attribute_code = 'ICX_REQ_LOC_CD') and
1690: ak_query_pkg.g_items_table(i).node_display_flag = 'Y' then
1691:
1692: htp.p('');
1693:
1694: l_pos := l_pos + 1;
1695:
1696:

Line 1711: htp.p('
');
1713:
1714: if (attachment_status <> 'DISABLE'
1715: AND attachment_status = 'FULL')

Line 1717: htp.tableData(cvalue => ' 1718: || pk1
1719: || ''' ,'''', '''
1720: ||v_dcdname
1721: ||''')" onMouseOver="window.status='''

Line 1730: htp.tableData(cvalue => ''
1728: ,calign => 'LEFT');
1729: elsif (attachment_status <> 'DISABLE') then
1730: htp.tableData(cvalue => '
');

2079:
2080: l_col := 0;
2081:
2082: -- code the required hidden fields for LOV use
2083: htp.p('');
2084: htp.p('');
2085: htp.p('');
2086:
2087: l_pos := l_pos + 3;

Line 2084: htp.p('');

2080: l_col := 0;
2081:
2082: -- code the required hidden fields for LOV use
2083: htp.p('');
2084: htp.p('');
2085: htp.p('');
2086:
2087: l_pos := l_pos + 3;
2088:

Line 2085: htp.p('');

2081:
2082: -- code the required hidden fields for LOV use
2083: htp.p('');
2084: htp.p('');
2085: htp.p('');
2086:
2087: l_pos := l_pos + 3;
2088:
2089: v_req_overwrite_flag := icx_sec.getID(icx_sec.PV_USER_REQ_OVERRIDE_LOC_FLAG);

Line 2098: htp.p('');

2094: if (ak_query_pkg.g_items_table(i).attribute_code = 'ICX_SUGGESTED_VENDOR_NAME' and
2095: v_vendor_on_flag = 'Y') then
2096:
2097: -- for LOV use
2098: htp.p('');
2099: htp.p('');
2100: htp.p('');
2101: htp.p('');
2102:

Line 2099: htp.p('');

2095: v_vendor_on_flag = 'Y') then
2096:
2097: -- for LOV use
2098: htp.p('');
2099: htp.p('');
2100: htp.p('');
2101: htp.p('');
2102:
2103: l_pos := l_pos + 4;

Line 2100: htp.p('');

2096:
2097: -- for LOV use
2098: htp.p('');
2099: htp.p('');
2100: htp.p('');
2101: htp.p('');
2102:
2103: l_pos := l_pos + 4;
2104: end if;

Line 2101: htp.p('');

2097: -- for LOV use
2098: htp.p('');
2099: htp.p('');
2100: htp.p('');
2101: htp.p('');
2102:
2103: l_pos := l_pos + 4;
2104: end if;
2105:

Line 2120: htp.p('');

2116: ak_query_pkg.g_items_table(i).attribute_code <> 'ICX_DEST_ORG_ID_L' then
2117:
2118: if ak_query_pkg.g_items_table(i).attribute_code = 'ICX_SHOPPER_ID' then
2119: l_shopper_id := icx_call.encrypt2(to_char(shopper_id));
2120: htp.p('');
2121: else
2122:
2123: htp.p('');
2124: end if;

Line 2123: htp.p('');

2119: l_shopper_id := icx_call.encrypt2(to_char(shopper_id));
2120: htp.p('');
2121: else
2122:
2123: htp.p('');
2124: end if;
2125:
2126: l_pos := l_pos + 1;
2127:

Line 2151: htp.htmlOpen;

2147: IF (n_account_dist is NULL) THEN
2148: --add by alex
2149: ICX_REQ_ORDER.pk1 := icx_call.decrypt2(n_cart_id);
2150:
2151: htp.htmlOpen;
2152: htp.headOpen;
2153: htp.headClose;
2154:
2155: htp.framesetOpen('*,44','','BORDER=0');

Line 2152: htp.headOpen;

2148: --add by alex
2149: ICX_REQ_ORDER.pk1 := icx_call.decrypt2(n_cart_id);
2150:
2151: htp.htmlOpen;
2152: htp.headOpen;
2153: htp.headClose;
2154:
2155: htp.framesetOpen('*,44','','BORDER=0');
2156: htp.frame(v_dcdName ||

Line 2153: htp.headClose;

2149: ICX_REQ_ORDER.pk1 := icx_call.decrypt2(n_cart_id);
2150:
2151: htp.htmlOpen;
2152: htp.headOpen;
2153: htp.headClose;
2154:
2155: htp.framesetOpen('*,44','','BORDER=0');
2156: htp.frame(v_dcdName ||
2157: '/ICX_REQ_ORDER.my_order1?n_org=' || n_org || '&n_emergency=' ||

Line 2155: htp.framesetOpen('*,44','','BORDER=0');

2151: htp.htmlOpen;
2152: htp.headOpen;
2153: htp.headClose;
2154:
2155: htp.framesetOpen('*,44','','BORDER=0');
2156: htp.frame(v_dcdName ||
2157: '/ICX_REQ_ORDER.my_order1?n_org=' || n_org || '&n_emergency=' ||
2158: n_emergency || '&n_cart_id=' || n_cart_id || '&v_po_number=' || v_po_number,'my_order1','0','0','auto','', 'FRAMEBORDER=YES');
2159:

Line 2156: htp.frame(v_dcdName ||

2152: htp.headOpen;
2153: htp.headClose;
2154:
2155: htp.framesetOpen('*,44','','BORDER=0');
2156: htp.frame(v_dcdName ||
2157: '/ICX_REQ_ORDER.my_order1?n_org=' || n_org || '&n_emergency=' ||
2158: n_emergency || '&n_cart_id=' || n_cart_id || '&v_po_number=' || v_po_number,'my_order1','0','0','auto','', 'FRAMEBORDER=YES');
2159:
2160: htp.frame(v_dcdName ||

Line 2160: htp.frame(v_dcdName ||

2156: htp.frame(v_dcdName ||
2157: '/ICX_REQ_ORDER.my_order1?n_org=' || n_org || '&n_emergency=' ||
2158: n_emergency || '&n_cart_id=' || n_cart_id || '&v_po_number=' || v_po_number,'my_order1','0','0','auto','', 'FRAMEBORDER=YES');
2159:
2160: htp.frame(v_dcdName ||
2161: '/ICX_REQ_ORDER.my_order2?n_org=' || n_org || '&n_emergency=' ||
2162: n_emergency || '&n_cart_id=' || n_cart_id || '&v_po_number=' || v_po_number,'my_order2','0','0','no','NORESIZE', 'FRAMEBORDER=YES');
2163:
2164: htp.framesetClose;

Line 2164: htp.framesetClose;

2160: htp.frame(v_dcdName ||
2161: '/ICX_REQ_ORDER.my_order2?n_org=' || n_org || '&n_emergency=' ||
2162: n_emergency || '&n_cart_id=' || n_cart_id || '&v_po_number=' || v_po_number,'my_order2','0','0','no','NORESIZE', 'FRAMEBORDER=YES');
2163:
2164: htp.framesetClose;
2165: htp.htmlClose;
2166:
2167: -- ELSIF n_account_dist = 'Y' THEN
2168: ELSE

Line 2165: htp.htmlClose;

2161: '/ICX_REQ_ORDER.my_order2?n_org=' || n_org || '&n_emergency=' ||
2162: n_emergency || '&n_cart_id=' || n_cart_id || '&v_po_number=' || v_po_number,'my_order2','0','0','no','NORESIZE', 'FRAMEBORDER=YES');
2163:
2164: htp.framesetClose;
2165: htp.htmlClose;
2166:
2167: -- ELSIF n_account_dist = 'Y' THEN
2168: ELSE
2169:

Line 2170: htp.htmlOpen;

2166:
2167: -- ELSIF n_account_dist = 'Y' THEN
2168: ELSE
2169:
2170: htp.htmlOpen;
2171: htp.headOpen;
2172: htp.headClose;
2173: htp.framesetOpen('*,44','','BORDER=0');
2174: htp.frame(v_dcdName ||

Line 2171: htp.headOpen;

2167: -- ELSIF n_account_dist = 'Y' THEN
2168: ELSE
2169:
2170: htp.htmlOpen;
2171: htp.headOpen;
2172: htp.headClose;
2173: htp.framesetOpen('*,44','','BORDER=0');
2174: htp.frame(v_dcdName ||
2175: '/icx_req_acct_dist.display_acct_distributions?p_cart_id=' || n_cart_id || '&p_cart_line_id=' ||

Line 2172: htp.headClose;

2168: ELSE
2169:
2170: htp.htmlOpen;
2171: htp.headOpen;
2172: htp.headClose;
2173: htp.framesetOpen('*,44','','BORDER=0');
2174: htp.frame(v_dcdName ||
2175: '/icx_req_acct_dist.display_acct_distributions?p_cart_id=' || n_cart_id || '&p_cart_line_id=' ||
2176: n_cart_line_id ,'my_order_account1','0','0','auto','', 'FRAMEBORDER=YES');

Line 2173: htp.framesetOpen('*,44','','BORDER=0');

2169:
2170: htp.htmlOpen;
2171: htp.headOpen;
2172: htp.headClose;
2173: htp.framesetOpen('*,44','','BORDER=0');
2174: htp.frame(v_dcdName ||
2175: '/icx_req_acct_dist.display_acct_distributions?p_cart_id=' || n_cart_id || '&p_cart_line_id=' ||
2176: n_cart_line_id ,'my_order_account1','0','0','auto','', 'FRAMEBORDER=YES');
2177:

Line 2174: htp.frame(v_dcdName ||

2170: htp.htmlOpen;
2171: htp.headOpen;
2172: htp.headClose;
2173: htp.framesetOpen('*,44','','BORDER=0');
2174: htp.frame(v_dcdName ||
2175: '/icx_req_acct_dist.display_acct_distributions?p_cart_id=' || n_cart_id || '&p_cart_line_id=' ||
2176: n_cart_line_id ,'my_order_account1','0','0','auto','', 'FRAMEBORDER=YES');
2177:
2178: htp.frame(v_dcdName ||

Line 2178: htp.frame(v_dcdName ||

2174: htp.frame(v_dcdName ||
2175: '/icx_req_acct_dist.display_acct_distributions?p_cart_id=' || n_cart_id || '&p_cart_line_id=' ||
2176: n_cart_line_id ,'my_order_account1','0','0','auto','', 'FRAMEBORDER=YES');
2177:
2178: htp.frame(v_dcdName ||
2179: '/icx_req_acct_dist.print_action_buttons' ,'my_order_account2','0','0','no','NORESIZE', 'FRAMEBORDER=YES');
2180:
2181: htp.framesetClose;
2182: htp.htmlClose;

Line 2181: htp.framesetClose;

2177:
2178: htp.frame(v_dcdName ||
2179: '/icx_req_acct_dist.print_action_buttons' ,'my_order_account2','0','0','no','NORESIZE', 'FRAMEBORDER=YES');
2180:
2181: htp.framesetClose;
2182: htp.htmlClose;
2183:
2184: END IF;
2185:

Line 2182: htp.htmlClose;

2178: htp.frame(v_dcdName ||
2179: '/icx_req_acct_dist.print_action_buttons' ,'my_order_account2','0','0','no','NORESIZE', 'FRAMEBORDER=YES');
2180:
2181: htp.framesetClose;
2182: htp.htmlClose;
2183:
2184: END IF;
2185:
2186: end my_order;

Line 2244: htp.htmlOpen;

2240: ICX_REQ_NAVIGATION.get_currency(v_org, v_currency, v_precision, v_money_fmt_mask);
2241: v_money_fmt_mask := FND_CURRENCY.GET_FORMAT_MASK(v_currency,30);
2242:
2243:
2244: htp.htmlOpen;
2245: htp.headOpen;
2246: icx_util.copyright;
2247: js.scriptOpen;
2248:

Line 2245: htp.headOpen;

2241: v_money_fmt_mask := FND_CURRENCY.GET_FORMAT_MASK(v_currency,30);
2242:
2243:
2244: htp.htmlOpen;
2245: htp.headOpen;
2246: icx_util.copyright;
2247: js.scriptOpen;
2248:
2249: js.replaceDBQuote;

Line 2299: htp.headClose;

2295: --add by alex
2296: addAttachmentScript;
2297:
2298: js.scriptClose;
2299: htp.headClose;
2300:
2301: htp.bodyOpen('','BGCOLOR="#CCFFFF" onLoad="parent.parent.winOpen(''nav'', ''my_order'')"');
2302:
2303: htp.p('');

Line 2301: htp.bodyOpen('','BGCOLOR="#CCFFFF" onLoad="parent.parent.winOpen(''nav'', ''my_order'')"');

2297:
2298: js.scriptClose;
2299: htp.headClose;
2300:
2301: htp.bodyOpen('','BGCOLOR="#CCFFFF" onLoad="parent.parent.winOpen(''nav'', ''my_order'')"');
2302:
2303: htp.p('');
2304: htp.formHidden('n_org',n_org);
2305: htp.formHidden('n_emergency',n_emergency);

Line 2303: htp.p('');

2299: htp.headClose;
2300:
2301: htp.bodyOpen('','BGCOLOR="#CCFFFF" onLoad="parent.parent.winOpen(''nav'', ''my_order'')"');
2302:
2303: htp.p('');
2304: htp.formHidden('n_org',n_org);
2305: htp.formHidden('n_emergency',n_emergency);
2306: htp.formHidden('v_po_number',v_po_number);
2307: htp.formHidden('cartId',n_cart_id);

Line 2304: htp.formHidden('n_org',n_org);

2300:
2301: htp.bodyOpen('','BGCOLOR="#CCFFFF" onLoad="parent.parent.winOpen(''nav'', ''my_order'')"');
2302:
2303: htp.p('');
2304: htp.formHidden('n_org',n_org);
2305: htp.formHidden('n_emergency',n_emergency);
2306: htp.formHidden('v_po_number',v_po_number);
2307: htp.formHidden('cartId',n_cart_id);
2308: htp.formHidden('cartLineId','');

Line 2305: htp.formHidden('n_emergency',n_emergency);

2301: htp.bodyOpen('','BGCOLOR="#CCFFFF" onLoad="parent.parent.winOpen(''nav'', ''my_order'')"');
2302:
2303: htp.p('');
2304: htp.formHidden('n_org',n_org);
2305: htp.formHidden('n_emergency',n_emergency);
2306: htp.formHidden('v_po_number',v_po_number);
2307: htp.formHidden('cartId',n_cart_id);
2308: htp.formHidden('cartLineId','');
2309: htp.formHidden('cartLineAction','');

Line 2306: htp.formHidden('v_po_number',v_po_number);

2302:
2303: htp.p('');
2304: htp.formHidden('n_org',n_org);
2305: htp.formHidden('n_emergency',n_emergency);
2306: htp.formHidden('v_po_number',v_po_number);
2307: htp.formHidden('cartId',n_cart_id);
2308: htp.formHidden('cartLineId','');
2309: htp.formHidden('cartLineAction','');
2310: htp.formHidden('itemCount',1);

Line 2307: htp.formHidden('cartId',n_cart_id);

2303: htp.p('');
2304: htp.formHidden('n_org',n_org);
2305: htp.formHidden('n_emergency',n_emergency);
2306: htp.formHidden('v_po_number',v_po_number);
2307: htp.formHidden('cartId',n_cart_id);
2308: htp.formHidden('cartLineId','');
2309: htp.formHidden('cartLineAction','');
2310: htp.formHidden('itemCount',1);
2311: htp.p('');

Line 2308: htp.formHidden('cartLineId','');

2304: htp.formHidden('n_org',n_org);
2305: htp.formHidden('n_emergency',n_emergency);
2306: htp.formHidden('v_po_number',v_po_number);
2307: htp.formHidden('cartId',n_cart_id);
2308: htp.formHidden('cartLineId','');
2309: htp.formHidden('cartLineAction','');
2310: htp.formHidden('itemCount',1);
2311: htp.p('');
2312:

Line 2309: htp.formHidden('cartLineAction','');

2305: htp.formHidden('n_emergency',n_emergency);
2306: htp.formHidden('v_po_number',v_po_number);
2307: htp.formHidden('cartId',n_cart_id);
2308: htp.formHidden('cartLineId','');
2309: htp.formHidden('cartLineAction','');
2310: htp.formHidden('itemCount',1);
2311: htp.p('');
2312:
2313: --add by alex

Line 2310: htp.formHidden('itemCount',1);

2306: htp.formHidden('v_po_number',v_po_number);
2307: htp.formHidden('cartId',n_cart_id);
2308: htp.formHidden('cartLineId','');
2309: htp.formHidden('cartLineAction','');
2310: htp.formHidden('itemCount',1);
2311: htp.p('');
2312:
2313: --add by alex
2314: htp.p('
');

Line 2311: htp.p('');

2307: htp.formHidden('cartId',n_cart_id);
2308: htp.formHidden('cartLineId','');
2309: htp.formHidden('cartLineAction','');
2310: htp.formHidden('itemCount',1);
2311: htp.p('');
2312:
2313: --add by alex
2314: htp.p('
');
2315: htp.formHidden('function_name', 'ICX_REQS');

Line 2314: htp.p('');

2310: htp.formHidden('itemCount',1);
2311: htp.p('');
2312:
2313: --add by alex
2314: htp.p('
');
2315: htp.formHidden('function_name', 'ICX_REQS');
2316: htp.formHidden('entity_name', 'REQ_HEADERS');
2317: htp.formHidden('pk1_value', '');
2318: htp.formHidden('pk2_value', '');

Line 2315: htp.formHidden('function_name', 'ICX_REQS');

2311: htp.p('');
2312:
2313: --add by alex
2314: htp.p('
');
2315: htp.formHidden('function_name', 'ICX_REQS');
2316: htp.formHidden('entity_name', 'REQ_HEADERS');
2317: htp.formHidden('pk1_value', '');
2318: htp.formHidden('pk2_value', '');
2319: htp.formHidden('pk3_value','');

Line 2316: htp.formHidden('entity_name', 'REQ_HEADERS');

2312:
2313: --add by alex
2314: htp.p('');
2315: htp.formHidden('function_name', 'ICX_REQS');
2316: htp.formHidden('entity_name', 'REQ_HEADERS');
2317: htp.formHidden('pk1_value', '');
2318: htp.formHidden('pk2_value', '');
2319: htp.formHidden('pk3_value','');
2320: htp.formHidden('pk4_value', '');

Line 2317: htp.formHidden('pk1_value', '');

2313: --add by alex
2314: htp.p('');
2315: htp.formHidden('function_name', 'ICX_REQS');
2316: htp.formHidden('entity_name', 'REQ_HEADERS');
2317: htp.formHidden('pk1_value', '');
2318: htp.formHidden('pk2_value', '');
2319: htp.formHidden('pk3_value','');
2320: htp.formHidden('pk4_value', '');
2321: htp.formHidden('pk5_value', '');

Line 2318: htp.formHidden('pk2_value', '');

2314: htp.p('');
2315: htp.formHidden('function_name', 'ICX_REQS');
2316: htp.formHidden('entity_name', 'REQ_HEADERS');
2317: htp.formHidden('pk1_value', '');
2318: htp.formHidden('pk2_value', '');
2319: htp.formHidden('pk3_value','');
2320: htp.formHidden('pk4_value', '');
2321: htp.formHidden('pk5_value', '');
2322: htp.formHidden('from_url', '');

Line 2319: htp.formHidden('pk3_value','');

2315: htp.formHidden('function_name', 'ICX_REQS');
2316: htp.formHidden('entity_name', 'REQ_HEADERS');
2317: htp.formHidden('pk1_value', '');
2318: htp.formHidden('pk2_value', '');
2319: htp.formHidden('pk3_value','');
2320: htp.formHidden('pk4_value', '');
2321: htp.formHidden('pk5_value', '');
2322: htp.formHidden('from_url', '');
2323: htp.formHidden('query_only', 'N');

Line 2320: htp.formHidden('pk4_value', '');

2316: htp.formHidden('entity_name', 'REQ_HEADERS');
2317: htp.formHidden('pk1_value', '');
2318: htp.formHidden('pk2_value', '');
2319: htp.formHidden('pk3_value','');
2320: htp.formHidden('pk4_value', '');
2321: htp.formHidden('pk5_value', '');
2322: htp.formHidden('from_url', '');
2323: htp.formHidden('query_only', 'N');
2324: htp.p('');

Line 2321: htp.formHidden('pk5_value', '');

2317: htp.formHidden('pk1_value', '');
2318: htp.formHidden('pk2_value', '');
2319: htp.formHidden('pk3_value','');
2320: htp.formHidden('pk4_value', '');
2321: htp.formHidden('pk5_value', '');
2322: htp.formHidden('from_url', '');
2323: htp.formHidden('query_only', 'N');
2324: htp.p('');
2325:

Line 2322: htp.formHidden('from_url', '');

2318: htp.formHidden('pk2_value', '');
2319: htp.formHidden('pk3_value','');
2320: htp.formHidden('pk4_value', '');
2321: htp.formHidden('pk5_value', '');
2322: htp.formHidden('from_url', '');
2323: htp.formHidden('query_only', 'N');
2324: htp.p('');
2325:
2326:

Line 2323: htp.formHidden('query_only', 'N');

2319: htp.formHidden('pk3_value','');
2320: htp.formHidden('pk4_value', '');
2321: htp.formHidden('pk5_value', '');
2322: htp.formHidden('from_url', '');
2323: htp.formHidden('query_only', 'N');
2324: htp.p('');
2325:
2326:
2327: l_pos := 0;

Line 2324: htp.p('');

2320: htp.formHidden('pk4_value', '');
2321: htp.formHidden('pk5_value', '');
2322: htp.formHidden('from_url', '');
2323: htp.formHidden('query_only', 'N');
2324: htp.p('');
2325:
2326:
2327: l_pos := 0;
2328: htp.p('
');

Line 2328: htp.p('');

2324: htp.p('');
2325:
2326:
2327: l_pos := 0;
2328: htp.p('
');
2329: printHiddenflds(shopper_id,v_cart_id,v_header_region,v_lines_region,l_pos);
2330: htp.p('');
2331:
2332: htp.p('
');

Line 2330: htp.p('');

2326:
2327: l_pos := 0;
2328: htp.p('
');
2329: printHiddenflds(shopper_id,v_cart_id,v_header_region,v_lines_region,l_pos);
2330: htp.p('');
2331:
2332: htp.p('
');
2333:
2334: --debug

Line 2332: htp.p('');

2328: htp.p('');
2329: printHiddenflds(shopper_id,v_cart_id,v_header_region,v_lines_region,l_pos);
2330: htp.p('');
2331:
2332: htp.p('
');
2333:
2334: --debug
2335: l_session_id := to_number(icx_sec.getID(icx_sec.PV_SESSION_ID));
2336: --insert into debug_timings values (1006, l_session_id,

Line 2416: htp.p('resetItemCount(document.LINE.itemCount)');

2412:
2413: if ak_query_pkg.g_results_table.COUNT = 0 then
2414:
2415: js.scriptOpen;
2416: htp.p('resetItemCount(document.LINE.itemCount)');
2417: js.scriptClose;
2418:
2419: FND_MESSAGE.SET_NAME('ICX','ICX_CART_EMPTY');
2420: htp.p('
' || FND_MESSAGE.GET || '
');

Line 2420: htp.p('
' || FND_MESSAGE.GET || '
');

2416: htp.p('resetItemCount(document.LINE.itemCount)');
2417: js.scriptClose;
2418:
2419: FND_MESSAGE.SET_NAME('ICX','ICX_CART_EMPTY');
2420: htp.p('
' || FND_MESSAGE.GET || '
');
2421:
2422: else
2423:
2424:

Line 2440: htp.p('
');
1639: end if;
1640: --Bold

Line 1638: htp.p('');
1659:
1660: end if;
1661:

Line 1658: htp.p('');

1654: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1655: htp.p('');
1656: end if;
1657: htp.p('

');

1634:
1635: htp.p('
');
1636: --dc htp.p('else');
1637: else
1638: htp.p('');
1659:

Line 1657: htp.p('
');
1639: end if;
1640: --Bold
1641: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1642: htp.p('');

Line 1642: htp.p('');

1638: htp.p('
');
1639: end if;
1640: --Bold
1641: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1642: htp.p('');
1643: end if;
1644: --Italics
1645: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1646: htp.p('');

Line 1646: htp.p('');

1642: htp.p('');
1643: end if;
1644: --Italics
1645: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1646: htp.p('');
1647: end if;
1648: htp.p(l_requestor_name || '
' );
1649: --Bold
1650: if ak_query_pkg.g_items_table(i).bold = 'Y' then

Line 1648: htp.p(l_requestor_name || '
' );

1644: --Italics
1645: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1646: htp.p('');
1647: end if;
1648: htp.p(l_requestor_name || '
' );
1649: --Bold
1650: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1651: htp.p('
');
1652: end if;

Line 1651: htp.p('');

1647: end if;
1648: htp.p(l_requestor_name || '
' );
1649: --Bold
1650: if ak_query_pkg.g_items_table(i).bold = 'Y' then
1651: htp.p('');
1652: end if;
1653: --Italics
1654: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1655: htp.p('
');

Line 1655: htp.p('');

1651: htp.p('');
1652: end if;
1653: --Italics
1654: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1655: htp.p('
');
1656: end if;
1657: htp.p('

');
1658: htp.p('

');

1653: --Italics
1654: if ak_query_pkg.g_items_table(i).italic = 'Y' then
1655: htp.p('');
1656: end if;
1657: htp.p('

');
1658: htp.p('

');
1658: htp.p('
' || icx_util.replace_quotes(ak_query_pkg.g_items_table(i).attribute_label_long) || '
' || icx_util.replace_quotes(ak_query_pkg.g_items_table(i).attribute_label_long) || '";');
1667:
1668:

Line 1666: htp.p('result += "
";');

1662: elsif ak_query_pkg.g_items_table(i).attribute_code = 'ICX_PO_BUTTON' then
1663: /*
1664: htp.p('result += "

' || icx_util.replace_quotes(ak_query_pkg.g_items_table(i).attribute_label_long) || ' ";');
1667:
1668:
1669: --dbutton := icx_util.DynamicButton(P_ButtonText => 'Get a PO Number',
1670: -- P_ImageFileName => 'FNDBNEW.gif',

Line 1676: --htp.p('result += "' || dbutton || '";');

1672: -- P_HyperTextCall => 'javascript:get_po()',
1673: -- P_LanguageCode => v_language,
1674: -- P_JavaScriptFlag => FALSE);
1675: --dbutton := replace( dbutton, '"', '\"' );
1676: --htp.p('result += "' || dbutton || '";');
1677:
1678:
1679: htp.p('result += " 1680: || ''' SIZE=' || ak_query_pkg.g_items_table(i).display_value_length

Line 1679: htp.p('result += "

1675: --dbutton := replace( dbutton, '"', '\"' );
1676: --htp.p('result += "' || dbutton || '";');
1677:
1678:
1679: htp.p('result += " 1680: || ''' SIZE=' || ak_query_pkg.g_items_table(i).display_value_length
1681: || ' VALUE=''' || icx_util.replace_quotes(ak_query_pkg.g_items_table(i).attribute_code) || ''' onClick=''get_po()''>";');
1682:
1683: l_pos := l_pos + 1;

Line 1684: htp.p('result += "
'

1707: NULL, NULL,
1708: attachment_status);
1709:
1710:
1711: htp.p('

'
1712: || ak_query_pkg.g_items_table(i).attribute_label_long || '
');

2436:
2437:
2438: end if;
2439:
2440: htp.p('

');
2441:
2442: htp.bodyClose;
2443: htp.htmlClose;
2444:

Line 2442: htp.bodyClose;

2438: end if;
2439:
2440: htp.p('

');
2441:
2442: htp.bodyClose;
2443: htp.htmlClose;
2444:
2445: end if;
2446:

Line 2443: htp.htmlClose;

2439:
2440: htp.p('

');
2441:
2442: htp.bodyClose;
2443: htp.htmlClose;
2444:
2445: end if;
2446:
2447: end my_order1;

Line 2467: htp.htmlOpen;

2463:
2464: if icx_sec.validatesession then
2465: v_lang := icx_sec.getID(icx_sec.PV_LANGUAGE_CODE);
2466:
2467: htp.htmlOpen;
2468: htp.headOpen;
2469:
2470: js.ScriptOpen;
2471: submit_line_actions;

Line 2468: htp.headOpen;

2464: if icx_sec.validatesession then
2465: v_lang := icx_sec.getID(icx_sec.PV_LANGUAGE_CODE);
2466:
2467: htp.htmlOpen;
2468: htp.headOpen;
2469:
2470: js.ScriptOpen;
2471: submit_line_actions;
2472: js.ScriptClose;

Line 2474: htp.headClose;

2470: js.ScriptOpen;
2471: submit_line_actions;
2472: js.ScriptClose;
2473:
2474: htp.headClose;
2475: htp.bodyOpen('','BGCOLOR="#CCFFFF" onLoad="parent.parent.winOpen(''nav'',''my_order'');"');
2476:
2477:
2478: htp.p('

');

Line 2475: htp.bodyOpen('','BGCOLOR="#CCFFFF" onLoad="parent.parent.winOpen(''nav'',''my_order'');"');

2471: submit_line_actions;
2472: js.ScriptClose;
2473:
2474: htp.headClose;
2475: htp.bodyOpen('','BGCOLOR="#CCFFFF" onLoad="parent.parent.winOpen(''nav'',''my_order'');"');
2476:
2477:
2478: htp.p('');
2479: htp.tableOpen('border=0');

Line 2478: htp.p('');

2474: htp.headClose;
2475: htp.bodyOpen('','BGCOLOR="#CCFFFF" onLoad="parent.parent.winOpen(''nav'',''my_order'');"');
2476:
2477:
2478: htp.p('');
2479: htp.tableOpen('border=0');
2480: htp.tableRowOpen;
2481: FND_MESSAGE.SET_NAME('MRP','EC_ORDER');
2482: htp.p('

');

Line 2479: htp.tableOpen('border=0');

2475: htp.bodyOpen('','BGCOLOR="#CCFFFF" onLoad="parent.parent.winOpen(''nav'',''my_order'');"');
2476:
2477:
2478: htp.p('');
2479: htp.tableOpen('border=0');
2480: htp.tableRowOpen;
2481: FND_MESSAGE.SET_NAME('MRP','EC_ORDER');
2482: htp.p('

');
2483: FND_MESSAGE.SET_NAME('ICX','ICX_PLACE_ORDER');

Line 2480: htp.tableRowOpen;

2476:
2477:
2478: htp.p('');
2479: htp.tableOpen('border=0');
2480: htp.tableRowOpen;
2481: FND_MESSAGE.SET_NAME('MRP','EC_ORDER');
2482: htp.p('

');
2483: FND_MESSAGE.SET_NAME('ICX','ICX_PLACE_ORDER');
2484: v_order_button_text := FND_MESSAGE.GET;

Line 2482: htp.p('
');

2478: htp.p('');
2479: htp.tableOpen('border=0');
2480: htp.tableRowOpen;
2481: FND_MESSAGE.SET_NAME('MRP','EC_ORDER');
2482: htp.p('

');
2483: FND_MESSAGE.SET_NAME('ICX','ICX_PLACE_ORDER');
2484: v_order_button_text := FND_MESSAGE.GET;
2485: icx_util.DynamicButton(P_ButtonText => v_order_button_text,
2486: P_ImageFileName => 'FNDBSBMT.gif',

Line 2491: htp.p('
');
2494: FND_MESSAGE.SET_NAME('ICX','ICX_SAVE');
2495: v_order_button_text := FND_MESSAGE.GET;

Line 2493: htp.p('
');

2489: P_LanguageCode => v_lang,
2490: P_JavaScriptFlag => FALSE);
2491: htp.p('

');
2494: FND_MESSAGE.SET_NAME('ICX','ICX_SAVE');
2495: v_order_button_text := FND_MESSAGE.GET;
2496: icx_util.DynamicButton(P_ButtonText => v_order_button_text,
2497: P_ImageFileName => 'FNDBSAVE.gif',

Line 2502: htp.p('
');
2505: FND_MESSAGE.SET_NAME('ICX','ICX_RQS_DELETE_ORDER');
2506: v_order_button_text := FND_MESSAGE.GET;

Line 2504: htp.p('
');

2500: P_LanguageCode => v_lang,
2501: P_JavaScriptFlag => FALSE);
2502: htp.p('

');
2505: FND_MESSAGE.SET_NAME('ICX','ICX_RQS_DELETE_ORDER');
2506: v_order_button_text := FND_MESSAGE.GET;
2507: icx_util.DynamicButton(P_ButtonText => v_order_button_text,
2508: P_ImageFileName => 'FNDBCNCL.gif',

Line 2513: htp.p('
');

Line 2515: htp.p('
');
2518: FND_MESSAGE.SET_NAME('ICX','ICX_APPLY_CHANGES');
2519: v_order_button_text := FND_MESSAGE.GET;

Line 2517: htp.p('
');

2513: htp.p('

');
2518: FND_MESSAGE.SET_NAME('ICX','ICX_APPLY_CHANGES');
2519: v_order_button_text := FND_MESSAGE.GET;
2520: icx_util.DynamicButton(P_ButtonText => v_order_button_text,
2521: P_ImageFileName => 'FNDBAPLY.gif',

Line 2526: htp.p('