• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/automation/connectors/product.php
  • Класс: Bitrix\Crm\Automation\Connectors\Product
  • Вызов: Product::fetchFromTable
static function fetchFromTable(array $parameters = []): ?self
{
	$firstAcceptableProduct = ProductRowTable::getList($parameters)->fetchObject();
	if ($firstAcceptableProduct)
	{
		return new static($firstAcceptableProduct);
	}

	return null;
}