- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/counter/entitycountableactivitytable.php
- Класс: Bitrix\Crm\Counter\EntityCountableActivityTable
- Вызов: EntityCountableActivityTable::getMap
static function getMap(): array
{
return [
(new IntegerField('ID'))
->configurePrimary()
->configureAutocomplete(),
(new IntegerField('ENTITY_TYPE_ID'))
->configureRequired(),
(new IntegerField('ENTITY_ID'))
->configureRequired(),
(new IntegerField('ENTITY_ASSIGNED_BY_ID'))
->configureRequired(),
(new IntegerField('ACTIVITY_ID'))
->configureRequired(),
(new IntegerField('ACTIVITY_RESPONSIBLE_ID'))
->configureRequired(),
(new DatetimeField('ACTIVITY_DEADLINE'))
->configureRequired(),
(new BooleanField('ACTIVITY_IS_INCOMING_CHANNEL'))
->configureStorageValues('N', 'Y')
->configureRequired(),
new DatetimeField('LIGHT_COUNTER_AT'),
new DatetimeField('DEADLINE_EXPIRED_AT'),
//->configureRequired(),
];
}