Problem on submit Delivery Note

We just got the error when we are doing submit DN ( Delivery NOte ) after quality inspection completed

Insufficient Stock
18.0 units of Item 5018200004 needed in Warehouse 1 to complete this transaction.

Of course, we have enough amount in warehouse 1.
several DNs affected and we don’t know what’s wrong.
Is there any debug or log file can be used to troubleshooting?

ERPnext ver 12.10.1
Frappe ver 12.8.1

Check the Stock Balance report for the item against the warehouse for the date the DN is created. The error indicates that stock is insufficient for that particular date.

Thanks for the quick response. Yeah you are right absolutely.
My issue fixed.:smile: