Delivery::getActivity

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Delivery
  4. getActivity
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/activity/provider/delivery.php
  • Класс: Bitrix\Crm\Activity\Provider\Delivery
  • Вызов: Delivery::getActivity
static function getActivity(array $filter = []): ?array
{
	$baseFilter = [
		'CHECK_PERMISSIONS' => 'N',
		'TYPE_ID' => \CCrmActivityType::Provider,
		'PROVIDER_ID' => self::getId(),
	];

	$activity = \CCrmActivity::getlist([], array_merge($filter, $baseFilter))->fetch();

	return is_array($activity) ? $activity : null;
}

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