feat: refs#6493 Cambios solicitados procedimientos

This commit is contained in:
Juanjo Breso 2024-04-23 14:05:48 +02:00
parent d7e4dd4fc7
commit d1c72a0be3
1 changed files with 1 additions and 1 deletions

View File

@ -25,7 +25,7 @@ proc: BEGIN
-- Calcula algunos parámetros necesarios.
SET vDatedFrom = TIMESTAMP(vDated, '00:00:00');
SET vDatedTo = TIMESTAMP(TIMESTAMPADD(DAY, 4, vDated), '23:59:59');
SET vDatedTo = TIMESTAMP(vDated + INTERVAL 4 DAY, '23:59:59');
SELECT inventoried INTO vDatedInventory FROM config;
SELECT SUBTIME(util.VN_NOW(), reserveTime) INTO vDatedReserve
FROM hedera.orderConfig;