incremental balance for each item
ser item_code qty
1 1 100
2 1 -20
3 1 -40
4 1 30
5 2 50
6 2 80
7 2 -60
8 3 60
9 3 -50
i need the output
ser item_code qty inc_bal
1 1 100 100
2 1 -20 80
3 1 -40 40
4 1 30 70
5 2 50 50
6 2 80 130
7 2 -60 70
8 3 60 60
9 3 -50 10