webERP Forum
Sales order won't generate work orders - Printable Version

+- webERP Forum (http://www.weberp.org/forum)
+-- Forum: webERP Discussion (http://www.weberp.org/forum/forumdisplay.php?fid=1)
+--- Forum: Problems / Bugs? (http://www.weberp.org/forum/forumdisplay.php?fid=8)
+--- Thread: Sales order won't generate work orders (/showthread.php?tid=8632)



Sales order won't generate work orders - Jeff Harr - 07-13-2021

I have an installation of webERP that is set to automatically generate work orders when a sales order is completed. This was working fine for over a year, then suddenly stopped working. I doesn't give an error message, just hangs, and doesn't create the sales order or the work orders. The hosting company claims that there haven't beenĀ  any recent changes to PHP, but I can't think of what else it could be. What type of change would cause this problem?


RE: Sales order won't generate work orders - TurboPT - 07-13-2021

Which weberp version?

Are you able to check the webserver logs
that could possibly have some helpful info?

Somewhere in the control panel may show you
the versions of PHP and MySQL (or MariaDB)

But if not easily found:
From a command line, check the PHP version with: php -v
For the database, check the version with query: SELECT VERSION();
(The DB version also shows after login to the mysql terminal too)

There have not been any recent changes, so this could be something new.


RE: Sales order won't generate work orders - Jeff Harr - 07-14-2021

I'm using webERP version 4.14.1. The default verision of PHP was 7.2 on the server. I changed the site to use PHP 5.4. Now the Auto Create Work Orders seems to be working. I need to test some more though.


RE: Sales order won't generate work orders - TimSchofield - 07-21-2021

I have tried this on 7.2 and 8.0 and it appears to create the work orders without a problem. 4.14.1 is quite old. I suspect it was before the changes for PHP7 were completed. It maybe you need to update the version of webERP you are using.

Tim