...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/agent/history/leadstatushistorywithsupposed.php
- Класс: Bitrix\Crm\Agent\History\LeadStatusHistoryWithSupposed
- Вызов: LeadStatusHistoryWithSupposed::getHistories
private function getHistories($fromHistoryId = 0) { $query = LeadStatusHistoryTable::query(); $query->addSelect('ID'); $query->addSelect('OWNER_ID'); $query->where('ID', '>', (int)$fromHistoryId); $query->setLimit(self::MAX_HISTORY_PER_ITERATION); return $query->exec()->fetchAll(); }