...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/classes/mysql/crm_product_row.php
- Класс: \CCrmProductRow
- Вызов: CCrmProductRow::SaveRows
static function SaveRows($ownerType, $ownerID, $arRows, $accountContext = null, $checkPerms = true, $regEvent = true, $syncOwner = true, $totalInfo = array()) { if (!CCrmSaleHelper::isProcessInventoryManagement()) { return parent::SaveRows($ownerType, $ownerID, $arRows, $accountContext, $checkPerms, $regEvent, $syncOwner, $totalInfo); } self::setPerRowInsert(true); $result = parent::SaveRows($ownerType, $ownerID, $arRows, $accountContext, $checkPerms, $regEvent, $syncOwner, $totalInfo); if ( $result && Loader::includeModule('catalog') && AccessController::getCurrent()->check(ActionDictionary::ACTION_DEAL_PRODUCT_RESERVE) ) { ProductRowReserves::processRows((string)$ownerType, (int)$ownerID, $arRows); } return $result; }