Am having a warm time getting full stock level in my customer app. When i say full stock level i ment All Stock Entry, All Stock Reconcelation and all sales transaction. Example. Item 1 have 10 Quantity in stock as show in stock level.
This item can have stock entry, stock reconeclation and invoice in the stock ledger. The issess is stock ledger does not store the stock reconcelation like stock entry, stock reconcelation reset the stock at thet point. once the stock is reset you can add stock entry and other stock related transastion. My challeng is i need a way to just the final stock level from the api with out going through stock ledger and trying to calculate it.