<@U4XT29MRD> <@U2PHMMX2Q> Might be interested, he...
# suitescript
l
@mbrewer @eric.graybill Might be interested, here is mysolution to deleting all items following the 4-5 hierachy (see thread)
var col = new nlobjSearchColumn('internalid', null, null); col.setSort(true); rec = customSearchRecord('noninventoryitem', null, [col]); for (var i=0; rec.length; i++) { console.log(i + ' / ' + rec.length); nlapiDeleteRecord('noninventoryitem', rec[i].getId()); }
customSearchRecord is equivalent to nlapiSearchRecord but for more than 1000 records