Multiple N1.N3

40 views
Skip to first unread message

pm3...@gmail.com

unread,
Jul 18, 2024, 10:44:22 AM7/18/24
to Bots Open Source EDI Translator
Hi ,

I'm stuck trying to handle multiple N3 segments. this is my input

N1*ST*Cust Name*92*99
N2*ST* Cust Name
N3*Company Name
N3*223 address RD
N4*city *St*12345

Should i do a loop here ? :

        pou.put({'BOTSID':'party','address1':party.get({'BOTSID':'N1'},{'BOTSID':'N3','N301':None})})
        pou.put({'BOTSID':'party','address2':party.get({'BOTSID':'N1'},{'BOTSID':'N3','N302':None})})
  
Regards,
Pablo

Eppye Bots

unread,
Jul 20, 2024, 7:43:08 AM7/20/24
to bots...@googlegroups.com

within the N1*ST-loop: loop the N3 segment. .

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/c81cfd43-9b28-44d6-99d1-ad68fabfb8a2n%40googlegroups.com.

pm3...@gmail.com

unread,
Jul 20, 2024, 5:07:26 PM7/20/24
to Bots Open Source EDI Translator
Thanks , this solve my issue !! 
Reply all
Reply to author
Forward
0 new messages