• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/component/usestore.php
  • Класс: BitrixCatalogComponentUseStore
  • Вызов: UseStore::disableQuantityTraceSets
static function disableQuantityTraceSets(): void
{
	Application::getConnection()->queryExecute("
		update b_catalog_product
		set
			QUANTITY_TRACE = '" . ProductTable::STATUS_NO . "',
			CAN_BUY_ZERO = '" . ProductTable::STATUS_YES . "',
			NEGATIVE_AMOUNT_TRACE = '" . ProductTable::STATUS_YES . "',
			AVAILABLE = '" . ProductTable::STATUS_YES . "'
		where
			TYPE = " . ProductTable::TYPE_SET
	);
}