Using EDI BOTS to email invoices

287 views
Skip to first unread message

Steven Hammond

unread,
Nov 30, 2011, 3:03:12 PM11/30/11
to bots...@googlegroups.com
We use EDI BOTS for all our EDI transactions. However, we have some trading partners (non-EDI) who want to have their invoices emailed to them. I'm wondering if I could use EDI BOTS to accomplish this. My thought is to have our ERP system generate the 810 XML (just like it does for all our EDI 810 invoices) and then somehow map it to an invoice template/form that could be emailed (using either EDI BOTS to email or just have the mapping process create the email message or better yet a PDF with the invoice that I could email). Does this sound doable?

Steve Hammond
Technical Chemical
Cleburne, TX


--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.

BikeMike

unread,
Nov 30, 2011, 4:24:51 PM11/30/11
to Bots Open Source EDI Translator
Hi Steve,
Certainly this is possible.
There is already a plugin somewhere on the bots website that maps
EDIFACT orders to a HTML page (think it's called EDI2FAX). So you
could do it like this.

If you want to do a PDF you can use ReportLab to create it in your
mapping script. The next Bots version to be released includes a "raw"
edi type to make this a bit easier to set up the output.

I think I already did an example plugin, will try to find it and post
here.

Kind Regards,
Mike

BikeMike

unread,
Nov 30, 2011, 4:26:31 PM11/30/11
to Bots Open Source EDI Translator
Message has been deleted

BikeMike

unread,
Dec 1, 2011, 2:22:59 AM12/1/11
to Bots Open Source EDI Translator
Hi Steve,
Attached is a demo mapping for EDIFACT orders to PDF. I didn't make it
into a plugin as it's based on edifact and so you would need the edifact
grammars etc. but it should give you some ideas to start with. ReportLab
toolkit is a dependency.

For the translation, specify raw as the editype. *

For the output channel use utf-8 charset.

* The "raw" type is only in the latest bots source not quite released
yet, but can be downloaded from google code. Prior to this mod you had
to do some fiddling in routescripts to replace the output file with the
generated PDF. You can probably still test without it but bots won't
write the final output, it will be "stuck".

Kind Regards,
Mike

Demo_EDI_to_PDF.py
translate_121___return_to=_admin_bots_translate_?q=pdf - Mozilla Firefox_2011-12-01_17-41-13.jpg
channel_to_5FTEST_5FPDF___return_to=_admin_bots_channel_?q=pdf&all= - Mo_2011-12-01_17-25-13.jpg
routes_143___return_to=_admin_bots_routes_?q=pdf - Mozilla Firefox_2011-12-01_17-48-03.jpg

Steven Hammond

unread,
Dec 1, 2011, 8:37:06 AM12/1/11
to bots...@googlegroups.com
Thanks Mike for all the help and info. I figured there had to be a way
to do it. I'll take a look at the information you sent. When will the
next release of EDI BOTS be released? Any time frame?

Steve Hammond

BikeMike

unread,
Dec 8, 2011, 4:28:16 PM12/8/11
to Bots Open Source EDI Translator

On Dec 1, 11:37 pm, Steven Hammond <bcf1...@gmail.com> wrote:
>When will the
> next release of EDI BOTS be released?  Any time frame?

Hi Steve,
2.1.0 release candidate is out now.

Reply all
Reply to author
Forward
0 new messages