Error in Creating Delivery Note

54 views
Skip to first unread message

Sultan Ghaznawi

unread,
May 14, 2014, 7:19:34 PM5/14/14
to erpnext-dev...@googlegroups.com
Hello,

I am trying to create my first delivery note on a freshly installed instance. I have entered about 80 items in the stock, created the price list etc. I have set the Re-Order Level to 10 in the item form. In the delivery note, I have set the item quantity as 8. when I try to submit the delivery note, I get the following error:

Negative stock error:
Cannot complete this transaction because stock will start
becoming negative (-8.0) for Item LJ-3233 in Warehouse
Stores - LJ on 2014-01-01 16:06:00 in Transaction Delivery Note DN00001.
Total Quantity Deficiency: 8.0

I know I am doing something wrong here. Please let me know what course of action would fix this.

Thanks,

Sultan

Umair Sayyed

unread,
May 15, 2014, 5:23:16 AM5/15/14
to erpnext-dev...@googlegroups.com
Hello,

Following are the possibility of negative stock error.
  1. Posting Date:

    Posting Date in Delivery Note is before Posting Date of Stock Reconciliation, or whichever entry you made to update opening balance of stock.

    Posting Date of Delivery Note should be after opening entries' date.

  2. Stock in Warehouse:

    Warehouse selected doesn't have stock for that item. Check if you have entered correct warehouse for item.

Hope this helps.



--
Note:
 
If you are posting an issue,
1. We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
2. Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
3. For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
 
End of Note
---
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/bbad33f9-f191-459f-b7ed-48d5027b8573%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.



--
Thanks and Regards,
Umair Sayyed
www.erpnext.com

Sultan Ghaznawi

unread,
May 15, 2014, 6:27:22 AM5/15/14
to erpnext-dev...@googlegroups.com
Hello Umair,

Thanks for responding. Posting date in the delivery note is after the date of stock item creation (the item was manually created). The warehouse in question is actually the warehouse showing in the item page under the Re-order heading.

I tried to run the Stock Ledger report to see if it has any record of the item, but the report turns out empty. I have entered about 70 items so far. Do you think it has anything to do with the stock ledger not getting updated? On the same note, I do not see a report where I could query only the warehouse in question to see what items are assigned to it.

Your help is greatly appreciated!

Sultan
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+unsub...@googlegroups.com.

Nabin Hait

unread,
May 15, 2014, 6:41:19 AM5/15/14
to erpnext-dev...@googlegroups.com
Looking like you did not updated opening stock balance. After creation of item record, have you created Stock Reconciliation or Stock Entry to update opening stock balance?

If you do not have opening stock balance, you must do purchase entry to deliver that item.

If you want that system should allow to deliver item, even if it is not available in the warehouse, go to Stock -> Stock Settings and check on "Allow Negative Stock".

To know more about Stock module, check https://frappe.io/apps/erpnext/user-guide/stock

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/7e5b153c-d2de-4ffc-8513-69e0d9e7c482%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages