• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/entitypropertyvaluecollection.php
  • Класс: BitrixSaleEntityPropertyValueCollection
  • Вызов: EntityPropertyValueCollection::deleteNoDemand
static function deleteNoDemand($entityId)
{
	$result = new Result();
	$propertiesDataList = static::getAllItemsFromDb($entityId);

	foreach($propertiesDataList as $propertyValue)
	{
		$res  = self::delete($propertyValue);

		if (!$res->isSuccess())
		{
			$result->addErrors($res->getErrors());
		}
	}

	return $result;
}