2024-07-22 09:52:42 +00:00
|
|
|
CREATE OR REPLACE DEFINER=`vn-admin`@`localhost`
|
2024-01-15 11:31:03 +00:00
|
|
|
SQL SECURITY DEFINER
|
|
|
|
VIEW `bi`.`rotacion`
|
|
|
|
AS SELECT `ic`.`itemFk` AS `Id_Article`,
|
|
|
|
`ic`.`warehouseFk` AS `warehouse_id`,
|
|
|
|
`ic`.`quantity` AS `total`,
|
|
|
|
`ic`.`rotation` AS `rotacion`,
|
|
|
|
`ic`.`cm3` AS `cm3`,
|
|
|
|
`ic`.`storage` AS `almacenaje`,
|
|
|
|
`ic`.`handling` AS `manipulacion`,
|
|
|
|
`ic`.`extraCharge` AS `auxiliar`,
|
|
|
|
`ic`.`wasted` AS `mermas`,
|
|
|
|
`ic`.`cm3delivery` AS `cm3reparto`,
|
|
|
|
`ic`.`grams` AS `grams`
|
|
|
|
FROM `vn`.`itemCost` `ic`
|