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!
nlobjRecord.getFieldValues returns [Ljava.lang.String;@28c21c99
Accessing a multi-select using nlapiLoadRecord and getFieldValues is returning [Ljava.lang.String;@28c21c99.
When you do nlapiLookupField on the same field it returns the expected array values.
getFieldTexts the same thing.
Do a nlobjRecord.getFieldValue and it returns the correct string separated by pipe (e.g. 1|3|9 )
Surprised no one else is reporting this but messing my scripts up big time!
Edit --
OK, further investigation is returning the values just not in a traditional JavaScript array. You can't for example take the response and use it directly in a search:
This DOES NOT work:
var vals = recd.getFieldValues('mymultiselectfield');
0