public function getModuleTable($module)
    {
        $sugarBean = $this->getBean($module);
        $tableName = $sugarBean->table_name;
        if (empty($tableName)) {
            throw new SugarException("$module returns an empty table name");
        }

        return $sugarBean->table_name;
    }