Flush the AOS cache from code :
So the three menu items that you copy (don't change the real deals) are:
[Under Menu items > Action]
1. SysFlushAOD
2. SysFlushData
3. SysFlushDictionary
4. SysFlushReportServer
here's a code to flush Axapta Object Cache (AOC) on clients in 3-tier configuration:
xSession::removeAOC();
SysTreeNode::refreshAll();
SysFlushDictionary::doFlush();
SysFlushAOD::doFlush();
xSession::updateAOC();
So the three menu items that you copy (don't change the real deals) are:
[Under Menu items > Action]
1. SysFlushAOD
2. SysFlushData
3. SysFlushDictionary
4. SysFlushReportServer
here's a code to flush Axapta Object Cache (AOC) on clients in 3-tier configuration:
xSession::removeAOC();
SysTreeNode::refreshAll();
SysFlushDictionary::doFlush();
SysFlushAOD::doFlush();
xSession::updateAOC();
Comments
Post a Comment