DealChannelStatisticEntry::unregister

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. DealChannelStatisticEntry
  4. unregister
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/statistics/dealchannelstatisticentry.php
  • Класс: Bitrix\Crm\Statistics\DealChannelStatisticEntry
  • Вызов: DealChannelStatisticEntry::unregister
static function unregister($ownerID, $channelTypeID = 0)
{
	$filter = array('OWNER_ID' => $ownerID);
	if($channelTypeID > 0)
	{
		$filter['CHANNEL_TYPE_ID'] = $channelTypeID;
	}
	DealChannelStatisticsTable::deleteByFilter($filter);
}

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