Hey folks, I have a custom record type with a lot ...
# suitescript
m
Hey folks, I have a custom record type with a lot of custom records. I am not finding in the docs how to load the list of all the custom records for that custom record type, with each record's internal id, in SS2.0. Any help is appreciated!
b
Do a search using the script id of the custom record type as the search type
s
What is the context for why you need this list? If you are just looking for a way to make and object or array of all the recors by id, then
N/search
is what you are looking for most likely.
s
If you actually need to load all of the records, depending upon how many you have, that could use up a lot of governance. Unless you need to modify and save change to all of those records, then a search is the best option for performance and governance.
m
search will work. Thanks.
(had blinders on)