• Модуль: catalog
  • Путь к файлу: ~/bitrix/modules/catalog/lib/document/action/price/updateproductpricesaction.php
  • Класс: BitrixCatalogDocumentActionPriceUpdateProductPricesAction
  • Вызов: UpdateProductPricesAction::getBasePriceRowId
private function getBasePriceRowId(): ?int
{
	$row = PriceTable::getRow([
		'select' => [
			'ID',
		],
		'filter' => [
			'=PRODUCT_ID' => $this->productId,
			'=CATALOG_GROUP_ID' => $this->getBasePriceGroupId(),
		],
		'order' => [
			'ID' => 'asc',
		],
	]);
	return $row['ID'] ?? null;
}