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
Using nlapiLookupField with a custom list to return option internal id
Hi,
I have a custom list, where the id for it is customlist7, it contains the following options
(Value ---- ID)
CD ---- 4
DVD ---- 2
Tape ---- 3
Box ---- 1
I have to use the following syntax:
nlapiLookupField('customlist7', 'Box', 'internalid');
result should be = 1, but it returns 4 (the first option id).
I tested it on another list and it also return the first option internal id.
Is this a bug or there is an error in my script??
0