Merge pull request 'fix: refs #194195 item_getAtp' (!2589) from 194195-hotFixRadarNegativos into master
gitea/salix/pipeline/head This commit looks good
Details
gitea/salix/pipeline/head This commit looks good
Details
Reviewed-on: #2589 Reviewed-by: Carlos Andrés <carlosap@verdnatura.es>
This commit is contained in:
commit
a54db91e74
|
@ -33,7 +33,7 @@ BEGIN
|
|||
FROM (
|
||||
SELECT
|
||||
itemFk,
|
||||
IF(itemFk <> @lastItemFk OR wareHouseFk <> @lastWareHouseFk,
|
||||
IF(itemFk <> @lastItemFk OR wareHouseFk <> @lastWareHouseFk OR wareHouseFk IS NULL,
|
||||
@lastQuantity := quantity,
|
||||
@lastQuantity := @lastQuantity + quantity) quantityAccumulated,
|
||||
wareHouseFk,
|
||||
|
|
Loading…
Reference in New Issue