EDI 856 HL Looping


my sample edi files

hl*1**s*1~
ref*bm*bol1001~    -- bolnumber
dtm*011*20090205*145500~
n1*sf*testwh*9*1234567891234~  shipfrom wh name
n1*st*testwhanni - 62*9*0123456789123~
n1*vn*wm.inc.*9*9898989880000~
n1*by*abcinc*9*0069652140000~
hl*2*1*o*1~
prf*po1***20090205~   --- ponumber


i mapping edi xml data ...

below expectd output xml schema structure. 
<header>
<bolnumber>bol1001<\bolnumber>
<ponumber >po1 <ponumber >
<shipfrom> testwh <shipfrom>
</header>

problem hl looping

i tried map of options gives results

<header>  ---hl1
<bolnumber>bol1001<\bolnumber>
<shipfrom> testwh <shipfrom>
</header>
</header> ----hl2
<ponumber >po1 <ponumber >
<header>

hl looping ... header(xml schema)  with hl -1 ad hl-2 ....

how can avoided ? .. want in map without using custom xslt option.


thanks,
pankaj

pankaj

there several options might work you.

1.  have tried using value mapping (flattening) functoid in combination logical functoids?
2.  have tried using cumulative concatenate functoid in combination logical functoids.

else happening in map?  extracting above information can not separated other mapping, else may impact way engine behaves here.  looping functoids used output other hl levels, example, may cause problems here in header.

there several examples of how handle hl looping problems (including full chapter on 856) in pro mapping biztalk server 2009.

hope helps,
jim -- pro mapping in biztalk 2009, apress books, march 23, 2009


BizTalk Server  >  BizTalk Server EDI and AS2



Comments

Popular posts from this blog

Azure DocumentDB Owner resource does not exist

job syspolicy_purge_history job fail in sqlserver 2008

Trying to register with public marketplace error with 'Get-AzureStackStampInformation'