Метод loadCallStates

protected

Сигнатура метода

protected function loadCallStates(array $dealIds): array

Возвращает: array

Описание

Loads suitable (VoxImplant call with a recording) calls for the given deals with their transcript state, ready ones included, with a single activity query + a single batched activity load (N+1 protection). Freshness order (CREATED desc) is preserved within each deal. Lighter than loadScopeCalls(): no transcript-volume measurement, since the count-limit path does not need it.

Параметры

1
Имя Тип По умолчанию Флаги
$dealIds array —
—

Расположение

Исходный файл метода в Bitrix Framework

Путь к исходному файлу Source
~/bitrix/modulescrm/lib/RepeatSale/Transcription/InScopeCallCollector.php
Расположение метода в файле
Строки 349–373

Исходный код

PHP