您如何搜索所有高级 PDF 模板
How do you search for all Advanced PDF Templates
在 netsuite 中搜索高级 PDF 模板记录的正确记录类型是什么。以下不起作用:
search.create({
type: 'advancedpdftemplate',
columns: ['scriptid'],
filters: [['scriptid', 'is', 'somescriptid'], 'AND', ['isinactive', 'is', 'F']]
}).run().each(function (r) {
...
});
事实证明它不是可编写脚本的记录。我联系了 Marty Zigman,这是他的回复:
Running this:
nsapiGetRecord('pdftemplate')
indicates this:
{initializedefaults: Array(23), transformdefaults: Array(23),
id: "pdftemplate", type: "OTHER", scriptable: false, …}
在 netsuite 中搜索高级 PDF 模板记录的正确记录类型是什么。以下不起作用:
search.create({
type: 'advancedpdftemplate',
columns: ['scriptid'],
filters: [['scriptid', 'is', 'somescriptid'], 'AND', ['isinactive', 'is', 'F']]
}).run().each(function (r) {
...
});
事实证明它不是可编写脚本的记录。我联系了 Marty Zigman,这是他的回复:
Running this:
nsapiGetRecord('pdftemplate')
indicates this:
{initializedefaults: Array(23), transformdefaults: Array(23),
id: "pdftemplate", type: "OTHER", scriptable: false, …}