CAllCrmLead::ProcessStatusDeletion

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. CAllCrmLead
  4. ProcessStatusDeletion
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/classes/general/crm_lead.php
  • Класс: \CAllCrmLead
  • Вызов: CAllCrmLead::ProcessStatusDeletion
static function ProcessStatusDeletion(array $fields)
{
	$entityID = isset($fields['ENTITY_ID']) ? $fields['ENTITY_ID'] : '';
	$statusID = isset($fields['STATUS_ID']) ? $fields['STATUS_ID'] : '';

	if($entityID === 'STATUS' && $statusID !== '')
	{
		Crm\Attribute\FieldAttributeManager::processPhaseDeletion($statusID, \CCrmOwnerType::Lead, '');
	}
}

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