- Модуль: crm
- Путь к файлу: ~/bitrix/modules/crm/lib/invoicestuts.php
- Класс: Bitrix\Crm\InvoiceStUtsTable
- Вызов: InvoiceStUtsTable::getMap
static function getMap()
{
global $DB;
return array(
'VALUE_ID' => array(
'data_type' => 'integer',
'primary' => true
),
'UF_DEAL_ID' => array(
'data_type' => 'integer'
),
'UF_COMPANY_ID' => array(
'data_type' => 'integer'
),
'UF_CONTACT_ID' => array(
'data_type' => 'integer'
),
'UF_MYCOMPANY_ID' => array(
'data_type' => 'integer'
),
'DEAL_BY' => array(
'data_type' => 'Deal',
'reference' => array('=this.UF_DEAL_ID' => 'ref.ID')
),
'CONTACT_BY' => array(
'data_type' => 'Contact',
'reference' => array('=this.UF_CONTACT_ID' => 'ref.ID')
),
'COMPANY_BY' => array(
'data_type' => 'Company',
'reference' => array('=this.UF_COMPANY_ID' => 'ref.ID')
)
);
}