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(); }