云随笔 Carl Notes

ERP IT方案 电玩

重复利用:popupBinDiv(document.forms['item_form'].elements['itembinlist'].value,document.forms['inventory_form'].elements['binnumbers'], 0, document.forms['inventory_form'].elements['adjustqtyby']);显然netsu...
阅读全文 »

function nlapiValidateField(type, fld, optionswin, linenum){var isValid = true;if (optionswin != null)optwin = optionswin;if (nsapiGetMainForm( ).elements.nlapiVF != null && nsapiGetMainForm( ).elemen...
阅读全文 »

https://system.netsuite.com/app/common/custom/custrecordentry.nl?rectype=34&pf=CUSTRECORD_LOSE&pi=1282&pr=-30&cf=14rectype=34 代表记录类型的internalidpf=CUSTRECORD_LOSE 代表记录类型名称pi=1282 代表isparent的关联的单据intern...
阅读全文 »

ListIN_InventoryNumber_INTERNALID(this) 用来把多选的列表框div构造出来 SearchIN_InventoryNumber_INTERNALID(document.forms['main_form'].elements.IN_InventoryNumber_INTERNALID_display.value) //用来把internalid传递给弹出的...
阅读全文 »

在我书写开发的过程中,有这样的需求,支付帐单的界面 跳转到支付单个供应商的界面 完成支付。这个时候url上添加参数&entity= 系统可以完成默认的打开页面以后entity的指定,这样的结果是,当用户保存那个的支付单个供应商之后,跳转回原来页面,而如果原来的页面时一个suitelet提交过的页面url就会默认成:https://system.netsuite.com/app/site/hosti...
阅读全文 »

function isTabShown(tname) { return document.all[tname+'_div'] == null || document.all[tname+'_div'].style.visibility == 'visible'; } 用来校验是否显示的状态。 下面这个在IE7中都能兼容: function ShowHideTab(tname,shown) { ...
阅读全文 »

应用调用:nlapiServerCall('/app/accounting/transactions/inventory/validateInventoryNumbers.nl', 'getValidationScript', [params], eval);实现过程:--------------------- * @param url URL of request handler * @par...
阅读全文 »

function new_mediaitem() {document.getElementById('mediaitem_popup_new').onclick()}netsuite 文件上传内部函数;这样就可以打开一个新的窗体 用于上传文件到netsuite文件柜中。已经关联文件的命令。function attach_media() { var mediaitem = getSelectValu...
阅读全文 »

问题1 ,文档中提及了 URL参数是以http://开头的完整URL地址。 而netsuite中向外开放的可用的地址都是https://,难道首信就不支持?这个问题需要与首信确认。 已答复:支持,曾经只有发现一个https无法返回的案例。说明此问题不是主要问题。问题2,步骤一, 用户从客户中心中自己下了订单后,决定支付,于是到订单页面点'前往支付'按钮,系统要传递订单信息,到suitelet来读取...
阅读全文 »

0%