Calculate Inventory running total

I’m sure there has been a newer post on this topic, but here is one where @josecgomez provided a -1, 0 or 1 against each Tran Type indicating what effect it has to stock.