Linefeed in outgoing edifact file

46 views
Skip to first unread message

Peter Krauß

unread,
Sep 5, 2018, 5:19:21 PM9/5/18
to Bots Open Source EDI Translator
Hi,

where can i configure, if i want a line feed in the outgoing edifact file.
My Problem is, that aber my conversion from XML to edifact every line has a linefeed, but i do not want a linefeed.
I searched for \r\n in grammer etc. but i can not find anything.

Could you give me an hint ?

Greeting
Peter

Eppye Bots

unread,
Sep 5, 2018, 5:44:36 PM9/5/18
to 'Chuck Turco' via Bots Open Source EDI Translator
in syntax:
        'add_crlfafterrecord_sep':'',
(default is to have cr/lf. for most this is accepted. soem don't, esp German retailers ;-))

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.
Visit this group at https://groups.google.com/group/botsmail.
For more options, visit https://groups.google.com/d/optout.

Peter Krauß

unread,
Sep 5, 2018, 6:02:14 PM9/5/18
to Bots Open Source EDI Translator
yes the Germans :)

in the grammar.py:
could i implement an new class edfiactGerman and then i Need a new grammarfile edifactGerman.py in grammars or ?

Eppye Bots

unread,
Sep 5, 2018, 6:10:10 PM9/5/18
to 'Chuck Turco' via Bots Open Source EDI Translator
just add that to the syntax in the grammar file.
eg in usersys/grammars/edifact/edifact.py

kind regards, Henk-Jan Ebbers

Reply all
Reply to author
Forward
0 new messages