I am trying to pull EDI 850 from VAN.
For this I can use the VAN service to get the EDI data and post it to TN.
My query is that if the 850 I recieve from the VAN is of different structure then of the one buit in 850 then do I have to create the schema for the same and register in TN.
Secondly,do I need to create TPAs’?
Once I create the document type and processing rules and submit the document to the develope what steps I should follow to convert it to a PO flat file.
What exactly do you mean when you say the received 850 “is of different structure?” There are different versions of 850s and each has a standard that must be followed. Each version you will process must be installed into TN. For example, if a partner is sending 4010 850s via the VAN, then you must install the 4010 version of the 850 in TN. Refer to the EDI for TN docs for info.
You will most likely need to create one or more EDI TPAs. In the past, I used an approach where the default TPA was intended for use by all incoming interchanges, since we handled them all the same way. Then we created an EDITPA for each outbound partner. This kept the number of TPAs down.
TN will do the deenveloping for you. Your service that is invoked by the processing rule will receive a single 850 as input for processing. Just map out the data elements from the 850 to whatever structure your flat file needs.