3namespace Bitrix\Catalog\Document\Action\Reserve;
5use Bitrix\Catalog\Document\Action;
6use Bitrix\Main\Application;
8use Bitrix\Main\Localization\Loc;
12 Application::getDocumentRoot() .
'/bitrix/modules/catalog/general/store_docs_type.php'
30 if ($reservedQuantity < $this->amount)
32 $message = Loc::getMessage(
"CATALOG_STORE_DOCS_ERR_WRONG_RESERVED_AMOUNT", [
40 if ($reservedQuantity < $this->amount)
42 $message = Loc::getMessage(
"CATALOG_STORE_DOCS_ERR_INSUFFICIENTLY_AMOUNT", [
getNewProductReservedQuantity()
getNewStoreReservedQuantity()
trait BaseReserveStoreProductAction
getProductTotalQuantity()
getStoreReservedQuantity()
getProductTotalReservedQuantity()