Need help in edifact to csv

41 views
Skip to first unread message

Srini Vaddi

unread,
Jan 20, 2022, 1:02:54 AM1/20/22
to Bots Open Source EDI Translator
Hi

in edifact file I have 2 NAD lines

NAD+BS+9325724003870::9' 
NAD+BS+7181::92++Test1+Test2+CASULA+NSW+2170+AU

in  mapping I am using the below
STORENO = inn.get({'BOTSID':'UNH'},{'BOTSID':'NAD','3035':'BS','C082.3039':None})

it is displaying only 9325724003870
but I like to display 7181 from second line

Please help Thank you.
Regards
Srini

Henk-Jan Ebbers

unread,
Jan 20, 2022, 3:13:47 AM1/20/22
to bots...@googlegroups.com
they have different specifier (9 versus 92).
9 indicates 'GLN', 92 something else.
which one do you need, you can just specify it in the get-statement (like you already specified 'BS').

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/44432584-5e72-4bff-8977-40f37c625aa3n%40googlegroups.com.

Srini Vaddi

unread,
Jan 20, 2022, 4:45:48 AM1/20/22
to Bots Open Source EDI Translator
Hi Henk-Jan,

I fixed that by using the following code
 EANFACTUUR = inn.get({'BOTSID':'UNH'},{'BOTSID':'NAD','3035':'BS','C082.3055':'92','C082.3039':None})

thank you
Regards
Srini

Reply all
Reply to author
Forward
0 new messages