Originally posted by: Kachu
Hi Experts,
I require your help with below scenario.
In the edifactToXml sample provided with the WTX EDI industry pack, I want to achieve the goal of one PO/File.
The XML output generated has the structure:
-<EDIFACT>
+<segUNA>
-<segUNB>
+<segUNH1>
+<segUNH2>
+<segUNZ>
-</segUNB>
</EDIFACT>
But my requirement is one PO (UNH segement per file).
1. File 1 as:
-<EDIFACT>
+<segUNA>
-<segUNB>
+<segUNH1>
+<segUNZ>
-</segUNB>
</EDIFACT>
2. File 2 as:
-<EDIFACT>
+<segUNA>
-<segUNB>
+<segUNH2>
+<segUNZ>
-</segUNB>
</EDIFACT>
The output file should be generated for each occurence of the UNH segment.
Please help me with the approach and logic.
Best Regards | Kachu
#IBM-Websphere-Transformation-Extender#DataExchange#IBMSterlingTransformationExtender