I need help getting the warehouse in which a batch is being stored. To do this I am trying to access the “Stock Levels” section in the batch doctype, section shown in the image below. However, I can’t seem to find it in the form using “cur_frm”.
How can I access that? Or is there another way to get the warehouse the batch is stored in?