【发布时间】:2020-12-15 18:14:08
【问题描述】:
在 netsuite 中搜索高级 PDF 模板记录的正确记录类型是什么。以下方法不起作用:
search.create({
type: 'advancedpdftemplate',
columns: ['scriptid'],
filters: [['scriptid', 'is', 'somescriptid'], 'AND', ['isinactive', 'is', 'F']]
}).run().each(function (r) {
...
});
【问题讨论】:
-
在 record.Type 的帮助主题中看不到任何内容(注意标题中的小 r)。一些引用/使用它们的代码在 N/render 模块的帮助中。
-
我确实在 query.Type 中看到它。键入 PDF_TEMPLATE pdftemplate,这也是在编辑模板时出现在 URL 中的内容。
标签: netsuite suitescript suitescript2.0