#7864 - 7864_testToMaster_2434 #2867
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue