摘要:
nlapiSubmitRecord(itemreceipt,true,true);
最后这个 true 很关键 对于itemreceipt对象来说:
ignoreMandatoryFields {boolean} [optional] - Disables mandatory field validation for
this submit operation. If set to true, ... 阅读全文
摘要:
<%
'用途:將UTF-8編碼漢字轉換為GB2312碼,兼容英文和數字
'版權:雖說是原創,其實也參考了別人的部分算法
'用法:Response.write UTF2GB("%E9%83%BD%E5%B8%82%E6%83%85%E7%B7%A3 %E6%98%9F%E5%BA%A7")
function UTF2GB(UTFStr)
for Dig=1 to len(UTFStr... 阅读全文
摘要:
var custbody_auditingno=datetime.getFullYear()+''+(datetime.getMonth()+1)+''+datetime.getDate()+''+datetime.getHours()+''+datetime.getMinutes()+''+datetime.getSeconds()+''+datetime.getMilliseconds();拼... 阅读全文
摘要:
due to 2009.1 's version upgrate , many custom form down,example : item fulfillment 、 item receipt,it's terrible!! without any script.. make me crazy now ..the only way :log a case, call netsuite supp... 阅读全文
摘要:
if (form.fireEvent) {form.fireEvent('onsubmit');form.submit();//DOM2 fire event} else if (document.createEvent) {var ev = document.createEvent('HTMLEvents');ev.initEvent('submit', false, true);form.di... 阅读全文
摘要:
这个就是应用 yahoo YUI 上的/*TERMS OF USE - EASING EQUATIONSOpen source under the BSD License.Copyright 2001 Robert Penner All rights reserved.Redistribution and use in source and binary forms, with or withou... 阅读全文