Are there steps/order to submit DN?

Hi, I have encounter "Did Not Save" error when submitting DN but no more information than that.

Are there steps I must ensure or sequence? I believe the system is doing it's job to prevent something illogical so, 
what do I have to pay special attention too?  Can the message be more self explanatory rather than "Did Not Save" but why?



You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.

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

For more options, visit https://groups.google.com/groups/opt_out.

Please check browser's console message and share via pastebin.com/github gist. If you are using google chrome, the when you are getting "Did not save" message, press Ctrl + Shift + J, to check console message.


On 22-Jan-2014, at 10:11 AM, cjbon wrote:

Hi, I have encounter "Did Not Save" error when submitting DN but no more information than that.

Are there steps I must ensure or sequence? I believe the system is doing it's job to prevent something illogical so, 
what do I have to pay special attention too?  Can the message be more self explanatory rather than "Did Not Save" but why?



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.

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

For more options, visit https://groups.google.com/groups/opt_out.

Thanks. It's here: http://pastebin.com/XJyssHeM

On Wednesday, 22 January 2014 12:50:11 UTC+8, Nabin Hait wrote:
Please check browser's console message and share via pastebin.com/github gist. If you are using google chrome, the when you are getting "Did not save" message, press Ctrl + Shift + J, to check console message.


On 22-Jan-2014, at 10:11 AM, cjbon wrote:

Hi, I have encounter "Did Not Save" error when submitting DN but no more information than that.

Are there steps I must ensure or sequence? I believe the system is doing it's job to prevent something illogical so, 
what do I have to pay special attention too?  Can the message be more self explanatory rather than "Did Not Save" but why?



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.

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

For more options, visit https://groups.google.com/groups/opt_out.

We could not replicate the error at our end. Can you replicate the data and the error in demo.erpnext.com?

On 22-Jan-2014, at 10:23 AM, cjbon wrote:

Thanks. It's here: http://pastebin.com/XJyssHeM

On Wednesday, 22 January 2014 12:50:11 UTC+8, Nabin Hait wrote:
Please check browser's console message and share via pastebin.com/github gist. If you are using google chrome, the when you are getting "Did not save" message, press Ctrl + Shift + J, to check console message.


On 22-Jan-2014, at 10:11 AM, cjbon wrote:

Hi, I have encounter "Did Not Save" error when submitting DN but no more information than that.

Are there steps I must ensure or sequence? I believe the system is doing it's job to prevent something illogical so, 
what do I have to pay special attention too?  Can the message be more self explanatory rather than "Did Not Save" but why?



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.





You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.




You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.

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

For more options, visit https://groups.google.com/groups/opt_out.

Hi, 

Please share browser console message, press Ctrl + Shift + J if you are using Google Chrome. 

Regards,
Akhilesh Darjee

----- Reply message -----
From: "cjbon" <jo...@gmail.com>
To: <er...@googlegroups.com>
Subject: [erpnext-user-forum] Are there steps/order to submit DN?
Date: Wed, Jan 22, 2014 10:11 AM

Hi, I have encounter "Did Not Save" error when submitting DN but no more information than that.

Are there steps I must ensure or sequence? I believe the system is doing it's job to prevent something illogical so, 
what do I have to pay special attention too?  Can the message be more self explanatory rather than "Did Not Save" but why?



You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.

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

For more options, visit https://groups.google.com/groups/opt_out.



You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.

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

For more options, visit https://groups.google.com/groups/opt_out.

Thanks you guys for helping:

  1. Traceback (innermost last):
  2.   File "lib/webnotes/widgets/form/save.py", line 18, in savedocs
  3.     getattr(wrapper, action.lower())()
  4.   File "lib/webnotes/model/bean.py", line 321, in submit
  5.     self.run_method('on_submit')
  6.   File "lib/webnotes/model/bean.py", line 239, in run_method
  7.     getattr(self.controller, method)(*args, **kwargs)
  8.   File "app/stock/doctype/delivery_note/delivery_note.py", line 163, in on_submit
  9.     self.make_gl_entries()
  10.   File "app/controllers/stock_controller.py", line 23, in make_gl_entries
  11.     make_gl_entries(gl_entries)
  12.   File "app/accounts/general_ledger.py", line 18, in make_gl_entries
  13.     save_entries(gl_map, adv_adj, update_outstanding)
  14.   File "app/accounts/general_ledger.py", line 63, in save_entries
  15.     validate_account_for_auto_accounting_for_stock(gl_map)
  16.   File "app/accounts/general_ledger.py", line 92, in validate_account_for_auto_accounting_for_stock
  17.     if gl_map[0].voucher_type=="Journal Voucher":
  18.  IndexError: list index out of range

On Wednesday, 22 January 2014 14:09:43 UTC+8, Akhilesh Darjee wrote:
Hi, 

Please share browser console message, press Ctrl + Shift + J if you are using Google Chrome. 

Regards,
Akhilesh Darjee

----- Reply message -----
From: "cjbon" <jo...@gmail.com>
To: <erpnext-u...@googlegroups.com>
Subject: [erpnext-user-forum] Are there steps/order to submit DN?
Date: Wed, Jan 22, 2014 10:11 AM

Hi, I have encounter "Did Not Save" error when submitting DN but no more information than that.

Are there steps I must ensure or sequence? I believe the system is doing it's job to prevent something illogical so, 
what do I have to pay special attention too?  Can the message be more self explanatory rather than "Did Not Save" but why?



You received this message because you are subscribed to the Google Groups “ERPNext User’s Forum” group.

To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-user-forum+un…@googlegroups.com.

For more options, visit https://groups.google.com/groups/opt_out.



You received this message because you are subscribed to the Google Groups "ERPNext User's Forum" group.

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

For more options, visit https://groups.google.com/groups/opt_out.