• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/entitybankdetail.php
  • Класс: Bitrix\Crm\EntityBankDetail
  • Вызов: EntityBankDetail::validateEntityExists
public function validateEntityExists($entityTypeId, $entityId)
{
	$entityTypeId = intval($entityTypeId);
	$entityId = intval($entityId);

	if ($entityTypeId === CCrmOwnerType::Requisite)
	{
		$requisite = $this->getRequisite();
		if (!$requisite->exists($entityId))
			return false;
	}
	else
	{
		return false;
	}

	return true;
}