Skip to content

Instantly share code, notes, and snippets.

View ivanburrola's full-sized avatar

Ivan Burrola ivanburrola

View GitHub Profile
@rhaseven7h
rhaseven7h / more_than_1k.js
Created January 23, 2014 06:00
This is a generic way of fetching more than 1000 rows from a search in NetSuite.
console.clear();
var res;
var rows = new Array();
res = nlapiSearchRecord("customrecord_tel_tarifas_globales", null, null, null);
if(res) {
rows = rows.concat(res);