DBA Data[Home] [Help]

APPS.AP_WEB_UTILITIES_PKG dependencies on HTP

Line 116: htp.htmlOpen;

112: -- DisplayException displays web server exception
113: ------------------------------------------------------------------------
114: PROCEDURE DisplayException (P_ErrorText Long) IS
115: BEGIN
116: htp.htmlOpen;
117: FND_MESSAGE.SET_NAME('SQLAP', 'AP_WEB_GO_BACK');
118: htp.p('');
119: htp.p(replace(P_ErrorText,'
120: ',' '));

Line 118: htp.p('');

114: PROCEDURE DisplayException (P_ErrorText Long) IS
115: BEGIN
116: htp.htmlOpen;
117: FND_MESSAGE.SET_NAME('SQLAP', 'AP_WEB_GO_BACK');
118: htp.p('');
119: htp.p(replace(P_ErrorText,'
120: ',' '));
121: htp.p('

');
122: htp.p('');
119: htp.p(replace(P_ErrorText,'
120: ',' '));
121: htp.p('

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

Line 121: htp.p('

');

117: FND_MESSAGE.SET_NAME('SQLAP', 'AP_WEB_GO_BACK');
118: htp.p('');
119: htp.p(replace(P_ErrorText,'
120: ',' '));
121: htp.p('

');
122: htp.p('');
124: htp.p(fnd_message.get||'
');
125: htp.p('');

Line 122: htp.p('');
119: htp.p(replace(P_ErrorText,'
120: ',' '));
121: htp.p('

');
122: htp.p('');
124: htp.p(fnd_message.get||'
');
125: htp.p('');
126: htp.htmlClose;

Line 124: htp.p(fnd_message.get||'');

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

');
122: htp.p('');
124: htp.p(fnd_message.get||'
');
125: htp.p('');
126: htp.htmlClose;
127: EXCEPTION
128: WHEN OTHERS THEN

Line 125: htp.p('');

121: htp.p('

');
122: htp.p('');
124: htp.p(fnd_message.get||'
');
125: htp.p('');
126: htp.htmlClose;
127: EXCEPTION
128: WHEN OTHERS THEN
129: BEGIN

Line 126: htp.htmlClose;

122: htp.p('');
124: htp.p(fnd_message.get||'');
125: htp.p('');
126: htp.htmlClose;
127: EXCEPTION
128: WHEN OTHERS THEN
129: BEGIN
130: FND_MESSAGE.SET_NAME('SQLAP','AP_DEBUG');

Line 185: htp.p('var gC=g_arrCurrency;');

181:
182: BEGIN
183:
184: l_date_format := icx_sec.getID(icx_sec.PV_DATE_FORMAT);
185: htp.p('var gC=g_arrCurrency;');
186: IF (AP_WEB_DB_COUNTRY_PKG.GetCurrencyInfoCursor(l_curr_cursor)) THEN
187: LOOP
188: FETCH l_curr_cursor INTO l_curr_code,
189: l_curr_name,

Line 196: htp.p('gC[' || to_char(l_curr_count) ||

192: l_derive_factor,
193: l_derive_effective;
194: EXIT WHEN l_curr_cursor%NOTFOUND;
195: -- g_arrCurrency is zero-based
196: htp.p('gC[' || to_char(l_curr_count) ||
197: ']=new top.objCurrencyInfo("' || l_curr_code || '","'
198: || l_curr_name || '",'|| to_char(l_precision) || ','
199: || nvl(to_char(l_minimum_acct_unit),'""') || ','
200: || nvl(to_char(l_derive_factor), '0') || ','

Line 209: htp.p('gC['||to_char(l_curr_count) || ']=new top.objCurrencyInfo("OTHER","OTHER",2,"",0,"");');

205:
206: l_curr_count := l_curr_count + 1;
207:
208: END LOOP;
209: htp.p('gC['||to_char(l_curr_count) || ']=new top.objCurrencyInfo("OTHER","OTHER",2,"",0,"");');
210:
211: -- total number of entries in currencyArray
212: htp.p('g_arrCurrency.len = '|| to_char(l_curr_count+1) || ';
213: top.objExpenseReport.header.setReimbursCurr(top.g_arrCurrency[0].currency);

Line 212: htp.p('g_arrCurrency.len = '|| to_char(l_curr_count+1) || ';

208: END LOOP;
209: htp.p('gC['||to_char(l_curr_count) || ']=new top.objCurrencyInfo("OTHER","OTHER",2,"",0,"");');
210:
211: -- total number of entries in currencyArray
212: htp.p('g_arrCurrency.len = '|| to_char(l_curr_count+1) || ';
213: top.objExpenseReport.header.setReimbursCurr(top.g_arrCurrency[0].currency);
214: ');
215: END IF;
216: CLOSE l_curr_cursor;

Line 232: htp.p(' function MakeArray (n)

228: ----------------------
229: PROCEDURE MakeArray IS
230: ----------------------
231: BEGIN
232: htp.p(' function MakeArray (n)
233: {
234: this.len = n;
235: for (var i=1; i<=n; i++)
236: this[i] = 0;

Line 274: htp.p('

270: ----------------------------------------------------------
271:
272: BEGIN
273:
274: htp.p('
275: if (top.opener)
276: parent.window.close();
277: else{
278: if (g_dcdName.charAt(g_dcdName.length-1) == "/") l_dcdName = g_dcdName.substring(0,g_dcdName.length-1);

Line 291: htp.p('

287: ----------------------------------------------------------
288:
289: BEGIN
290:
291: htp.p('
292: function CancelExpenseReport() {
293: ');
294:
295: FND_MESSAGE.SET_NAME('SQLAP', 'AP_WEB_CANCEL_REPORT');

Line 297: htp.p('

293: ');
294:
295: FND_MESSAGE.SET_NAME('SQLAP', 'AP_WEB_CANCEL_REPORT');
296:
297: htp.p('
298: if (!confirm("'||AP_WEB_DB_UTIL_PKG.jsPrepString(fnd_message.get, TRUE)||'"))
299: return;
300: ');
301: ExitExpenseReport;

Line 302: htp.p('

298: if (!confirm("'||AP_WEB_DB_UTIL_PKG.jsPrepString(fnd_message.get, TRUE)||'"))
299: return;
300: ');
301: ExitExpenseReport;
302: htp.p('
303: }
304: ');
305: END;
306:

Line 309: htp.p('function goBack(){

305: END;
306:
307: PROCEDURE GoBack IS
308: BEGIN
309: htp.p('function goBack(){
310: history.back();
311: }');
312: END GoBack;
313:

Line 322: htp.p('function SetReceiptWarningError(index, w_message, w_field, e_message, e_field) {

318: IS
319: BEGIN
320:
321: -- determine receipt offset on client
322: htp.p('function SetReceiptWarningError(index, w_message, w_field, e_message, e_field) {
323: for(var i=1;i<=parent.ArrayCount;i++) {
324: if (top.receipt[i].ReceiptNumber == index) {
325: top.receipt[i].warning_message = w_message;
326: top.receipt[i].warning_field = w_field;

Line 438: htp.p(' function justifFlagElement(exp_parameter_id, exp_parameter_name, justif_req_flag)

434: -------------------------------
435: PROCEDURE JustifFlagElement IS
436: -------------------------------
437: BEGIN
438: htp.p(' function justifFlagElement(exp_parameter_id, exp_parameter_name, justif_req_flag)
439: {
440: this.parameter_id = exp_parameter_id;
441: this.parameter_name = exp_parameter_name;
442: this.justif_req_flag = justif_req_flag;

Line 450: htp.p('function retrieveJustifFlag(parameterId)

446: -------------------------------
447: PROCEDURE RetrieveJustifFlag IS
448: -------------------------------
449: BEGIN
450: htp.p('function retrieveJustifFlag(parameterId)
451: {
452: for (var i=0; i < top.justifFlagArray.len; i++){
453:
454: if (top.justifFlagArray[i].parameter_id == parameterId)

Line 476: htp.p('function retrieveJustifFlagIndex(parameterId)

472: ------------------------------------
473: PROCEDURE RetrieveJustifFlagIndex IS
474: ------------------------------------
475: BEGIN
476: htp.p('function retrieveJustifFlagIndex(parameterId)
477: {
478: for (var i=0; i < top.justifFlagArray.len; i++){
479:
480: if (top.justifFlagArray[i].parameter_id == parameterId)

Line 501: htp.p(' function currencyInfo(currency, name, precision,

497: --------------------------
498: PROCEDURE CurrencyInfo IS
499: --------------------------
500: BEGIN
501: htp.p(' function currencyInfo(currency, name, precision,
502: minimum_acct_unit,
503: euro_rate, effective_date)
504: {
505: this.currency = currency;

Line 530: htp.p(' function retrieveCurrencyIndex(currency)

526: -----------------------------------
527: PROCEDURE RetrieveCurrencyIndex IS
528: -----------------------------------
529: BEGIN
530: htp.p(' function retrieveCurrencyIndex(currency)
531: {
532: var high = top.currencyArray.len - 1;
533: var low = 0;
534: var mid;

Line 577: htp.p('

573: l_allow_credit_lines := FALSE;
574: end if;
575:
576: if (l_allow_credit_lines) then
577: htp.p('
578:
579:
580:
581: function moneyFormat(input, currency) {

Line 652: htp.p('function moneyFormat(input, currency) {

648:
649: }
650: ');
651: else
652: htp.p('function moneyFormat(input, currency) {
653:
654: var index = top.retrieveCurrencyIndex(currency);
655: var minimum_acct_unit = top.currencyArray[index].minimum_acct_unit;
656: var precision = top.currencyArray[index].precision;

Line 749: htp.p('function moneyFormat2(input) {

745: -- Used for formatting the currency exchange rate.
746: l_user_agent varchar2(100);
747:
748: BEGIN
749: htp.p('function moneyFormat2(input) {
750:
751: var V_input = input + "";
752: var tmp_input = eval(V_input); ');
753:

Line 758: htp.p('if (tmp_input <= 0.00001)

754: GetUserAgent(l_user_agent);
755:
756: -- MSIE starts to use scientific notation when the number is less than .00001.
757: IF (l_user_agent = 'IE30') THEN
758: htp.p('if (tmp_input <= 0.00001)
759: return V_input; ');
760: END IF;
761:
762: htp.p('if (V_input == "")

Line 762: htp.p('if (V_input == "")

758: htp.p('if (tmp_input <= 0.00001)
759: return V_input; ');
760: END IF;
761:
762: htp.p('if (V_input == "")
763: return("");
764:
765: if (tmp_input >= 100)
766: precision = 2;

Line 862: htp.p('function overrideRequired() { ');

858: --------------------------------
859:
860: BEGIN
861:
862: htp.p('function overrideRequired() { ');
863: IF (p_overrideReq = 'Y') THEN
864: htp.p('return true;');
865: ELSIF (p_apprReqCC = 'Y') THEN
866: htp.p('if ((top.ccChanged) || (top.ccOrig != top.tabs.document.startReportForm.CostCenter.value))

Line 864: htp.p('return true;');

860: BEGIN
861:
862: htp.p('function overrideRequired() { ');
863: IF (p_overrideReq = 'Y') THEN
864: htp.p('return true;');
865: ELSIF (p_apprReqCC = 'Y') THEN
866: htp.p('if ((top.ccChanged) || (top.ccOrig != top.tabs.document.startReportForm.CostCenter.value))
867: return true;
868: else return false; ');

Line 866: htp.p('if ((top.ccChanged) || (top.ccOrig != top.tabs.document.startReportForm.CostCenter.value))

862: htp.p('function overrideRequired() { ');
863: IF (p_overrideReq = 'Y') THEN
864: htp.p('return true;');
865: ELSIF (p_apprReqCC = 'Y') THEN
866: htp.p('if ((top.ccChanged) || (top.ccOrig != top.tabs.document.startReportForm.CostCenter.value))
867: return true;
868: else return false; ');
869: ELSE
870: htp.p('return false;');

Line 870: htp.p('return false;');

866: htp.p('if ((top.ccChanged) || (top.ccOrig != top.tabs.document.startReportForm.CostCenter.value))
867: return true;
868: else return false; ');
869: ELSE
870: htp.p('return false;');
871: END IF;
872: htp.p('}');
873:
874: EXCEPTION

Line 872: htp.p('}');

868: else return false; ');
869: ELSE
870: htp.p('return false;');
871: END IF;
872: htp.p('}');
873:
874: EXCEPTION
875: WHEN OTHERS THEN
876: BEGIN

Line 1137: -- htp.p('receipt contains error ' || p_receiptnumber || ', ' || p_messagearray.count

1133:
1134: IS
1135: BEGIN
1136:
1137: -- htp.p('receipt contains error ' || p_receiptnumber || ', ' || p_messagearray.count
1138: -- || ', ' || p_messagearray(p_receiptnumber).error_text || '
');
1139: --chiho:1330572:
1140: IF ( P_MessageArray.EXISTS(P_ReceiptNumber) ) THEN
1141:

Line 1580: htp.p(

1576: I INTEGER;
1577: BEGIN
1578: FOR I IN 1..P_SrcReceiptStack.count LOOP
1579:
1580: htp.p(
1581: to_char(I) || ', ' ||
1582: P_SrcReceiptStack(I).error_text || ', ' ||
1583: P_SrcReceiptStack(I).error_fields || '. ' ||
1584: P_SrcReceiptStack(I).warning_text || ', ' ||

Line 2138: htp.p('function fStringToDateCheckNull(date_string, error_msg) {

2134:
2135:
2136: END IF; /* IF (l_mon_format) */
2137:
2138: htp.p('function fStringToDateCheckNull(date_string, error_msg) {
2139: if (date_string == "") {
2140: alert("' || l_invalid_date_msg || '");
2141: return null;
2142: }

Line 2148: htp.p('function fStringToDate(date_string, error_msg) {

2144: }');
2145:
2146: -- stringToDate Javascript Function.
2147:
2148: htp.p('function fStringToDate(date_string, error_msg) {
2149: if (date_string == "") {
2150: return null;
2151: }
2152: var day = null;

Line 2188: htp.p('

2184: // should not allow user to enter year more than 4 digits when year format is
2185: // set to YYYY. should not allow user to enter more than 2 digits when year
2186: // format is set to YY ');
2187: if ((l_index_y1-1) <> 0) then
2188: htp.p('
2189: if (year != fRtrim(year_1)) {
2190: alert("' || l_invalid_date_msg || '");
2191: return null;
2192: } ');

Line 2194: htp.p('

2190: alert("' || l_invalid_date_msg || '");
2191: return null;
2192: } ');
2193: end if;
2194: htp.p('
2195:
2196: if (!((year.length == 2) || (year.length == 4))) {
2197: alert("' || l_invalid_date_msg || '");
2198: return null;

Line 2204: htp.p('if (tmp_month.toUpperCase() == "' || l_jan || '") {

2200:
2201: ');
2202:
2203: IF (l_mon_format) THEN
2204: htp.p('if (tmp_month.toUpperCase() == "' || l_jan || '") {
2205: month = "1";
2206: } else if (tmp_month.toUpperCase() == "' || l_feb || '") {
2207: month = "2";
2208: } else if (tmp_month.toUpperCase() == "' || l_mar || '") {

Line 2235: htp.p('

2231: return null;
2232: }');
2233:
2234: ELSE
2235: htp.p('
2236: if ((tmp_month.length == 2) && (tmp_month.charAt(0) == "0")) {
2237: month = tmp_month.substring(1,2);
2238: } else {
2239: month = tmp_month;

Line 2244: htp.p('

2240: }');
2241:
2242: END IF;
2243:
2244: htp.p('
2245:
2246: if ((tmp_day.length == 2) && (tmp_day.charAt(0) == "0")) {
2247: day = tmp_day.substring(1,2);
2248:

Line 2312: htp.p('function fStringToDate_DDMMRRRR(date_string) {

2308:
2309: ');
2310:
2311: -- stringToDate_DDMMRRRR Javascript Function.
2312: htp.p('function fStringToDate_DDMMRRRR(date_string) {
2313:
2314: if (date_string == "") {
2315: return null;
2316: }

Line 2337: htp.p('

2333:
2334: ');
2335:
2336:
2337: htp.p('
2338: if ((month.length == 2) && (month.charAt(0) == "0")) {
2339: month = month.substring(1,2);
2340:
2341: }

Line 2389: htp.p('function fDateToString(dateobj) {

2385: ');
2386:
2387:
2388: -- dateToString Javascript function.
2389: htp.p('function fDateToString(dateobj) {
2390: if (!dateobj) return;
2391: var date = dateobj.getDate();
2392: var month;
2393: var tmp_month = dateobj.getMonth();

Line 2398: htp.p('

2394: tmp_month++;
2395: var year = dateobj.getFullYear();
2396: ');
2397: IF (l_mon_format) THEN
2398: htp.p('
2399: if (tmp_month == 1) {
2400: month = "' || l_jan || '";
2401: } else if (tmp_month == 2) {
2402: month = "' || l_feb || '";

Line 2428: htp.p('if (tmp_month <= 9) {

2424:
2425: ELSE -- Not Mon format.
2426:
2427: -- fix month string.
2428: htp.p('if (tmp_month <= 9) {
2429: month = "0" + tmp_month;
2430: } else {
2431: month = tmp_month;
2432: }

Line 2437: htp.p('if (date <= 9) {

2433: ');
2434: END IF;
2435:
2436: -- fix date string
2437: htp.p('if (date <= 9) {
2438: date = "0" + date;
2439: }
2440: ');
2441: htp.p('var result;');

Line 2441: htp.p('var result;');

2437: htp.p('if (date <= 9) {
2438: date = "0" + date;
2439: }
2440: ');
2441: htp.p('var result;');
2442:
2443: -- d m y
2444: IF ((l_index_d1 < l_index_m1) AND (l_index_m1 < l_index_y1)) THEN
2445: htp.p('result = date + "' || l_delimeter || '" + month + "' || l_delimeter || '" + year;');

Line 2445: htp.p('result = date + "' || l_delimeter || '" + month + "' || l_delimeter || '" + year;');

2441: htp.p('var result;');
2442:
2443: -- d m y
2444: IF ((l_index_d1 < l_index_m1) AND (l_index_m1 < l_index_y1)) THEN
2445: htp.p('result = date + "' || l_delimeter || '" + month + "' || l_delimeter || '" + year;');
2446:
2447: -- m d y
2448: ELSIF ((l_index_m1 < l_index_d1) AND (l_index_d1 < l_index_y1)) THEN
2449: htp.p('result = month + "' || l_delimeter || '" + date + "' || l_delimeter || '" + year;');

Line 2449: htp.p('result = month + "' || l_delimeter || '" + date + "' || l_delimeter || '" + year;');

2445: htp.p('result = date + "' || l_delimeter || '" + month + "' || l_delimeter || '" + year;');
2446:
2447: -- m d y
2448: ELSIF ((l_index_m1 < l_index_d1) AND (l_index_d1 < l_index_y1)) THEN
2449: htp.p('result = month + "' || l_delimeter || '" + date + "' || l_delimeter || '" + year;');
2450: -- y m d
2451: ELSIF ((l_index_y1 < l_index_m1) AND (l_index_m1 < l_index_d1)) THEN
2452: htp.p('result = year + "' || l_delimeter || '" + month + "' || l_delimeter || '" + date;');
2453: -- y d m

Line 2452: htp.p('result = year + "' || l_delimeter || '" + month + "' || l_delimeter || '" + date;');

2448: ELSIF ((l_index_m1 < l_index_d1) AND (l_index_d1 < l_index_y1)) THEN
2449: htp.p('result = month + "' || l_delimeter || '" + date + "' || l_delimeter || '" + year;');
2450: -- y m d
2451: ELSIF ((l_index_y1 < l_index_m1) AND (l_index_m1 < l_index_d1)) THEN
2452: htp.p('result = year + "' || l_delimeter || '" + month + "' || l_delimeter || '" + date;');
2453: -- y d m
2454: ELSIF ((l_index_y1 < l_index_d1) AND (l_index_d1 < l_index_m1)) THEN
2455: htp.p('result = year + "' || l_delimeter || '" + date + "' || l_delimeter || '" + month;');
2456: -- m y d Not likely, but...

Line 2455: htp.p('result = year + "' || l_delimeter || '" + date + "' || l_delimeter || '" + month;');

2451: ELSIF ((l_index_y1 < l_index_m1) AND (l_index_m1 < l_index_d1)) THEN
2452: htp.p('result = year + "' || l_delimeter || '" + month + "' || l_delimeter || '" + date;');
2453: -- y d m
2454: ELSIF ((l_index_y1 < l_index_d1) AND (l_index_d1 < l_index_m1)) THEN
2455: htp.p('result = year + "' || l_delimeter || '" + date + "' || l_delimeter || '" + month;');
2456: -- m y d Not likely, but...
2457: ELSIF ((l_index_m1 < l_index_y1) AND (l_index_y1 < l_index_d1)) THEN
2458: htp.p('result = month + "' || l_delimeter || '" + year + "' || l_delimeter || '" + date;');
2459: -- d y m Not likely, but....

Line 2458: htp.p('result = month + "' || l_delimeter || '" + year + "' || l_delimeter || '" + date;');

2454: ELSIF ((l_index_y1 < l_index_d1) AND (l_index_d1 < l_index_m1)) THEN
2455: htp.p('result = year + "' || l_delimeter || '" + date + "' || l_delimeter || '" + month;');
2456: -- m y d Not likely, but...
2457: ELSIF ((l_index_m1 < l_index_y1) AND (l_index_y1 < l_index_d1)) THEN
2458: htp.p('result = month + "' || l_delimeter || '" + year + "' || l_delimeter || '" + date;');
2459: -- d y m Not likely, but....
2460: ELSIF ((l_index_d1 < l_index_y1) AND (l_index_y1 < l_index_m1)) THEN
2461: htp.p('result = date + "' || l_delimeter || '" + year + "' || l_delimeter || '" + month;');
2462: END IF;

Line 2461: htp.p('result = date + "' || l_delimeter || '" + year + "' || l_delimeter || '" + month;');

2457: ELSIF ((l_index_m1 < l_index_y1) AND (l_index_y1 < l_index_d1)) THEN
2458: htp.p('result = month + "' || l_delimeter || '" + year + "' || l_delimeter || '" + date;');
2459: -- d y m Not likely, but....
2460: ELSIF ((l_index_d1 < l_index_y1) AND (l_index_y1 < l_index_m1)) THEN
2461: htp.p('result = date + "' || l_delimeter || '" + year + "' || l_delimeter || '" + month;');
2462: END IF;
2463: htp.p('
2464: return result;
2465: }

Line 2463: htp.p('

2459: -- d y m Not likely, but....
2460: ELSIF ((l_index_d1 < l_index_y1) AND (l_index_y1 < l_index_m1)) THEN
2461: htp.p('result = date + "' || l_delimeter || '" + year + "' || l_delimeter || '" + month;');
2462: END IF;
2463: htp.p('
2464: return result;
2465: }
2466: ');
2467:

Line 2489: htp.p('function determineConversion(recCurr, reimbCurr) {

2485:
2486: BEGIN
2487: l_euro_code := getEuroCode;
2488:
2489: htp.p('function determineConversion(recCurr, reimbCurr) {
2490:
2491: if (recCurr == reimbCurr) {
2492: return 0;
2493: }

Line 2573: htp.p('top.g_bEuroCodeDefined = true');

2569: -----------------------------
2570: l_euro_code AP_WEB_DB_COUNTRY_PKG.curr_currCode;
2571: BEGIN
2572: l_euro_code := GL_CURRENCY_API.get_euro_code();
2573: htp.p('top.g_bEuroCodeDefined = true');
2574: return l_euro_code;
2575:
2576: EXCEPTION
2577: WHEN OTHERS THEN

Line 2578: htp.p('top.g_bEuroCodeDefined = false');

2574: return l_euro_code;
2575:
2576: EXCEPTION
2577: WHEN OTHERS THEN
2578: htp.p('top.g_bEuroCodeDefined = false');
2579: return NULL;
2580: END;
2581:
2582:

Line 2598: htp.p('function isNum(str, showalert){

2594:
2595: fnd_message.set_name('SQLAP', 'AP_WEB_NUMBER_REQUIRED');
2596: l_message := AP_WEB_DB_UTIL_PKG.jsPrepString(fnd_message.get, TRUE);
2597:
2598: htp.p('function isNum(str, showalert){
2599: var ch=str.substring(0,1);
2600:
2601: if((ch<"0" || "9" 2602: if (showalert)

Line 2647: htp.p('function displayHelp(i) {

2643:
2644: BEGIN
2645: v_lang := icx_sec.getID(icx_sec.PV_LANGUAGE_CODE);
2646:
2647: htp.p('function displayHelp(i) {
2648: var helpurl = "";
2649: var baseurl = self.location.protocol + "//" + self.location.host + "/OA_HTML/' || v_lang || '";
2650: if (i == 1)
2651: helpurl = baseurl + "/APWHLEX1.htm";

Line 2683: htp.p('top.DynamicButton("'||AP_WEB_DB_UTIL_PKG.jsPrepString(P_ButtonText)||'",

2679: P_HyperTextCall varchar2,
2680: P_LanguageCode varchar2,
2681: P_JavaScriptFlag boolean) IS
2682: BEGIN
2683: htp.p('top.DynamicButton("'||AP_WEB_DB_UTIL_PKG.jsPrepString(P_ButtonText)||'",
2684: "'||P_ImageFileName||'",
2685: "'||AP_WEB_DB_UTIL_PKG.jsPrepString(P_OnMouseOverText, FALSE, TRUE)||'",
2686: "'||P_HyperTextCall||'",
2687: "'||P_LanguageCode||'",

Line 2703: htp.p('

2699: ----------------------------------------------------------------------
2700: PROCEDURE GenToolbarScript IS
2701: BEGIN
2702: js.scriptOpen;
2703: htp.p('
2704: img_dir = "' || C_IMG_DIR || '";
2705: bName = navigator.appName;
2706: bVer = parseInt(navigator.appVersion);
2707: if (bVer >= 3)

Line 2726: htp.p('

2722: home1.src = img_dir +"FNDIWHO1.gif";
2723:
2724: }');
2725:
2726: htp.p('
2727: var Restorable = false
2728: var Nav4 = ((navigator.appName == "Netscape") && (parseInt(navigator.appVersion) == 4))
2729: var Win32
2730: if (Nav4) {

Line 2783: htp.p('

2779: p_save_disabled_flag BOOLEAN,
2780: p_save_call VARCHAR2)
2781: IS
2782: BEGIN
2783: htp.p('


2784:
2785:

2786: ');
2787:

Line 2788: htp.p('

2784:


2785:

2786: ');
2787:
2788: htp.p('
2789:
2790:
2791:
2792:

Line 2802: htp.p('' || p_title || '

2798:
2799:
2800:


2804:
2804:
');
2801:
2802: htp.p('' || p_title || '
2803:
');
2805:
2806: if (p_save_flag = TRUE) THEN --print the save button

Line 2807: htp.p('

2803:

');
2805:
2806: if (p_save_flag = TRUE) THEN --print the save button
2807: htp.p('
2808: ');
2809: elsif (p_save_disabled_flag = TRUE) THEN --save button is disabled
2810: htp.p('');
2811: end if;

Line 2810: htp.p('');

2806: if (p_save_flag = TRUE) THEN --print the save button
2807: htp.p('
2808:
');
2809: elsif (p_save_disabled_flag = TRUE) THEN --save button is disabled
2810: htp.p('');
2811: end if;
2812:
2813: htp.p(' 2814: onmouseout="document.tbprint.src=' || '&' || 'quot;' || C_IMG_DIR || 'FNDIWPRT.gif' || '&' || 'quot;">

Line 2813: htp.p('

2809: elsif (p_save_disabled_flag = TRUE) THEN --save button is disabled
2810: htp.p('');
2811: end if;
2812:
2813: htp.p('
2814: onmouseout="document.tbprint.src=' || '&' || 'quot;' || C_IMG_DIR || 'FNDIWPRT.gif' || '&' || 'quot;">
2815:

2816:
2817:

Line 2863: htp.p('