- Модуль: sale
- Путь к файлу: ~/bitrix/modules/sale/lib/tradingplatform/vk/log.php
- Класс: BitrixSaleTradingPlatformVkLogTable
- Вызов: LogTable::getMap
static function getMap()
{
return array(
new EntityIntegerField('ID', array(
'primary' => true,
'autocomplete' => true,
'title' => Loc::getMessage('TP_VK_LOG_ID_FIELD'),
)),
new EntityIntegerField('EXPORT_ID', array(
'required' => true,
'title' => Loc::getMessage('TP_VK_LOG_EXPORT_ID_FIELD'),
)),
new EntityStringField('ERROR_CODE', array(
'required' => true,
'title' => Loc::getMessage('TP_VK_LOG_ERROR_CODE_FIELD'),
)),
new EntityStringField('ITEM_ID', array(
'title' => Loc::getMessage('TP_VK_LOG_ITEM_ID_FIELD'),
)),
new EntityDatetimeField('TIME', array(
'title' => Loc::getMessage('TP_VK_LOG_TIME_FIELD'),
'default_value' => new TypeDateTime(),
)),
new EntityTextField('ERROR_PARAMS', array(
'title' => Loc::getMessage('TP_VK_LOG_ERROR_PARAMS'),
'serialized' => true,
)),
);
}