Loading ...

How To Refresh Cache Of Acumatica

Hello everybody,

today I want to leave a comment on how to refresh cache of Acumaitca.

As usually I start with this method:

 

ViewName.View.RequestRefresh();

 

But I found that it not always work. For my surprise RequestRefresh not works for some reasons. I think reason for this may be that Acumatica has two caches: caching of data and caching of queries.  

If that is the case, I use another approach ( more hardcore ) 

 

ViewName.View.Cache.Clear(); // clearing cached data

ViewName.View.Cache.ClearQueryCache(); // clearing cached queries.

 

Second approach works a bit better, because it clears not only data, but also clears cached queries, and as outcome clearing results

Need Custom Acumatica Solutions?

If you're facing issues with caching in Acumatica or need more advanced customization, we're here to help. Leave a request for a tailored solution, and our team of experts will ensure your Acumatica system runs at its best. Whether it's cache management or other optimizations, let us handle the technical side so you can focus on growing your business!