LeadStatusHistoryWithSupposed::getHistories

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. LeadStatusHistoryWithSupposed
  4. getHistories
  • Модуль: 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();
}

Добавить комментарий