ContactActivityMarkStatisticsTable::getMap

  1. Bitrix24 API (v. 23.675.0)
  2. crm
  3. ContactActivityMarkStatisticsTable
  4. getMap
  • Модуль: crm
  • Путь к файлу: ~/bitrix/modules/crm/lib/statistics/entity/contactactivitymarkstatistics.php
  • Класс: Bitrix\Crm\Statistics\Entity\ContactActivityMarkStatisticsTable
  • Вызов: ContactActivityMarkStatisticsTable::getMap
static function getMap()
{
	return array(
		'OWNER_ID' => array('data_type' => 'integer', 'required' => true, 'primary' => true),
		'DEADLINE_DATE' => array('data_type' => 'date', 'required' => true, 'primary' => true),
		'PROVIDER_ID' => array('data_type' => 'string', 'primary' => true),
		'PROVIDER_TYPE_ID' => array('data_type' => 'string', 'primary' => true),
		'SOURCE_ID' => array('data_type' => 'string', 'primary' => true),
		
		'RESPONSIBLE_ID' => array('data_type' => 'integer'),
		'NONE_QTY' => array('data_type' => 'integer'),
		'POSITIVE_QTY' => array('data_type' => 'integer'),
		'NEGATIVE_QTY' => array('data_type' => 'integer'),
		'TOTAL' => array(
			'data_type' => 'integer',
			'expression' => array( '(%s + %s + %s)', 'NONE_QTY', 'POSITIVE_QTY', 'NEGATIVE_QTY' )
		),
	);
}

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