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!
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
How is a joined field returned in nlapiLookupField?
Curious before performing this myself.
If I have multiple fields being looked up and one or more of them are joined fields, how are these returned in the results associative array/object?
For example:
var myFields = ['field1','field2','joined.field1','joined.field2']; var results = nlapiLookupField(recdtype,recdid,myFields); // assume access direct fields as: var val = results.field1; val = results.field2; // how would I access the joined field array??? val = results.joined.field1; // like this? or val = results['joined.field1']; // like this?
Thanks.
-Steve
0