On 01/29/2013 07:41 PM, O wrote:
> Fairly new to BOTs but thus far all has gone well after scrounging a lot of ideas from this group.
>
> Have hit a problem with a new partner where they want a x12 810 version 005010. Grammar and all was there already so seemed like an easy addition. Problem is no matter what I've done I can not get
> the output 810 to put set ISA11 to U and ISA12 to 00501
http://code.google.com/p/bots/wiki/GrammarsPartnerSyntax
use 'version' for ISA12
ISA11 is a strange thing. Before version 00403 it was 'U'.
After that it was used for a 'repetion character' .
I think 'U' would be against x12 rules....
if you want to set the repetion character, set 'reserve'
bij default (in grammar.py) this is indeed ^
let me know if you this helps.
kind regards,
henk-jan ebbers
>
> I've got a partner file with syntax to set version to 00501 (and ISA11/12 as well) have set it directly in my translation script for that parter, used q query in the grammer for the message type to
> set the version etc. all to no avail.
>
> I've got debug added to my translation script that shows the out.ta_info['version'] is 00501 and have debug in my partner script that shows it is being set to again set the version to 00501.
>
> However, when I add debug to envelope.py where the ISA line is created is hows version as 00403 and puts ^ in ISA11 and 00403 in ISA12. It will set in correctly in the GS segment.
>
>
> Any thoughts on where I could have gone wrong?
>
> ISA*00* *00* *01*BLAH *01*BLAHBLAH *130129*1938*^*00403*000000050*1*P*>~
> GS*U*
8005250642*033040353*20130129*1938*50*X*005010~
>
> --
> 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.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>