• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/shipmentitemstorecollection.php
  • Класс: BitrixSaleShipmentItemStoreCollection
  • Вызов: ShipmentItemStoreCollection::getItemByBarcode
public function getItemByBarcode($barcode)
{
	/** @var ShipmentItemStore $item */
	foreach ($this->collection as $item)
	{
		if ((string)$item->getBarcode() === (string)$barcode)
		{
			return $item;
		}
	}

	return null;
}