• Модуль: sale
  • Путь к файлу: ~/bitrix/modules/sale/lib/cashbox/internals/cashboxcheck.php
  • Класс: BitrixSaleCashboxInternalsCashboxCheckTable
  • Вызов: CashboxCheckTable::getMap
static function getMap()
{
	return array(
		'ID' => array(
			'primary' => true,
			'autocomplete' => true,
			'autoincrement' => true,
			'data_type' => 'integer',
		),
		'PAYMENT_ID' => array(
			'data_type' => 'integer',
		),
		'PAYMENT' => array(
			'data_type' => 'BitrixSaleInternalsPaymentTable',
			'reference' => array(
				'=this.PAYMENT_ID' => 'ref.ID'
			)
		),
		'SHIPMENT_ID' => array(
			'data_type' => 'integer',
		),
		'ORDER_ID' => array(
			'data_type' => 'integer',
		),
		'EXTERNAL_UUID' => array(
			'data_type' => 'string',
		),
		'CASHBOX_ID' => array(
			'data_type' => 'integer',
		),
		'CNT_FAIL_PRINT' => array(
			'data_type' => 'integer',
			'default' => 0
		),
		'CASHBOX' => array(
			'data_type' => 'BitrixSaleCashboxInternalsCashboxTable',
			'reference' => array(
				'=this.CASHBOX_ID' => 'ref.ID'
			)
		),
		'DATE_CREATE' => array(
			'data_type' => 'datetime',
			'required' => true
		),
		'DATE_PRINT_START' => array(
			'data_type' => 'datetime',
		),
		'DATE_PRINT_END' => array(
			'data_type' => 'datetime',
		),
		'SUM' => array(
			'data_type' => 'float',
		),
		'CURRENCY' => array(
			'data_type' => 'string',
		),
		'LINK_PARAMS' => array(
			'data_type' => 'string',
			'serialized' => true
		),
		'TYPE' => array(
			'data_type' => 'string',
			'required' => true
		),
		'STATUS' => array(
			'data_type' => 'string',
		),
		'CHECK2CASHBOX' => array(
			'data_type' => 'BitrixSaleCashboxInternalsCheck2CashboxTable',
			'reference' => array(
				'=this.ID' => 'ref.CHECK_ID'
			),
			'join_type' => 'INNER'
		),
		'ENTITY_REGISTRY_TYPE' => array(
			'data_type' => 'string',
			'required' => true
		),
		'ERROR_MESSAGE' => array(
			'data_type' => 'text',
		),
	);
}