...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/invoice/internals/invoiceround.php
- Класс: Bitrix\Crm\Invoice\Internals\InvoiceRoundTable
- Вызов: InvoiceRoundTable::clearByOrder
static function clearByOrder($order) { $order = (int)$order; if ($order <= 0) return false; $conn = Main\Application::getConnection(); $helper = $conn->getSqlHelper(); $conn->queryExecute('delete from '.$helper->quote(self::getTableName()).' where '.$helper->quote('ORDER_ID').' = '.$order); unset($helper, $conn); return true; }