screnshaw
03/16/2022, 1:57 PMsum/* comment */({quantity}-NVL({item.locationquantitybackordered}, 0)) OVER(PARTITION BY {item} ORDER BY {tranid} ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW)
screnshaw
03/16/2022, 1:59 PMsum/* comment */({quantity}) OVER(PARTITION BY {item} ORDER BY {tranid} ROWS BETWEEN UNBOUNDED PRECEDING AND CURRENT ROW) - NVL({item.locationquantitybackordered}, 0)