Must I do a record load or search?
# suitescript
a
Must I do a record load or search?
b
yes, do the search
a
So how do I do search on a native netsuite list (as opposed to a netsuite record). I am trying to get list of price level options
s
pretty sure you can search as in instead of doing full blown search and then getRange or .each, you can do search.lookupFields
a
But how do I know the id of a built in netsuite list?
k
Go to list and there will list right side of the list
what type of list your trying to get ?
is it custom list ?
a
I am trying to get list of price level options
I see it
search.Type.PRICE_LEVEL
I didn't realize list and records are both available in the search.Type
👍 2