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!
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