Tuesday 26 February 2013

Process EDI 850 using Biztalk 2010



1: Create Biztalk Project Company.Biztalk.EDI850.

2: Copy Schema “X12_00401_850.xsd” from location “C:\Program Files\Microsoft BizTalk Server 2010\XSD_Schema\EDI\MicrosoftEdiXSDTemplates\X12\00401” to Biztalk Project

3: Create PO FlatFile Schema.






4 : Sample for Create Flat File Schema is :
PO1999-10-20
US        Alice Smith         123 Maple Street    Mill Valley    CA 90952
US        Robert Smith        8 Oak Avenue        Old Town       PA 95819
Hurry, my lawn is going wild!
ITEMS,ITEM872-AA|Lawnmower|1|148.95|Confirm this is electric,ITEM926-AA|Baby Monitor|1|39.98|Confirm this is electric|1999-05-21

5: Create Map for Convert EDI850 to PO Flat File.
















6: Create Orchestration.


















7 Expression to identify party configuration are
NOTE : Add reference of Microsoft.BizTalk.Edi.BaseArtifacts

System.Diagnostics.Trace.WriteLine("EDI.AgreementName:"+MsgEDI850(EDI.AgreementName));
System.Diagnostics.Trace.WriteLine("EDI.ReceiverPartyName:"+MsgEDI850(EDI.ReceiverPartyName));
System.Diagnostics.Trace.WriteLine("EDI.SenderPartyName:"+MsgEDI850(EDI.SenderPartyName));

8: Refer article for configure party .

The sample code is available for download in Code Gallery:.




No comments:

Post a Comment