Version 15 Batch

Hello. I am setting up ErpNext v15. I’m having problems with batches. I am doing a delivery note and getting error saying my stock is negative. But I did a purchase receipt before so the batch says the stock is positive. I don’t understand what am i doing wrong.
Please help
Thank you


Please check the warehouse, if the warehouse is proper then check the posting date and time according to the stock.

Check for open the stock ledger and check the last stock date and time according to the warehouse and batch.

I hope this helps.

Thank You!

Hey thank you for your reply. You were right, the dates were wrong. I did the purchase receipt at today’s date but was doing the delivery note at a past date!!

Thanks again