Brian Hanna 14 on Fri, 25 Apr 2014 05:56:31

Hello I have a single raw EDI file that contains multiple 850 PO's (ST Segments) in a single file.   I'm trying to map each PO to one or more flatfiles don't really care which.   The XML X12 850.xsd doesn't show a loop available for ST segment necessary to create the transform.

How can this be accomplished with Azure BizTalk Services? 

Do I need to write something custom that will "debatch" the 850's into their own RAW EDI files so they can be processed?

Thank you for your response.



Johns-305 on Sun, 27 Apr 2014 13:50:39

Based on your description, ABS will process your EDI Interchanges as you expect.

The normal case is for an EDI Interchange to be debatched at the Transaction Set (ST/SE).  That is why each message schema if from the ST level.

So, if your Interchange contains 5 ST's, you will get 5 messages out, one for each ST.  That all happens by default.

In this area, Azure BizTalk Service and BizTalk Server have the same options.  If you absolutely need to keep the Interchange as a whole, ABS has the same Preserve Interchange option as BTS.  You will find it Agreement/Protocols/Advanced Settings/Internal Settings.

Brian Hanna 14 on Wed, 30 Apr 2014 04:13:54

Thank you for the feedback.  What we are seeing with ABS is for an EDI 850 (Purchase Order) that has say 6 PO's in a single EDI document (or ST Segments) that the resulting X12 will only have the LAST ST Segment and we will get a single X12 XML file.   What your saying sounds exactly what I would expect for ABS as multiple PO's in an 850 is pretty standard for EDI, but we are not seeing the behavior you describe. 

We ae running with the default setting for Agreement/Protocols/Advance Settings/Internal Settings which I believe is the first option (Split Interchange as Transaction Sets).  Could this be a bug in ABS?  Have you been able to see this work straight away?  Really appreciate the feedback. 

SGSJWS on Fri, 06 Jun 2014 17:06:39

I am going through an iteration of trying to get X12 850 receive processing in place after successfully implementing 810 sending.

My test files have multiple POs and they are getting debatched into multiple xml files.

I made sure that the 850s send / receive GS IDs were configured correctly.

Brian Hanna 14 on Thu, 12 Jun 2014 02:11:47

We figured out the problem.  We were sending debatched 850's to a transform.. and in the Enrich.. trying to set the file name.  As it turns out we were setting the file name to the same name for each 850 in the batch.  Once we fixed that everything worked.