I have consulted and followed several of the User Guides out there and read lots of messages here, but did not find someone who had such a simple problem as I.
In my flow service I am using the “getFile” service (and have tried both Bytes and Stream for my load as) to load a simple small EDI file of type X12 4010 850.
When I use that output as my input into wm.b2b.edi:envelopeProcess for “edidata” I am getting an “Unrecognized EDI data” error message as an output (DA-0010).
How come? Is there something I’m missing here. Do I need a service in between to do something to the file so it can be used in the envelopeprocess?
If my file does happen to be not of an EDI 850 standard, a link to one could be a first starting point, since I have already tried loading several from different places to no avail.
Thanks for your time and patience with a newber.
Moa
So while debugging it appears that in the envelopeProcess, in the getTemplate, my returned Template Object has delimiters as follows:
record = 7
field = *
subfield = 6
So I deduce then, that I don’t have the right Template and hence why I can’t follow the simplest of tutorials; EDI to Flat File. How can that be?
First, the parameter I supply is my STRING to this envelopeProcess (if I should supply more, what should they be?).
Second. I ran SEFParse and putTemplate with the following:
SEFfileName = Server\packages\WmEDIsamples\pub\SEFS\4010.sef
EDIDocName = 850
includeEnvelope = True.
What am I missing here so that envelopeProcess can read the EDI and get the right Template?