CREATE OR REPLACE DEFINER=`root`@`localhost`
	SQL SECURITY DEFINER
	VIEW `vn2008`.`warehouse`
AS SELECT `w`.`id` AS `id`,
	`w`.`name` AS `name`,
	`w`.`isInventory` AS `inventario`,
	`w`.`isFeedStock` AS `fuente`,
	`w`.`isComparative` AS `is_comparative`,
	`w`.`hasComission` AS `comisionantes`,
	`w`.`hasAvailable` AS `reserve`,
	`w`.`isManaged` AS `isManaged`,
	`w`.`isForTicket` AS `tpv`,
	`w`.`hasStowaway` AS `hasStowaway`,
	`w`.`hasDms` AS `hasDms`,
	`w`.`addressName` AS `address_name`,
	`w`.`delay` AS `delay`,
	`w`.`countryFk` AS `Id_Paises`,
	`w`.`labelZone` AS `zone_label`,
	`w`.`valuatedInventory` AS `valuatedInventory`,
	`w`.`hasConfectionTeam` AS `hasConfectionTeam`
FROM `vn`.`warehouse` `w`
