This module provides some simple EDI order import and export functionality. This is useful for stores working with fulfillment houses where orders are passed back and forth in some predetermined format for shipping. The current module assumes some sort of FTP based system and will handle automatic archiving of import files automatically.
The module was developed to be flexible so the import and export strings could be tweaked for different uses. It supports importing and exporting tab, comma, or pipe delimited files and has a simple scripting system that allows different rules to be processed on imports. The module handles exports/imports during cron runs or manually by administrators and works based off of configurable order statuses.
The admin menu to manually import or export orders and reset the cron timers is available at /admin/store/orders/edi.
The admin menu to configure your EDI settings (cron runs, order statuses, import and export formats, etc.) is available at /admin/store/settings/edi/. Instructions for setting your formats may be found in the help text for the different fields.
Please post any bugs or install issues to the issue tracker on drupal.org. 



Headers
Is it possible to add a header to the export file ?
Re: Headers
Hmm... not right now, but it would be easy enough for you to add it in the code.
headers 2
hmm, ok

not sure how to add it in the code (I can read php, but writing is different
also I'm not sure if this is really the right module, I need to export orders (of any kind) so that a filemaker program can read it ... (it's what the client wants
Do you know of any other expor.module ?
And maybe do you know if ubercart is going to include this or an export option in the core ?
It would seem a really needed, and handy feature, out of the box
Good works so! this module already helped a lot
Import orders from scratch
It seems it is not possible to create orders with the EDI import functionality. Isn't it ?
Re: Import orders from scratch
Correct.
Upgrading
Hey, I just upgraded to the new one on D.org... I didn't see anything come up in the update.php script, so I'm assuming that there is no db schema change, correct?
Secondly, any reason why the tokens aren't (don't seem to be) using Ubercart's standard tokens? (or does it, and I just don't know what I'm talking about). I suppose this question is relevant, since the latest version of this module provides more tokens/keys to work with than the previous version did.
Lastly, would there be any way to get this setup to export a second order pattern based on the country of the order delivery address? I.e. I am in Canada, and I need to tell UPS that an order is going to the US, and therefore it knows to print up some extra labels for customs clearance. The only way I can see doing this is by exporting 1 pattern for Canadian orders and 1 pattern for US orders... is that making sense?
Weight Token/Key
I'm using this great export tool to export orders to UPS Connect, and then have it re-import the tracking info that the system spits out.
It seems to be able to build a compatible comma separated line for each order, however I can't seem to find a token/key that represents the total weight of the products that have been ordered. I can get the quantity & SKU, which is great... but is there a way to add up the weights of the products and output that to a token/key that can be used in EDI?
Re: Weight Token/Key
Hi, Did you find a solution to this?
===
Elvis McNeely
Blogging about Drupal and web development: http://www.elvisblogs.org/drupal
Offering Drupal, eCommerce and Web services: http://www.lafayetteweb.com
Product Export Format
Maybe helpful to some:
I modified the uc_edi module a bit to allow the order export format tokens to be used in the product export format as well. This is because my fulfilment house required a format that needed each product line to include the shipping information. This allows edi output files like the following:
Also here is the code I wrote to connect to and read write from my fulfillment houses ftp server to interact with Ryan's EDI moduel and change the order status to Completed and notify the customer the product has been shipped with the tracking info:
@poppers: I can't get this
@poppers:
I can't get this work. Where do I put the product export format tokens? Will you post up a screen shot of your EDI settings page?
Thanks,
Clint