How to fix Dataerror Out of range value for column

Hello guys.
I really need your assistance to fix this out of range value issue. am trying to submit a value on workflow change but am getting this error
“pymysql.err.DataError: (1264, “Out of range value for column ‘committed_total’ at row 1”)”
committed_total is a custom field on parent form not in a child table. am auto summing other custom fields on parent to get committed_total.


May we know the app that error is happening in? Is the column stock or custom?

thank you.
it is custom doctype

Traceback (most recent call last):
File “apps/frappe/frappe/”, line 69, in application
response = frappe.api.handle()
File “apps/frappe/frappe/”, line 55, in handle
return frappe.handler.handle()
File “apps/frappe/frappe/”, line 38, in handle
data = execute_cmd(cmd)
File “apps/frappe/frappe/”, line 76, in execute_cmd
return, **frappe.form_dict)
File “apps/frappe/frappe/”, line 1473, in call
return fn(*args, **newargs)
File “apps/frappe/frappe/”, line 181, in set_value
File “apps/frappe/frappe/model/”, line 312, in save
return self._save(*args, **kwargs)
File “apps/frappe/frappe/model/”, line 363, in _save
File “apps/frappe/frappe/model/”, line 463, in db_update
File “apps/frappe/frappe/database/”, line 187, in sql
self._cursor.execute(query, values)
File “env/lib/python3.8/site-packages/pymysql/”, line 148, in execute
result = self._query(query)
File “env/lib/python3.8/site-packages/pymysql/”, line 310, in _query
File “env/lib/python3.8/site-packages/pymysql/”, line 548, in query
self._affected_rows = self._read_query_result(unbuffered=unbuffered)
File “env/lib/python3.8/site-packages/pymysql/”, line 775, in _read_query_result
File “env/lib/python3.8/site-packages/pymysql/”, line 1156, in read
first_packet = self.connection._read_packet()
File “env/lib/python3.8/site-packages/pymysql/”, line 725, in _read_packet
File “env/lib/python3.8/site-packages/pymysql/”, line 221, in raise_for_error
File “env/lib/python3.8/site-packages/pymysql/”, line 143, in raise_mysql_exception
raise errorclass(errno, errval)
pymysql.err.DataError: (1264, “Out of range value for column ‘committed_total’ at row 1”)

What is the datatype of committed_total and the datatype(s)s of the columns that are being summed? It may help to say show the code that autosums the columns as well.

Data type of committed_total is Currency

This issue has been resolved. mistake was made in a field data type