I have received a number of recurring questions regarding specific concepts in EDI implementations using BizTalk R2. Here are a couple of questions/answers:
Q: “Could you please give me more information on Parties and Global EDI Properties?”
A: The simplest thing to say about Global Parties is to IGNORE THEM ALTOGETHER. The EDI team at Microsoft had a vision for Global Parties, but in reality there is very little applicability to real world implementations. Basically, it can be set as a “default trading partner” when documents to not validate against any other parties; however, there really is no use for a standard implementation. The book covers it to show how Microsoft intended the use, and how it can be used, but I would recommend skipping this for your own dev purposes.
Q: “While working on Trading Partner Configuration (as a sender), we observed the following error in Windows event log. What is the resolution for this?”
Error encountered during parsing. The X12 transaction set with id ” contained in functional group with id ‘25′, in interchange with id ‘000000025′, with sender id ‘CA000CA ‘, receiver id ‘APRESS1234 ‘ is being suspended with following errors:
Error: 1 (Miscellaneous error)
Missing or invalid or duplicate Transaction set identifier ‘http://schemas.microsoft.com/BizTalk/EDI/X12/2006#X12_00401_810′
A: This error, unfortunately, could mean a variety of things. Sometimes, when an EDI document is invalid – such as the segments in the ISA header are not sized properly (meaning, for example, there are 15 characters that are requires in the sender and receiver IDs (ISA6 and ISA8), if you accidentally leave a space or two out, it will mess up the whole doc and result in an error like this).
After validating that the doc is valid against its schema, the next step would be to manually increase the set ID and see if that works when the doc is submitted. If so, you can turn off the set id settings in the EDI properties (at the bottom of the configuration screen with all the settings for ISA, etc.) In the following example:ISA*00* *00* *01*TRADPART1 *ZZ*BASECOMP12 *070407*1555*U*00401*000000025*0*T*>~
Try changing the 1555 to 1556 and the 00000000025 to 0000000026 (or a new, unique number). Also change these same values in the rest of the doc (you may see them in ST01 and in the Footer. Change these manually to validate it solves the problem.