When I create an item and enable the batch option, then create a batch for it, I proceed to create a sales invoice with this item. After the sales invoice, I create a delivery note with the same item and try to set the batch number, but an error occurs.
Server Error
pymysql.err.OperationalError: (1054, “Unknown column ‘tabBatch.custom_company’ in ‘where clause’”)
What is this error
Hi,
Please check your Batch Doctype. Did you add any Custom Field to that?
Thanks,
Divyesh Mangroliya
1 Like
yes doctype has the custom_company field but it has name of company so cant delete this field .
Hi,
From the Awesome Base Search for “Custom Field List”
In the Custom Field List, Open the concerned field details and rename the field name from custom_compnay to company.
Thanks,
Divyesh Mangroliya