7729-devToTest_2430 #2739
|
@ -5,6 +5,14 @@ CREATE OR REPLACE DEFINER=`root`@`localhost` PROCEDURE `vn`.`item_getVisible`(
|
|||
vItemFk INT
|
||||
)
|
||||
BEGIN
|
||||
/**
|
||||
* Calcula el visible de un artículo o de todos.
|
||||
*
|
||||
* @param vWarehouse Warehouse id
|
||||
* @param vDated Max date to filter
|
||||
* @param vItemFk Item id
|
||||
* @param tmp.itemVisible(item_id, stock, visible)
|
||||
*/
|
||||
DECLARE vTomorrow DATETIME DEFAULT vDated + INTERVAL 1 DAY;
|
||||
|
||||
INSERT INTO tmp.itemVisible (item_id, visible)
|
||||
|
|
Loading…
Reference in New Issue