type
搜索筛选器希望记录的格式与
search.Type
枚举(
'SalesOrd'
而不是
'salesorder'
). 欢迎使用NetSuite!
您可以将过滤器更改为
var filters = [
["mainline", "is", "T"], "and",
["type", "anyOf", 'SalesOrd'], "and",
["entity", "anyOf", idCustomer],
];
或者,更好
var searchQuery = search.create({
"type": search.Type.SALES_ORDER,
"filters": filters,
"columns": columns
});
NetSuite Search Export Chrome Extension