How to add an Array of filters and columns while l...
# suitescript
n
How to add an Array of filters and columns while loading existing Saved Search in Netsuite 2.0??
n
Why are you using.push and not just defining the filtersExst as the array that you're trying to push in to it? You don't appear to have a loop that is adding more and more filters?
n
Thanks for the reply. @battk Search.columns is used when we create search. But how to add columns while we loading the search.
j
@NSCoder, After loading the search do something like
Copy code
my_search.columns.push(search.createColumn({name:'internalid'}));
n
Thank You @jarens