Hi everyone,
I've added a new integer field to the "salesLine" table and added some code to some methods of \Forms\SalesTable\DataSources\SalesLine, and this code works properly.
But this caused another problem. When creating a new sales order, I receive an error message indicating that "Item or Category must be specified." And it does not allow me to do anything but to stop the application from task manager and re-start it. I tried to debug the code and found that this matter is because of leaveRecord method in dataSource.
I also understood that this problem happens because of the added field itself (not my code). Because when I deleted the field from table, everything went back to its place.
Could anyone help why this error is being shown and how can I solve it?
Thanks in advance
*This post is locked for comments
I have the same question (0)