public void extractPurchaseOrderReferencePRF(Loop inLoop) throws OBOEException { Segment segment = null; try { segment = inLoop.getSegment("PRF"); } catch (Exception exc) { } if (segment == null) { return; } String purchaseOrderNumber = getField(segment, 1, false, null); if (Utility.isSet(ediInp856Vw.getDistOrderNum()) && !ediInp856Vw.getDistOrderNum().equals(purchaseOrderNumber)) { ediHandler.appendIntegrationRequest(ediInp856Vw); ediInp856Vw = ediInp856Vw.copy(); ediInp856Vw.setItems(new EdiInp856ItemViewVector()); } ediInp856Vw.setDistOrderNum(purchaseOrderNumber); return; }