Documentation

rebindAllCompanies

 public static
\Bitrix\Crm\Binding\ContactCompanyTable::rebindAllCompanies(
 integer $seedContactID,
 integer $targContactID
);

Method unbinds all Companies from source Contact and binds to target Contact. Static method.

Parameters

ParameterDescriptionVersion
$seedContactIDSource Contact ID.
$targContactIDTarget Contact ID.

Exceptions

  • \Bitrix\Main\ArgumentException

Example



© «Bitrix24», 2001-2024