CREATE OR REPLACE DEFINER=`vn`@`localhost`
	SQL SECURITY DEFINER
	VIEW `vn2008`.`config_host`
AS SELECT `vn`.`host`.`code` AS `config_host_id`,
	`vn`.`host`.`warehouseFk` AS `warehouse`,
	`vn`.`host`.`companyFk` AS `empresaId`,
	`vn`.`host`.`bankFk` AS `caja`,
	`vn`.`host`.`printerFk` AS `Id_Impresora`,
	`vn`.`host`.`routeDaysBefore` AS `route_days_before`,
	`vn`.`host`.`routeDaysAfter` AS `route_days_after`
FROM `vn`.`host`
