Discussions
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