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.
Please note that on Saturday, April 18, 2026, at 8:00 PM Pacific Time, our Case Management System will undergo a scheduled maintenance for approximately 15 minutes. During this time, case creation via SuiteAnswers will be unavailable and inbound calls will be routed to Customer Service.
nlapiLookupField() not loading slaved, joined data
Another upgrade goody I suspect.
Case# 936408
It appears that something has changed in the way nlapiLookupField() retrieves joined slave field data.
var id = nlapiLookupField('customrecord_claim', 8854, 'custrecord_claim_invoice_link.createdfrom'); if(id) { nlapiLogExecution('DEBUG', 'Sales Order Id', id); } else { // try getting it straight from the invoice id = nlapiLookupField('invoice', 52581, 'createdfrom'); if(id) { nlapiLogExecution('DEBUG', 'Sales Order Id', id); } } Run that little snippet and you'll have proof of the bug that is responsible for the 863 emails in my Inbox about failures happening with our scripts.
Steve Klett | Senior Developer
NetValue Technology
0