• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/internals/shipmentitemstore.php
  • Класс: BitrixSaleInternalsShipmentItemStoreTable
  • Вызов: ShipmentItemStoreTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'data_type' => 'integer',
			'primary' => true,
			'autocomplete' => true,
			'title' => Loc::getMessage('STORE_BARCODE_ENTITY_ID_FIELD'),
		),
		'ORDER_DELIVERY_BASKET_ID' => array(
			'data_type' => 'integer',
			'required' => true,
			'title' => Loc::getMessage('STORE_BARCODE_ENTITY_ORDER_DELIVERY_BASKET_ID_FIELD'),
		),
		'ORDER_DELIVERY_BASKET' => array(
			'data_type' => 'BitrixSaleInternalsShipmentItem',
			'reference' => array(
				'=this.ORDER_DELIVERY_BASKET_ID' => 'ref.ID'
			)
		),
		'BASKET_ID' => array(
			'data_type' => 'integer',
			'required' => true,
			'title' => Loc::getMessage('STORE_BARCODE_ENTITY_BASKET_ID_FIELD'),
		),
		'BARCODE' => array(
			'data_type' => 'string',
			'validation' => array(__CLASS__, 'validateBarcode'),
			'title' => Loc::getMessage('STORE_BARCODE_ENTITY_BARCODE_FIELD'),
		),
		'MARKING_CODE' => array(
			'data_type' => 'string',
			'title' => Loc::getMessage('STORE_BARCODE_ENTITY_MARKING_CODE_FIELD'),
		),
		'STORE_ID' => array(
			'data_type' => 'integer',
			'title' => Loc::getMessage('STORE_BARCODE_ENTITY_STORE_ID_FIELD'),
		),
		'QUANTITY' => array(
			'data_type' => 'float',
			'required' => true,
			'title' => Loc::getMessage('STORE_BARCODE_ENTITY_QUANTITY_FIELD'),
		),
		'DATE_CREATE' => array(
			'data_type' => 'datetime',
			'title' => Loc::getMessage('STORE_BARCODE_ENTITY_DATE_CREATE_FIELD'),
		),
		'DATE_MODIFY' => array(
			'data_type' => 'datetime',
			'title' => Loc::getMessage('STORE_BARCODE_ENTITY_DATE_MODIFY_FIELD'),
		),
		'CREATED_BY' => array(
			'data_type' => 'integer',
			'title' => Loc::getMessage('STORE_BARCODE_ENTITY_CREATED_BY_FIELD'),
		),
		'MODIFIED_BY' => array(
			'data_type' => 'integer',
			'title' => Loc::getMessage('STORE_BARCODE_ENTITY_MODIFIED_BY_FIELD'),
		),
	);
}