![](/img/trans.png)
[英]How can I update fields on unsupported transaction types such as Bill with user event suitescript on netsuite
[英]what filter should I add to get the same transaction_date fields within last 14 or 15 days in Netsuite - suitescript?
我正在写Netsuite Suitescript。 我想在搜索中添加一个属性,以便在过去2周内找到相似的匹配交易日期。 所以我不知道在此行中添加什么过滤器或属性
column[2] = new nlobjSearchColumn('custrecord_sub_transaction_date', null, null);
我想知道如何在该过滤器中添加内容,以便我可以搜索同一transaction_date的14或15天,而不是该行代码中的那些空属性?
用这个:
var filters = [];
filters.push(new nlobjSearchFilter('custrecord_sub_transaction_date', null, 'onorafter', ['weekbeforelasttodate']));
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.