refactor: refs #6453 Minor changes
gitea/salix/pipeline/pr-dev There was a failure building this commit Details

This commit is contained in:
Guillermo Bonet 2024-07-10 11:29:14 +02:00
parent 7e415181c2
commit 15f580508b
1 changed files with 2 additions and 1 deletions

View File

@ -55,7 +55,8 @@ BEGIN
WHERE o.id = vSelf WHERE o.id = vSelf
AND r.warehouseFk = vWarehouseFk AND r.warehouseFk = vWarehouseFk
AND r.amount AND r.amount
ORDER BY i.itemPackingTypeFk DESC; -- El último siempre NULL!! ORDER BY i.itemPackingTypeFk DESC;
-- El último siempre NULL, es imprescindible para la lógica !!!
DECLARE vRows CURSOR FOR DECLARE vRows CURSOR FOR
SELECT r.id, SELECT r.id,