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.
Narrative Insights is Temporarily Unavailable due to an Infrastructure Issue. Learn how This Impacts Your Account and What to Expect While the Feature is Disabled.
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