Package no.ugland.utransprod.util.report

Examples of no.ugland.utransprod.util.report.JiggReportData


    reportMap.put(takstolAllV.getProductionUnitName(), jiggElements);
  }

  private void addJiggReportData(TakstolAllV takstolAllV,
      Set<JiggReportData> orders, boolean isMainLine) {
    JiggReportData jiggReportData = new JiggReportData();
    jiggReportData.setOrderInfo(takstolAllV.getOrderNr() + " "
        + takstolAllV.getCustomerDetails());
    jiggReportData.setStartDate(takstolAllV.getActionStarted());
    jiggReportData.setProduced(takstolAllV.getProduced());
    jiggReportData.setArticleName(takstolAllV.getArticleName()
        + (takstolAllV.getNumberOfItems() != null ? "("
            + takstolAllV.getNumberOfItems() + ")" : ""));
    if (isMainLine) {
      jiggReportData.setOwnProduction(takstolAllV.getOwnProduction());
    } else {
      jiggReportData.setOwnProductionInfo(takstolAllV.getOwnProduction());
    }
    if (isMainLine) {
      jiggReportData.setOwnInternalProduction(takstolAllV
          .getOwnInternalProduction());
    } else {
      jiggReportData.setOwnInternalProductionInfo(takstolAllV
          .getOwnInternalProduction());
    }
    jiggReportData.setPrice(takstolAllV.getCalculatedPrice());
    if (isMainLine || !orders.contains(jiggReportData)) {
      orders.add(jiggReportData);
    }
  }
View Full Code Here

TOP

Related Classes of no.ugland.utransprod.util.report.JiggReportData

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.