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
nlapiRefreshLineItems(type) - does it hit the DB?
I could determine this by sniffing traffic and observing response time, but I thought I would try and save some effort and ask here first:
Does nlapiRefreshLineItems(type) hit the DB to "reflect recent changes to the underlying data" or does it mean it will refresh from the local nlobjRecord data?
Very big difference and the docs aren't clear on this.
Assuming the answer is "no, it does not pull data from the DB" what are the common tricks to update a sublist to reflect data changes? In other words, if I create 10 child records on the client side with nlapiCreateRecord() - what are the tricks to update the sublist on the client?
Steve Klett | Senior Developer
NetValue Technology
0