...Человеческий поиск в разработке...
- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/agent/requisite/entityufaddressconvertagent.php
- Класс: Bitrix\Crm\Agent\Requisite\EntityUfAddressConvertAgent
- Вызов: EntityUfAddressConvertAgent::getSourceEntityTypeId
public function getSourceEntityTypeId() { $result = \CCrmOwnerType::Undefined; $optionValue = $this->getOption('SOURCE_ENTITY_TYPE_ID'); if ($optionValue > 0) { $sourceEntityTypeId = (int)$optionValue; if (\CCrmOwnerType::IsDefined($sourceEntityTypeId)) { $result = $sourceEntityTypeId; } } return $result; }