clearCompanyCache

void clearCompanyCache()
{
    InventDimGlobal::flushDataCache();
    InventDimGroupSetup::flushDataCache();
    DimensionCache::clearAllScopes();
    BudgetCache::clearAllScopes();
    LedgerCache::clearAllScopes();
    CurrencyExchangeCache::clearAllScopes();
    CompanyInfo::clearAllCacheScopes();
    CustVendCache::clearAllScopes();

    //------------------------------
    //clear all the cache since the set-based import
    //is by-passing the cache via direct SQL statement.
    Dictionary::dataFlush();
}

 

posted @ 2017-04-21 15:31  止在入门  阅读(306)  评论(0编辑  收藏  举报