michoel
12/15/2020, 6:29 AMNetsuite Tragic
12/15/2020, 6:33 AMmichoel
12/15/2020, 6:33 AMdbarnett
12/15/2020, 1:10 PMmichoel
12/15/2020, 10:24 PMname
, fullname
, shortname
)dbarnett
12/15/2020, 10:38 PMsrch = search.create({
type : "state",
filters : [
["country","anyof","US"]
],
columns : [
search.createColumn({
name: "id",
sort: search.Sort.ASC
}),
"fullname",
"shortname",
"country",
"inactive"
]
});
res = srch.run().getRange(0,1000).map(r => r.getAllValues())
dbarnett
12/15/2020, 10:39 PMsearch.Type.STATE
was a thing 🤦♂️ somehow missed out on that this whole time