• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/location/comparator/tmptable.php
  • Класс: BitrixSaleLocationComparatorTmpTable
  • Вызов: TmpTable::markMapped
public function markMapped($locationId, $xmlId)
{
	if(intval($locationId) <= 0)
		throw new ArgumentNullException('locationId');

	if($xmlId == '')
		throw new ArgumentNullException('xmlId');

	$sqlHelper = $this->connection->getSqlHelper();

	$this->connection->queryExecute("
		UPDATE
			".$this->name." 
		SET 
			LOCATION_ID=".intval($locationId)." 
		WHERE				
			XML_ID = '".$sqlHelper->forSql($xmlId)."'"
	);
}