• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/internals/orderround.php
  • Класс: BitrixSaleInternalsOrderRoundTable
  • Вызов: OrderRoundTable::clearByOrder
static function clearByOrder($order)
{
	$order = (int)$order;
	if ($order <= 0)
		return false;

	$conn = MainApplication::getConnection();
	$helper = $conn->getSqlHelper();
	$conn->queryExecute('delete from '.$helper->quote(self::getTableName()).' where '.$helper->quote('ORDER_ID').' = '.$order);
	unset($helper, $conn);

	return true;
}