Comment 6 for bug 1218423

Revision history for this message
Jason Stephenson (jstephenson) wrote :

Here's a better way to handle failed to send purchase orders:

https://pastebin.com/TsX9iAnn

Put this on on a server with access to an OpenSRF private router, preferably a utility server. Run it with the ids of failed purchase orders as the command line arguments, and the program will figure out the best way to get the messages resent to the vendor.

Quite frankly, the entire EDI process could benefit from a major code overhaul. The problems start down in the RemoteAccount module and bubble all the way up the support scripts for pushing and retrieving messages. That, however, should be dealt with in another bug.