- Модуль: sale
- Путь к файлу: ~/bitrix/modules/sale/lib/internals/shipmentextraservice.php
- Класс: BitrixSaleInternalsShipmentExtraServiceTable
- Вызов: ShipmentExtraServiceTable::getMap
static function getMap()
{
return array(
'ID' => array(
'data_type' => 'integer',
'primary' => true,
'autocomplete' => true,
'title' => Loc::getMessage('ORDER_DELIVERY_EXTRA_SERVICES_ENTITY_ID_FIELD'),
),
'SHIPMENT_ID' => array(
'data_type' => 'integer',
'required' => true,
'title' => Loc::getMessage('ORDER_DELIVERY_EXTRA_SERVICES_ENTITY_SHIPMENT_ID_FIELD'),
),
'EXTRA_SERVICE_ID' => array(
'data_type' => 'integer',
'required' => true,
'title' => Loc::getMessage('ORDER_DELIVERY_EXTRA_SERVICES_ENTITY_EXTRA_SERVICE_ID_FIELD'),
),
'VALUE' => array(
'data_type' => 'string',
'validation' => array(__CLASS__, 'validateValue'),
'title' => Loc::getMessage('ORDER_DELIVERY_EXTRA_SERVICES_ENTITY_VALUE_FIELD'),
),
'EXTRA_SERVICE' => array(
'data_type' => 'BitrixSaleDeliveryExtraServicesTable',
'reference' => array('=this.EXTRA_SERVICE_ID' => 'ref.ID'),
),
);
}