Using the below code you can refresh AOD, Dicitonary and Data:
static void refreshAll()
{
#Aif
SysSQMSettings _sqmSettings;
ttsBegin;
update_recordSet _sqmSettings setting GlobalGUID = str2guid(#EmptyGuidString);
ttsCommit;
xSession::removeAOC();
SysTreeNode::refreshAll();
SysFlushSystemSequence::doFlush(); SysEvent::fireEvent(SysEventType::FlushSystemSequence);
SysFlushDictionary::doFlush(); SysEvent::fireEvent(SysEventType::FlushDictionary);
SysFlushDatabaseLogSetup::doFlush(curext()); SysEvent::fireEvent(SysEventType::FlushDatabaseLogSetup,0,[curext()]);
SysFlushData::doFlush(); SysEvent::fireEvent(SysEventType::FlushData);
SysFlushAOD::doFlush();
SysEvent::fireEvent(SysEventType::FlushAOD);
xSession::updateAOC();
}
static void refreshAll()
{
#Aif
SysSQMSettings _sqmSettings;
ttsBegin;
update_recordSet _sqmSettings setting GlobalGUID = str2guid(#EmptyGuidString);
ttsCommit;
xSession::removeAOC();
SysTreeNode::refreshAll();
SysFlushSystemSequence::doFlush(); SysEvent::fireEvent(SysEventType::FlushSystemSequence);
SysFlushDictionary::doFlush(); SysEvent::fireEvent(SysEventType::FlushDictionary);
SysFlushDatabaseLogSetup::doFlush(curext()); SysEvent::fireEvent(SysEventType::FlushDatabaseLogSetup,0,[curext()]);
SysFlushData::doFlush(); SysEvent::fireEvent(SysEventType::FlushData);
SysFlushAOD::doFlush();
SysEvent::fireEvent(SysEventType::FlushAOD);
xSession::updateAOC();
}
No comments:
Post a Comment