组合按钮就是netsuite中比较常用的控件,就是系统自动的将相类型功能的按钮拼接在一起,在系统的设置首选项(/app/center/userprefs.nl?sc=-29)中可以控制是否使用组合按钮。合并表格中的类似按钮Check this box to roll up similar buttons on forms.For example, checking this box rolls u…
组合按钮就是netsuite中比较常用的控件,就是系统自动的将相类型功能的按钮拼接在一起,在系统的设置首选项(/app/center/userprefs.nl?sc=-29)中可以控制是否使用组合按钮。
合并表格中的类似按钮 “这是什么?”)
Check this box to roll up similar buttons on forms.
For example, checking this box rolls up all save options under the Save button. Click the arrow on the Save button to see a list of options and choose how you want to save the form.
字段ID: COMBINESIMILARBUTTONS
系统内置的api,不包含在发布的guide中。隐含API。
一下是以export按钮为例子来说明的按钮合并:
\[\['Export - CSV', "export"\],\['Export - Microsoft ® Excel', "exportXLS"\]\] 这是两个按钮,
'Export - CSV','null','export' 这个是默认的按钮显示,和它的ID系统既能关联出其方法来,具体方法我会单独写出来。
\['Export - CSV', "export"\] 是一个按钮以及点击后的方法名。
:


如何[http://www.cnblogs.com/backuper/archive/2008/12/08/1350230.html](http://www.cnblogs.com/backuper/archive/2008/12/08/1350230.html)
# [JS导出txt文本文件,Netsuite方案](http://www.cnblogs.com/backuper/archive/2008/12/08/1350230.html)
document.location.replace(appendFormDataToURL('/app/crm/support/caselist.xls?searchtype=Case'));
上一篇内容中写到的导出txt,完全可以通过这个方法,通过suitelet自动的生成txt然后就可以弹出txt保存的窗口,提供用户下载。
这样两篇文章结合起来即可写出比较完美导出方案。利用系统隐含的API哦~~
netsuite技术客服已经建议过我,尽量少用这类的系统未公布的API,
因为netsuite完全可以不通知你的情况替换掉这个api这样你以前写的程序就应声倒下, 不好,不好~ 呵呵,,

发表回复