which services I need to invoke before mapping from EDI 850 to flat file.
Could you please provide the steps of services.
As you are processing EDI through TN, receive bizdoc in flow service and invoke ‘edi:convertToValues’ to get EDI 850 document structure, from which you can map to corresponding flat file document structure,
The whole concept of inbound processing is explained in ‘WebMethods EDI Module Users Guide’, refer chapter 12.
hope this helps,
As said above you should use “convertToValues” (WmEDI) service which can validate Inbound EDI documents.Plz review the services guide,EDI Module userguide,WmEDISamples package also that gives you overview/basic info.