...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/entity/paymentdocumentsrepository.php
- Класс: Bitrix\Crm\Entity\objects
- Вызов: objects::fetchEntity
private function fetchEntity(): bool { $factory = Crm\Service\Container::getInstance()->getFactory($this->ownerTypeId); if ($factory && $factory->isLinkWithProductsEnabled()) { $item = $factory->getItem($this->ownerId); if ($item) { $this->entityAmount = $item->getOpportunity(); $this->totalSum = $this->entityAmount; $this->currencyId = $item->getCurrencyId(); $this->currencyFormat = \CCurrencyLang::GetFormatDescription($this->currencyId); return true; } } return false; }