Integrating the EDI module w third party fulfillment companies

Posts: 15
Joined: 11/19/2007
Bug Finder

So the EDI module is pretty neat, and I can get it to save filess containing order info, and hopefully later to import files that come from out fulfillment company with data pertaining to orders that have been packaged and shipped. What I'm puzzling about now, is: how do I get these files to them?, from the directory that EDI saves them in, and how do we get the files that the fulfillment house creates into the directory that EDI will read them from.; One possible scheme that I've thought of is writing a custom module that will allow a user of roletype fulfillmenthouseperson to A) download a file generated by EDI (from a special content type node), and B) allow fulfillmenthouseperson to edit a contenttype that will enable them to upload new files for EDI; saving it to the directory that EDI is going to look in.

So ... what I'm wondering is has anyone dealt w this kind of problem before? what kind of scheme did you use? Is there a better way?

Posts: 42
Joined: 10/01/2007

My shipping house uses FTP so I have the EDI module write a file into a folder out side of my drupal installation, the shipping house scans the folder for a file every 15 minutes. I have the EDI module export orders every hour. The shipping house then uploads the return file to another folder which EDI module picks up and imports. The module will them move the files to archive folders. Just the way we do it.

Hope it helps.

J -