Beispiel #1
0
 private AcEdiInterchange createInterchange(AcEdiInterchangeIF o, AcEdiMessage e) {
   AcEdiInterchange x = new AcEdiInterchange(new JwList<AcEdiMessage>(e));
   x.setHeader(o.getHeader());
   x.setTrailer(new AcEdiUspsUnz());
   x.getTrailer().setReferenceNumber(o.getHeader().getReferenceNumber());
   return x;
 }
Beispiel #2
0
 public void outputEdiFile(String outputFilename, AcEdiInterchange interchange) {
   JwUtility.writeFile(
       outputFilename, new JwEdiInterchangeWriter(interchange.getRawInterchange()));
 }