Hi all,

am not able to post any new journal entry and the system keeps giving me the JV-00100 is in use, why cant the system take another number then ? even though the JV serial# is JV-00948 at the current moment please advice.

{‘retry’: 0, ‘log’: <function log at 0x2b926e0>, ‘site’: u’’, ‘event’: u’daily’, ‘method_name’: u’erpnext.accounts.doctype.asset.depreciation.post_depreciation_entries’, ‘method’: <function post_depreciation_entries at 0x2b9b2a8>, ‘user’: u’Administrator’, ‘kwargs’: {}, ‘async’: True, ‘job_name’: u’erpnext.accounts.doctype.asset.depreciation.post_depreciation_entries’}
Traceback (most recent call last):
File “/home/frappe/benches/bench-2017-07-20/apps/frappe/frappe/utils/”, line 66, in execute_job
File “/home/frappe/benches/bench-2017-07-20/apps/erpnext/erpnext/accounts/doctype/asset/”, line 18, in post_depreciation_entries
make_depreciation_entry(asset, date)
File “/home/frappe/benches/bench-2017-07-20/apps/erpnext/erpnext/accounts/doctype/asset/”, line 65, in make_depreciation_entry
File “/home/frappe/benches/bench-2017-07-20/apps/frappe/frappe/model/”, line 741, in submit
File “/home/frappe/benches/bench-2017-07-20/apps/frappe/frappe/model/”, line 730, in _submit
File “/home/frappe/benches/bench-2017-07-20/apps/frappe/frappe/model/”, line 230, in save
return self._save(*args, **kwargs)
File “/home/frappe/benches/bench-2017-07-20/apps/frappe/frappe/model/”, line 253, in _save
File “/home/frappe/benches/bench-2017-07-20/apps/frappe/frappe/model/”, line 207, in insert
raise e
DuplicateEntryError: (u’Journal Entry’, u’JV-00100’, IntegrityError(1062, “Duplicate entry ‘JV-00100’ for key ‘PRIMARY’”))


can you share the data sent to API ? or try post request without name argument in the POST data

how can i send the data to API ? or to post without name argument please clarify

Not send to API, but data that was sent to API. You can get that from your browser console under “network monitor” if you are using Chrome. Navigate to the page to reproduce the problem. Before you click “save”, clear the network calls. After you click save you would easily be able to locate the request and get the required information.