EDI Address

When you get an EDI document, how can you compose the EDI address? EDI address has the following format:
EDI://aaa:bb:ccc
where aaa = ISA06 field, bb = ISA05 field and ccc = GS02 field in EDI document.
For example, in the following EDI document:
ISA|00|          |00|          |14|GFSBB          |12|FOODBUYBB     
|100706|0726|U|00401|000001083|0|P|>~GS|IN|GFSBB|FOODBUYBB|20100706|0726|1083|X|004010~ST|810|0001~BIG|20100705|4444111||22031002…
The field delimeter is |. The 6th field of ISA is GFSBB, 5th is 14; The second field in the GS section is GFSBB. So the EDI address is:
EDI://GFSBB:14:GFSBB
Another example, whose delimiter is *.
ISA*00*          *00*          *14*118267624CCBP  *12*7043297824    
*100705*2042*U*00401*000004791*0*P*;GS*IN*118267624CCBP*7043297824*20100705*2042*4791*
The EDI address is EDI://118267624CCBP:14:118267624CCBP
Advertisements
This entry was posted in BizTalk--EDI. Bookmark the permalink.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s