refactor: refs #7505 Added description
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Guillermo Bonet 2024-06-11 13:53:41 +02:00
parent 4f10a93584
commit 3bd596e5fd
1 changed files with 8 additions and 0 deletions

View File

@ -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)