EDI

What is EDI?
Electronic data interchange (EDI) is a document standard which when implemented acts as common interface between two or more computer applications in terms of understanding the document transmitted. It is commonly used by big companies for e-commerce purposes, such as sending orders to warehouses or tracking their order.

Common types of EDI include: 


  • ANSI X12 EDI: The US and Canada ANSI standard. 
  • EDIFACT: The UN international standard. 
  • TRADACOMS: Retail industry (older format still used in UK) 
  • IATA: Air transportation industry. 
  • HIPAA: Health care industry. 

Each EDI communications session requires a communications envelope.  The communications envelope is comprised of the following:

  • Interchange Control Header / Trailer (ISA/IEA segments)
  • Functional Group Header / Trailer (GS/GE segments)
  • Transaction Set Header / Trailer (ST/SE segments)



Schema Overview
All documents processed in BizTalk Server, whether they are EDI or otherwise, adhere to a schema.
There are numerous EDI documents in existence, ranging from invoices and bills of lading to functional
and technical acknowledgements, and all of these documents have their own schema. On top of that,

each EDI trading partner may have its own variation on an individual EDI document.


Above Figure shows an example of an EDI document. The document has been split into the different parts.

And the below figures are representations of what should be found in the introduction of an EDI implementation guide. The Figure shows the header segments, whether the segment is mandatory or optional, and how many times the segments will appear in the document. Note that there are two looping segments, N1 and N9, both appearing up to 200 times in a given EDI instance.



What are the things which make EDI solutions differ from standard XML solutions?
EDI solutions are on the same line as XML solutions but involved more complexities in schema, maps etc. Also few more things are to be done like setting up and configuring the trading partners (business profiles, parties, agreements etc.).

How to create the EDI schema?
BizTalk already ships with the standard EDI schemas. To use it we need to extract the schemas using the MicrosoftEdiXSDTemplates.exe file, located in the root of the XSD_Schema\EDI folder.

What is the default character set supported by EDI pipeline?
UTF-8 is the default Character set supported and it is used for run-time validation and applies only to EDI X12.

How does BizTalk resolves Agreement?
BizTalk requires the qualifier and identifier fields for sender and receiver in order to perform agreement resolution. It will match the values of ISA5, ISA6, ISA7, and ISA8 in the interchange header with those in the properties of an agreement.

When does fallback agreement properties come into the picture?
When BizTalk is not able to resolve the agreement, then it uses the fallback agreement properties.

It is required to use EDI Pipeline in the EDI solution, but I can't see in the options?
EDI pipelines are not included in the Application as XML and Pass Thru pipelines are available. A reference to the BizTalk EDI Application is to be explicitly added so as to use EDI pipelines.

What are the values which Segment Separtor Suffix and Segment Terminator Suffix can have? 
Either of the following : None,CR,LF or CRLF

Are there a relation between EDI sending pipeline and Parties?
The EDI sends pipeline performs a party lookup by performing a series of steps to determine whether there is a match between the outgoing interchange and the properties of a party.

What are the options to release EDI Batch messages to destination?
There are four options which can be used as deciding factor and then release:
Schedule : At regular intervals
Maximum Number of Transaction Sets :Fixed number of transactions within an Interchange
Maximum Number of Characters in an Interchange : Number of characters
External Release Trigger : Whenever a Trigger Message is given to BizTalk

Is it possible to receive Multiple Interchanges in a Single Message and parse it?
Yes it's possible to receive Multiple interchange in a single message and to parse it, the pipeline  property called DetectMID is to be set as True.

Can we access EDI message context properties in orchestration?
Yes it's possible. To do so reference to Microsoft.BizTalk.Edi.BaseArtifacts.dll should be added.

No comments:

Post a Comment