Please look at this picture, All the required formula has been mentioned below the columns.
for better clarity my request is...
Column Name "E" : Item open in current month + historical open items (Previous months Sum)
Column Name "F" Warehouse : open items - closed items.
Need of SQL query.. Thanks in advance !