• Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/automation/helper.php
  • Класс: Bitrix\Crm\Automation\Helper
  • Вызов: Helper::prepareCompatibleData
static function prepareCompatibleData(int $entityTypeId, array $compatibleData): array
{
	$entity = \CCrmBizProcHelper::ResolveDocumentName($entityTypeId);

	if ($entity && method_exists($entity, 'prepareCompatibleData'))
	{
		return call_user_func([$entity, 'prepareCompatibleData'], $compatibleData);
	}

	return $compatibleData;
}