public static function loadDIOHsettings() { use_class('products_minierp'); $class_pm = new products_minierp(); $bgst = $class_pm->retrieveBestGoodSettings(); self::$diohStopLevel = array(); self::$diohStopLevel[0] = $bgst['e_star0_dioh']; self::$diohStopLevel[1] = $bgst['e_star1_dioh']; self::$diohStopLevel[2] = $bgst['e_star2_dioh']; self::$diohStopLevel[3] = $bgst['e_star3_dioh']; self::$adjustmentOrder = $bgst['eao']; self::$dtMultiplier = $bgst['dt_multiplier']; }