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

	return parent::getEntity();
}