BaseController::suspendCustomRelations

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. BaseController
  4. suspendCustomRelations
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/recycling/basecontroller.php
  • Класс: Bitrix\Crm\Recycling\BaseController
  • Вызов: BaseController::suspendCustomRelations
protected function suspendCustomRelations(int $entityId, int $recyclingEntityId): void
{
	Crm\Relation\EntityRelationTable::rebind(
		new Crm\ItemIdentifier($this->getEntityTypeID(), $entityId),
		new Crm\ItemIdentifier($this->getSuspendedEntityTypeID(), $recyclingEntityId)
	);
}

Добавить комментарий