Flush the AOS cache from code. AX-2012

Flush the AOS cache from code.  AX-2012 


Well while working on a old project my project lead shared with me a very nice little trick. 


Well the trick is to copy these three menu items, and then change the run from property to server. Now you can launch these menu items, and they will run on the server, therefore clearing the AOD, sys data, and dictionary, causing a refresh. 

Menu item you can find on the below path
[Under Menu items > Action]

  1.  SysFlushAOD
  2.  SysFlushData
  3.  SysFlushDictionary

Support Faryal's Cusine


No comments:

Post a Comment

Unit Testing in D365FO Using SysTest Framework

       Introduction In modern ERP development, writing code is not enough — ensuring code reliability, maintainability, and stability is equ...