CREATE OR REPLACE DEFINER=`root`@`localhost`
	SQL SECURITY DEFINER
	VIEW `vn2008`.`Articles`
AS SELECT `i`.`id` AS `Id_Article`,
	`i`.`name` AS `Article`,
	`i`.`typeFk` AS `tipo_id`,
	`i`.`size` AS `Medida`,
	`i`.`inkFk` AS `Color`,
	`i`.`category` AS `Categoria`,
	`i`.`stems` AS `Tallos`,
	`i`.`originFk` AS `id_origen`,
	`i`.`description` AS `description`,
	`i`.`producerFk` AS `producer_id`,
	`i`.`intrastatFk` AS `Codintrastat`,
	`i`.`box` AS `caja`,
	`i`.`expenseFk` AS `expenseFk`,
	`i`.`comment` AS `comments`,
	`i`.`relevancy` AS `relevancy`,
	`i`.`image` AS `Foto`,
	`i`.`generic` AS `generic`,
	`i`.`density` AS `density`,
	`i`.`minPrice` AS `PVP`,
	`i`.`hasMinPrice` AS `Min`,
	`i`.`isActive` AS `isActive`,
	`i`.`longName` AS `longName`,
	`i`.`subName` AS `subName`,
	`i`.`tag5` AS `tag5`,
	`i`.`value5` AS `value5`,
	`i`.`tag6` AS `tag6`,
	`i`.`value6` AS `value6`,
	`i`.`tag7` AS `tag7`,
	`i`.`value7` AS `value7`,
	`i`.`tag8` AS `tag8`,
	`i`.`value8` AS `value8`,
	`i`.`tag9` AS `tag9`,
	`i`.`value9` AS `value9`,
	`i`.`tag10` AS `tag10`,
	`i`.`value10` AS `value10`,
	`i`.`minimum` AS `minimum`,
	`i`.`upToDown` AS `upToDown`,
	`i`.`hasKgPrice` AS `hasKgPrice`,
	`i`.`equivalent` AS `Equivalente`,
	`i`.`isToPrint` AS `Imprimir`,
	`i`.`doPhoto` AS `do_photo`,
	`i`.`created` AS `odbc_date`,
	`i`.`isFloramondo` AS `isFloramondo`,
	`i`.`supplyResponseFk` AS `supplyResponseFk`,
	`i`.`stemMultiplier` AS `stemMultiplier`,
	`i`.`itemPackingTypeFk` AS `itemPackingTypeFk`,
	`i`.`packingOut` AS `packingOut`
FROM `vn`.`item` `i`
