• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/integration/documentgenerator/dataprovider/shipment.php
  • Класс: Bitrix\Crm\Integration\DocumentGenerator\DataProvider\Shipment
  • Вызов: Shipment::fetchData
protected function fetchData()
{
	if ($this->data === null)
	{
		$this->data = [];
		$shipmentId = (int)$this->source;
		if ($shipmentId <= 0)
		{
			return;
		}
		$this->shipment = ShipmentRepository::getInstance()->getById($shipmentId);
		if ($this->shipment)
		{
			$this->data = $this->processData($this->shipment->getFields()->getValues());
		}
	}
}