• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/internals/pool.php
  • Класс: BitrixSaleInternalsPool
  • Вызов: Pool::setByStore
public function setByStore($code, $storeId, $quantity)
{
	if (!isset($this->quantities[$code][$storeId]))
	{
		$this->quantities[$code][$storeId] = 0;
	}

	$this->quantities[$code][$storeId] = $quantity;
}