• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/order/bindingsmaker/base.php
  • Класс: Bitrix\Crm\Order\BindingsMaker\Base
  • Вызов: Base::makeByShipment
static function makeByShipment(Shipment $shipment, array $options = [])
{
	/** @var Order $order */
	$order = $shipment->getOrder();

	$result = static::makeByOrder($order, $options);

	$result[] = static::makeBinding(\CCrmOwnerType::OrderShipment, $shipment->getId());

	return $result;
}