Hi Ashish,
1 way is you can write CMOD code to achieve this .
2 way is you can use a non-cumulative KF.
Create a N CKF -- where take Inflow as and out flow.
Inflow - Total QTY
Out flow- Issue Qty
same for value ...
Check the below link for more info on how the Non-Cumulative KF works.
Regards
KP