rebindAllContacts
public static \Bitrix\Crm\Binding\ContactCompanyTable::rebindAllContacts( integer $oldCompanyID, integer $targCompanyID );
Method unbinds all Contacts from source Company and bind to target Company. Static method.
Parameters
Parameter | Description | Version |
---|---|---|
$oldCompanyID | Source Company ID. | |
$targCompanyID | Target Company ID. |
Exceptions
- \Bitrix\Main\ArgumentException
Example
© «Bitrix24», 2001-2024