Метод scanSuitableCalls
Сигнатура метода
private function scanSuitableCalls(array $dealIds): array
Возвращает:
array
Описание
Filters to VoxImplant calls with a recording and extracts the call id, one bounded query per deal. Freshness order (CREATED desc) is preserved within each deal. The scan cap is applied per deal, not across the whole set: a shared cap over whereIn(dealIds) would let one deal with many fresh calls consume the entire scan window and push the other deals out of scope, breaking the deals_list-by-freshness priority (ALG-03). deals_list is bounded by the count limit (a few deals), so this is a small bounded number of queries, not an N+1 scan.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$dealIds
|
array
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
~/bitrix/modulescrm/lib/RepeatSale/Transcription/InScopeCallCollector.php