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.
Keep an eye out for upcoming NetSuite events, including meetups, workshops, and webinars. These sessions are a great way to connect with peers, learn from experts, and stay current on the latest NetSuite updates and best practices. Registration links are provided in each event.
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