Documentation

checkServiceUsage

\Bitrix\Sale\Result public static
\Bitrix\Sale\Delivery\Services\Manager::checkServiceUsage(
  $deliveryId
);

Method checks if current delivery service and its descendants are used (for example, profiles) in shipments. When used, such delivery service will not deleted. Static method.

Параметры

ParameterDescriptionVersion
$deliveryIdDelivery service ID.

Exceptions

Example



© «Bitrix24», 2001-2024