Discussions
Stay up-to-date with the latest news from NetSuite. You’ll be in the know about how to connect with peers and take your business to new heights at our virtual, in-person, on demand events, and much more.
Now is the time to ask your NetSuite-savvy friends and colleagues to join the NetSuite Support Community! Refer now! Click here to watch and learn more!
Stay in the Know
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Be sure you're subscribed to NetSuite communication to stay in the know about monthly happenings, updates and announcements. Subscribe
Lookup record/list by name
I need to select a value in a record/list based on a text match from another value. I create a string based on three other fields:
"Foo : Bar : Baz"
I need to look up that value in the locations record and set the corresponding id.
I don't think there is an api call to do this, but I was hoping I could get the location records, loop through them and do a textual match. However I cannot seem to find an api call to get the entire list of location records either.
Any ideas?
BTW, this is a User Event script.
0