- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/activity/entity/incomingchanneltable.php
- Класс: Bitrix\Crm\Activity\Entity\IncomingChannelTable
- Вызов: IncomingChannelTable::getMap
static function getMap()
{
return [
(new IntegerField('ID'))
->configurePrimary()
->configureAutocomplete(),
(new IntegerField('ACTIVITY_ID'))
->configureRequired(),
(new IntegerField('RESPONSIBLE_ID'))
->configureRequired(),
(new BooleanField('COMPLETED'))
->configureStorageValues('N', 'Y')
->configureRequired(),
new ReferenceField(
'BINDINGS',
\Bitrix\Crm\ActivityBindingTable::class,
[
'=this.ACTIVITY_ID' => 'ref.ACTIVITY_ID'
],
['join_type' => 'INNER']
),
];
}