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.
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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