How to get stock balance of item

Is there any way to get stock balance of an item

hi,

i am trying to find remaining stock of item.

i don’t want to write any database fetch query

like in stock balance ledger

what i have been tired so far is this


from erpnext.stock.report.stock_ledger.stock_ledger import execute

  def get_stock_ledger():
        filters={"from_date":2018-06-09,"to_date":2018-06-12",item_group:" ",item_code:" "}
        columns, data = execute(filters)
        print data

Output = []
but when i go to stock ledger entry i can see items in my warehouse

@nabinhait
thanks for the link

this will help me thanks

1 Like