what is the easiest way to get all the values/IDs ...
# suitescript
a
what is the easiest way to get all the values/IDs in a customlist, given the internalid or customlist_ id of the list ?
s
The same way its doing it right? Just create a saved search on the list/record type and get the id's off the results.
This is working in the chrome console
Copy code
let res = search.create({type: 'customlist_idhere', filters: [], columns: ['internalid', 'name']}).run().getRange(0,100).map(res => res.toJSON().values)
e
You may want a filter on
isinactive