Documentation

merge

void public
\Bitrix\Crm\Merger\EntityMerger::merge(
 integer $seedID,
 integer $targID,
 \Bitrix\Crm\Integrity\DuplicateCriterion $targCriterion
);

Method merges entities. Non-static method.

Parameters

ParameterDescriptionVersion
$seedIDSource entity ID.
$targIDTarget entity ID.
$targCriterionCriteria.

Exceptions

  • \Bitrix\Crm\Merger\EntityMergerException
  • \Bitrix\Main\ArgumentException
  • \Bitrix\Main\LoaderException
  • \Bitrix\Main\NotImplementedException

Example



© «Bitrix24», 2001-2024
Up