CCrmBizProcHelper::ResolveDocumentId

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CCrmBizProcHelper
  4. ResolveDocumentId
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_bizproc_helper.php
  • Класс: \CCrmBizProcHelper
  • Вызов: CCrmBizProcHelper::ResolveDocumentId
static function ResolveDocumentId($ownerTypeID, $ownerID)
{
	$ownerTypeID = (int) $ownerTypeID;
	$ownerID = (int) $ownerID;

	$docName = static::ResolveDocumentName($ownerTypeID);

	if (!$docName)
	{
		return null;
	}

	return ['crm', $docName, \CCrmOwnerType::ResolveName($ownerTypeID).'_'.$ownerID];
}

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