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