Метод collectDealsContext
Сигнатура метода
private function collectDealsContext(int $targetItemId): array
Возвращает:
array
Описание
Collects the target deal apart from the client's history: the history selection is limited to HISTORY_COLLECTION_LIMIT items, so the target deal is missing from it as soon as the client has that many newer deals. Only then it is fetched by id - the selection itself is expensive.
Параметры
1| Имя | Тип | По умолчанию | Флаги |
|---|---|---|---|
$targetItemId
|
int
|
—
|
—
|
Расположение
Исходный файл метода в Bitrix Framework
Путь к исходному файлу
Source
~/bitrix/modulescrm/lib/RepeatSale/DataCollector/AiScreeningDataCollectorManager.php
Расположение метода в файле
Строки
58–86