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!
New AI Community Guidelines. Please review and follow them to ensure AI use stays safe, accurate, and compliant.
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
critical: nlapiLookupField is pulling wrong employee information from employee table
If I list my employees, I (eric) am employee number 3. Everything in the employee list looks good. However, if I run the following expression in the debugger:
nlapiLookupField('employee',3,'firstname')
then I get the result, "Dave"
This is the wrong first name for my employee record and it's actually the name of another employee. If I try to get my email, I get theirs, etc.
This is causing my case escalation suitescripts to break because the emails are going to the wrong employees.
This is a new behavior, since it's been working until today.
0