Submit Delivery Note - Did Not Save

Hi, Why am I getting this message? What can I check?



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 Joven,

This could be an uncaught error. Can you check the browser's javascript console if there is any error trace there?

Thanks,
Anand.


On Fri, Jan 3, 2014 at 11:33 AM, Joven Chiew <jo...@gmail.com> wrote:
Hi, Why am I getting this message? What can I check?



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.

Check your javascript console.

Also post such queries on the developer forum.

On Friday, January 3, 2014 11:33:35 AM UTC+5:30, Joven Chiew wrote:
Hi, Why am I getting this message? What can I check?



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.

Ok, this is what it says:

Traceback (innermost last): File "lib/webnotes/widgets/form/save.py", line 18, in savedocs getattr(wrapper, action.lower())() File "lib/webnotes/model/bean.py", line 321, in submit self.run_method('on_submit') File "lib/webnotes/model/bean.py", line 239, in run_method getattr(self.controller, method)(*args, **kwargs) File "app/stock/doctype/delivery_note/delivery_note.py", line 163, in on_submit self.make_gl_entries() File "app/controllers/stock_controller.py", line 23, in make_gl_entries make_gl_entries(gl_entries) File "app/accounts/general_ledger.py", line 18, in make_gl_entries save_entries(gl_map, adv_adj, update_outstanding) File "app/accounts/general_ledger.py", line 63, in save_entries validate_account_for_auto_accounting_for_stock(gl_map) File "app/accounts/general_ledger.py", line 92, in validate_account_for_auto_accounting_for_stock if gl_map[0].voucher_type=="Journal Voucher": IndexError: list index out of range
Traceback (innermost last): File "lib/webnotes/handler.py", line 78, in handle execute_cmd(cmd) File "lib/webnotes/handler.py", line 118, in execute_cmd ret = call(method, webnotes.form_dict) File "lib/webnotes/handler.py", line 140, in call return fn(**newargs) File "lib/webnotes/widgets/form/save.py", line 18, in savedocs

On Friday, 3 January 2014 14:55:32 UTC+8, Anand Doshi wrote:
Hi Joven,

This could be an uncaught error. Can you check the browser's javascript console if there is any error trace there?

Thanks,
Anand.


On Fri, Jan 3, 2014 at 11:33 AM, Joven Chiew <jo...@gmail.com> wrote:
Hi, Why am I getting this message? What can I check?



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.

Can anyone advice or help me on this?

On Friday, 3 January 2014 15:00:12 UTC+8, Joven Chiew wrote:
Ok, this is what it says:

Traceback (innermost last): File "lib/webnotes/widgets/form/save.py", line 18, in savedocs getattr(wrapper, action.lower())() File "lib/webnotes/model/bean.py", line 321, in submit self.run_method('on_submit') File "lib/webnotes/model/bean.py", line 239, in run_method getattr(self.controller, method)(*args, **kwargs) File "app/stock/doctype/delivery_note/delivery_note.py", line 163, in on_submit self.make_gl_entries() File "app/controllers/stock_controller.py", line 23, in make_gl_entries make_gl_entries(gl_entries) File "app/accounts/general_ledger.py", line 18, in make_gl_entries save_entries(gl_map, adv_adj, update_outstanding) File "app/accounts/general_ledger.py", line 63, in save_entries validate_account_for_auto_accounting_for_stock(gl_map) File "app/accounts/general_ledger.py", line 92, in validate_account_for_auto_accounting_for_stock if gl_map[0].voucher_type=="Journal Voucher": IndexError: list index out of range
Traceback (innermost last): File "lib/webnotes/handler.py", line 78, in handle execute_cmd(cmd) File "lib/webnotes/handler.py", line 118, in execute_cmd ret = call(method, webnotes.form_dict) File "lib/webnotes/handler.py", line 140, in call return fn(**newargs) File "lib/webnotes/widgets/form/save.py", line 18, in savedocs

On Friday, 3 January 2014 14:55:32 UTC+8, Anand Doshi wrote:
Hi Joven,

This could be an uncaught error. Can you check the browser's javascript console if there is any error trace there?

Thanks,
Anand.


On Fri, Jan 3, 2014 at 11:33 AM, Joven Chiew <jo...@gmail.com> wrote:
Hi, Why am I getting this message? What can I check?



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 should not be here - there was some data that was not validated earlier....

You also need to provide us data to replicate this.

Can you try on demo.erpnext.com and post the transaction number that fails?

On Friday, January 3, 2014 8:39:46 PM UTC+5:30, Joven Chiew wrote:
Can anyone advice or help me on this?

On Friday, 3 January 2014 15:00:12 UTC+8, Joven Chiew wrote:
Ok, this is what it says:

Traceback (innermost last): File "lib/webnotes/widgets/form/save.py", line 18, in savedocs getattr(wrapper, action.lower())() File "lib/webnotes/model/bean.py", line 321, in submit self.run_method('on_submit') File "lib/webnotes/model/bean.py", line 239, in run_method getattr(self.controller, method)(*args, **kwargs) File "app/stock/doctype/delivery_note/delivery_note.py", line 163, in on_submit self.make_gl_entries() File "app/controllers/stock_controller.py", line 23, in make_gl_entries make_gl_entries(gl_entries) File "app/accounts/general_ledger.py", line 18, in make_gl_entries save_entries(gl_map, adv_adj, update_outstanding) File "app/accounts/general_ledger.py", line 63, in save_entries validate_account_for_auto_accounting_for_stock(gl_map) File "app/accounts/general_ledger.py", line 92, in validate_account_for_auto_accounting_for_stock if gl_map[0].voucher_type=="Journal Voucher": IndexError: list index out of range
Traceback (innermost last): File "lib/webnotes/handler.py", line 78, in handle execute_cmd(cmd) File "lib/webnotes/handler.py", line 118, in execute_cmd ret = call(method, webnotes.form_dict) File "lib/webnotes/handler.py", line 140, in call return fn(**newargs) File "lib/webnotes/widgets/form/save.py", line 18, in savedocs



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.