xmltox12 850

103 views
Skip to first unread message

ed briseño

unread,
Mar 15, 2021, 11:36:35 PM3/15/21
to Bots Open Source EDI Translator
Hello edi bots, 

I tried my first test plug in and it worked but when I tried to do an xml to 850 translation. 
I thought I had everything setup until I ran into this error:
MessageError: No import of module "c:\python27\lib\site-packages\bots\usersys\grammars\xml\xml": No module named xml. 
I would think this would be an order.py but let me know if i am doing something wrong?
Any tips would help. 

ps - not to keen on python but I can sit there and figure it out. 

Edgar
 

Eppye Bots

unread,
Mar 16, 2021, 3:45:39 AM3/16/21
to 'Chuck Turco' via Bots Open Source EDI Translator
appearently you have a messagetype named 'xml'.
you declared this either in routes as in-messagetype or in translations as Tomessagetype
kind regards, Henk-Jan Ebbers


--
You received this message because you are subscribed to the Google Groups "Bots Open Source EDI Translator" group.
To unsubscribe from this group and stop receiving emails from it, send an email to botsmail+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/botsmail/1204565e-5e3e-4e8b-9266-b943276be2b5n%40googlegroups.com.

ed briseño

unread,
May 10, 2021, 12:13:53 PM5/10/21
to Bots Open Source EDI Translator
Bots group

I am stuck on this error:

MessageError: [S03]: Record "ST-BEG" occurs 0 times, min is 1.
 
It seems I have the mapping in place but the xml file is still failing.  
Any thoughts?

Ed
850_516771_uniquebots modified1.zip

Henk-Jan Ebbers

unread,
May 10, 2021, 1:19:57 PM5/10/21
to bots...@googlegroups.com
if you do xml to x12:
BEG record is mandatory.
normally eg document number or document date goes to BEG.
that content is missing: so when bots writes the x12 message no BEG record is there.


kind regards,
Henk-Jan Ebbers
www.ebbersconsult.com
t: +31 6 14612879

Bots Open Source EDI Translator: http://bots.sourceforge.net
Connect edi-partners at lower costs by smarter testing: www.edi-testrobot.com


Reply all
Reply to author
Forward
0 new messages