Package com.jada.jpa.entity

Examples of com.jada.jpa.entity.ShipDetail


    itemBalance.setInvoiceAmount(invoiceAmount);

    iterator = orderItemDetail.getShipDetails().iterator();
    int shipQty = 0;
    while (iterator.hasNext()) {
      ShipDetail shipDetail = (ShipDetail) iterator.next();
      ShipHeader header = shipDetail.getShipHeader();
      if (header.getShipHeaderId() == null) {
        continue;
      }
      if (header.getShipStatus().equals(Constants.ORDERSTATUS_CANCELLED) || header.getShipStatus().equals(Constants.ORDERSTATUS_VOIDED)) {
        continue;
      }
      if (shipHeader != null) {
        if (header.getShipHeaderId().equals(shipHeader.getShipHeaderId())) {
          continue;
        }
      }
      shipQty += shipDetail.getItemShipQty().intValue();
    }
    itemBalance.setShipQty(shipQty);
   
    iterator = orderItemDetail.getCreditDetails().iterator();
    int creditQty = 0;
View Full Code Here

TOP

Related Classes of com.jada.jpa.entity.ShipDetail

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.