Examples of OrderLine


Examples of com.oltpbenchmark.benchmarks.tpcc.pojo.OrderLine

      }

      now = new java.util.Date();
      Oorder oorder = new Oorder();
      NewOrder new_order = new NewOrder();
      OrderLine order_line = new OrderLine();
      jdbcIO myJdbcIO = new jdbcIO();

      t = (whseKount * distWhseKount * custDistKount);
      t = (t * 11) + (t / 3);
      LOG.debug("whse=" + whseKount + ", dist=" + distWhseKount
View Full Code Here

Examples of com.openbravo.ws.externalsales.OrderLine

    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof OrderLine)) {
            return false;
        }
        OrderLine other = (OrderLine) obj;
        if (obj == null) {
            return false;
        }
        if (this == obj) {
            return true;
        }
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true &&
                ((this.orderLineId == null && other.getOrderLineId() == null) ||
                (this.orderLineId != null &&
                this.orderLineId.equals(other.getOrderLineId()))) &&
                this.price == other.getPrice() &&
                ((this.productId == null && other.getProductId() == null) ||
                (this.productId != null &&
                this.productId.equals(other.getProductId()))) &&
                ((this.taxId == null && other.getTaxId() == null) ||
                (this.taxId != null &&
                this.taxId.equals(other.getTaxId()))) &&
                this.units == other.getUnits();
        __equalsCalc = null;
        return _equals;
    }
View Full Code Here

Examples of com.zesped.model.OrderLine

        order.put("credits_bought", selectedProduct.getCredits());
        order.save(oSes);

        Log.out.info("Created order "+order.getString("order_id")+" for customer "+getSessionAttribute("customer_acount"));
       
        OrderLine line = order.addLine(oSes, selectedProduct);

        Log.out.info("Added order line for product "+selectedProduct.getString("product_name"));

        order.put("base_price", line.getString("base_price"));
        order.put("taxes", line.getString("taxes"));
        order.put("taxespct", line.getString("taxespct"));
        order.put("total_price", line.getString("subtotal_price"));
        order.put("currency", line.getString("currency"));
        order.save(oSes);
       
        DAO.log(oSes, order.getDocument(), Order.class, "CREATE ORDER", AtrilEvent.Level.INFO, order.getDocument().id()+";"+getSessionAttribute("customer_acount")+";"+selectedProduct.getString("product_name"));

        cacc.restoreCredits(oSes, new BigDecimal(selectedProduct.getCredits().longValue()));
View Full Code Here

Examples of net.virtuemart.www.externalsales.OrderLine

    public synchronized boolean equals(java.lang.Object obj) {
        if (!(obj instanceof OrderLine)) {
            return false;
        }
        OrderLine other = (OrderLine) obj;
        if (obj == null) {
            return false;
        }
        if (this == obj) {
            return true;
        }
        if (__equalsCalc != null) {
            return (__equalsCalc == obj);
        }
        __equalsCalc = obj;
        boolean _equals;
        _equals = true &&
                ((this.orderLineId == null && other.getOrderLineId() == null) ||
                (this.orderLineId != null &&
                this.orderLineId.equals(other.getOrderLineId()))) &&
                this.price == other.getPrice() &&
                ((this.productId == null && other.getProductId() == null) ||
                (this.productId != null &&
                this.productId.equals(other.getProductId()))) &&
                ((this.taxId == null && other.getTaxId() == null) ||
                (this.taxId != null &&
                this.taxId.equals(other.getTaxId()))) &&
                this.units == other.getUnits();
        __equalsCalc = null;
        return _equals;
    }
View Full Code Here

Examples of no.ugland.utransprod.model.OrderLine

    }
  }

  public void settStartetKapping(final Produceable produceable,
      Date startetKappingDato) {
    OrderLine orderLine = managerRepository.getOrderLineManager()
        .findByOrderLineId(produceable.getOrderLineId());
    if (orderLine != null) {
      orderLine.setCuttingStarted(startetKappingDato);
      managerRepository.getOrderLineManager().saveOrderLine(orderLine);
      applyListManager.refresh(produceable);
    }
  }
View Full Code Here

Examples of no.ugland.utransprod.model.OrderLine

    }
  }

  public void settKappingFerdig(final Produceable produceable,
      Date kappingFerdigDato) {
    OrderLine orderLine = managerRepository.getOrderLineManager()
        .findByOrderLineId(produceable.getOrderLineId());
    if (orderLine != null) {
      orderLine.setCuttingDone(kappingFerdigDato);
      managerRepository.getOrderLineManager().saveOrderLine(orderLine);
      applyListManager.refresh(produceable);
    }
  }
View Full Code Here

Examples of no.ugland.utransprod.model.OrderLine

    }
  }

  private void setStartedDate(List<Applyable> objects, Date startedDate) {
    for (Applyable object : objects) {
      OrderLine orderLine = managerRepository.getOrderLineManager()
          .findByOrderLineId(object.getOrderLineId());
      if (orderLine != null) {
        orderLine.setActionStarted(startedDate);
        managerRepository.getOrderLineManager()
            .saveOrderLine(orderLine);
        applyListManager.refresh((Produceable) object);
      }
    }
View Full Code Here

Examples of no.ugland.utransprod.model.OrderLine

  private void applyObject(Produceable object, boolean applied,
      WindowInterface window) {
    object.setProduced(getProducedDate(object, applied));

    OrderLine orderLine = managerRepository.getOrderLineManager()
        .findByOrderLineId(object.getOrderLineId());
    if (orderLine != null) {
      String aColliName = Util.getColliName(object.getArticleName());
      handleApply(object, applied, window, aColliName);
    }
View Full Code Here

Examples of no.ugland.utransprod.model.OrderLine

       
        if (orderLines.size() != 0) {
          createVismaFile(orderLines);
        }

        OrderLine orderLine = managerRepository.getOrderLineManager()
            .findByOrderLineId(object.getOrderLineId());
        checkCompleteness(orderLine, applied);
        refreshObjects(object);
      }
    } catch (ProTransException e1) {
View Full Code Here

Examples of no.ugland.utransprod.model.OrderLine

    if (relatedArticles != null) {
      for (Applyable item : relatedArticles) {
        item.setColli(applied ? item.getColli() : null);
        String aColliName = Util.getColliName(item.getArticleName());

        OrderLine orderLine = applyObject((PackableListItem) item, item
            .getColli() != null, window, aColliName, false);
        boolean added = item.getColli() != null && orderLine != null ? orderLines
            .add(orderLine)
            : false;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.