• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/internals/poolquantity.php
  • Класс: BitrixSaleInternalsPoolQuantity
  • Вызов: PoolQuantity::add
public function add($type, $code, $value)
{
	$pool = $this->getByType($type);
	$currentValue = floatval($pool->get($code));
	$pool->set($code, $currentValue + $value);
}