hi Steven,
On 02/07/2013 08:44 PM, Steven Hammond wrote:
> Well, honestly, I wrote a /short/ python program to read the field separator and segment terminator and it replaces it with values I want (like \n).
yes, that works in a lot of cases; you write it and you know when something strange is showing up (oh yeah, I remember blah blah)
I am very interesting & sure want to cooperate, but
> I just pre-process the inbound document through it first before handing it off to the bots-engine.py I didn't know if there was place to hook in bots or not.
think is is better to make a hook for this.
hook should be in the 'display part',
main reason is that some companies really send strange things (eg the x12 file has a <CR/LF> after 80position) so you do not want to mangle something in the original x12 file.
henk-jan
> This way it essential sets the field/segment separators to something more readable. I have 1 trading partner that uses non-printable characters for the field separator!
>
> Steve Hammond
>
> On Thu, Feb 7, 2013 at 11:45 AM, henk-jan ebbers <
eppye...@gmail.com <mailto:
eppye...@gmail.com>> wrote:
>
> no.
> but would be useful indeed; but I have never looked at it.
> this is not as easy as it might seem.
> sometimes there is already <CR/LF>,
> some use <LF> as segemtn seperator, etc..
>
> kind regards,
> henk-jan
>
>
> On 02/07/2013 04:09 PM, Steven Hammond wrote:
>
> Is there anyway to have the display of an EDI file use the termination character as a new line? In other words, when I click on the inbound PO to look at it, currently it is one LONG line.
> Instead, could it determine the segment terminator and then use it to wrap so that the segments are on separate lines.
>
> Thanks for a great product!
>
> Steven Hammond
> TCC
> Cleburne, TX
>
>
> --
> 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 <mailto:
botsmail%2Bunsu...@googlegroups.com>.
> --
> 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.