Zoom::checkFields

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. Zoom
  4. checkFields
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/activity/provider/request.php
  • Класс: Bitrix\Crm\Activity\Provider\Request
  • Вызов: Request::checkFields
static function checkFields($action, &$fields, $id, $params = null)
{
	$result = new Main\Result();

	//Only START_TIME can be taken for DEADLINE!
	if ($action === self::ACTION_UPDATE && isset($fields['START_TIME']) && $fields['START_TIME'] !== '')
	{
		$fields['DEADLINE'] = $fields['START_TIME'];
	}

	return $result;
}

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