• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/automation/target/dealtarget.php
  • Класс: Bitrix\Crm\Automation\Target\DealTarget
  • Вызов: DealTarget::getEntity
public function getEntity()
{
	if ($this->entity === null && $id = $this->getDocumentId())
	{
		$id = (int) str_replace('DEAL_', '', $id);
		$this->setEntityById($id);
	}

	return parent::getEntity();
}