Examples of findByOrderNr()


Examples of no.ugland.utransprod.service.OrderManager.findByOrderNr()

  public void setApplied(PacklistV object, boolean applied,
      WindowInterface window) {
    OrderManager orderManager = (OrderManager) ModelUtil
        .getBean("orderManager");

    Order order = orderManager.findByOrderNr(object.getOrderNr());
    if (applied) {
      Date packlistDate = Util.getDate(window);
      order.setPacklistReady(packlistDate);
    } else {
      order.setPacklistReady(null);
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.findByOrderNr()

              .getOrderStatus());

      String status = statusMap.get(veggChecker.getArticleName());
      if (status == null) {

        Order order = orderManager
            .findByOrderNr(((FrontProductionV) front).getOrderNr());
        if (order != null) {
          orderManager.lazyLoadTree(order);
          status = veggChecker.getArticleStatus(order);
          statusMap.put(veggChecker.getArticleName(), status);
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.findByOrderNr()

          .createStatusMap(((VeggProductionV) vegg).getOrderStatus());

      String status = statusMap.get(frontChecker.getArticleName());
      if (status == null) {

        Order order = orderManager
            .findByOrderNr(((VeggProductionV) vegg).getOrderNr());
        if (order != null) {
          orderManager.lazyLoadTree(order);
          status = frontChecker.getArticleStatus(order);
          statusMap.put(frontChecker.getArticleName(), status);
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.findByOrderNr()

  @Test
  public void skalSetteFerdigKappet() {
    OrderManager orderManager = (OrderManager) ModelUtil
        .getBean(OrderManager.MANAGER_NAME);
    Order order = orderManager.findByOrderNr("65386");
    orderManager.lazyLoadTree(order);
    OrderLine orderLine = order.getOrderLine("Takstoler");
    assertNotNull(orderLine);
    orderLine.setCuttingDone(Util.getCurrentDate());
    OrderLineManager orderLineManager = (OrderLineManager) ModelUtil
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.findByOrderNr()

    orderLine.setCuttingDone(Util.getCurrentDate());
    OrderLineManager orderLineManager = (OrderLineManager) ModelUtil
        .getBean(OrderLineManager.MANAGER_NAME);
    orderLineManager.saveOrderLine(orderLine);

    order = orderManager.findByOrderNr("65386");

    orderManager.lazyLoadTree(order);
    orderLine = order.getOrderLine("Takstoler");
    assertNotNull(orderLine);
    assertNotNull(orderLine.getCuttingDone());
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.findByOrderNr()

  @Test
  public void skalSetteStartetKapping() {
    OrderManager orderManager = (OrderManager) ModelUtil
        .getBean(OrderManager.MANAGER_NAME);
    Order order = orderManager.findByOrderNr("65386");
    orderManager.lazyLoadTree(order);
    OrderLine orderLine = order.getOrderLine("Takstoler");
    assertNotNull(orderLine);
    orderLine.setCuttingStarted(Util.getCurrentDate());
    OrderLineManager orderLineManager = (OrderLineManager) ModelUtil
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.findByOrderNr()

    orderLine.setCuttingStarted(Util.getCurrentDate());
    OrderLineManager orderLineManager = (OrderLineManager) ModelUtil
        .getBean(OrderLineManager.MANAGER_NAME);
    orderLineManager.saveOrderLine(orderLine);

    order = orderManager.findByOrderNr("65386");

    orderManager.lazyLoadTree(order);
    orderLine = order.getOrderLine("Takstoler");
    assertNotNull(orderLine);
    assertNotNull(orderLine.getCuttingStarted());
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.findByOrderNr()

  @Test
  public void skal_ikke_ta_med_takstein_som_ikke_sendes_fra_gg() {
    OrderManager orderManager = (OrderManager) ModelUtil
        .getBean(OrderManager.MANAGER_NAME);
    Order order = orderManager.findByOrderNr("63484");
    assertNotNull(order);
    orderManager.lazyLoadOrder(order, new LazyLoadOrderEnum[] {
        LazyLoadOrderEnum.COLLIES, LazyLoadOrderEnum.ORDER_LINES,
        LazyLoadOrderEnum.ORDER_LINE_ATTRIBUTES,
        LazyLoadOrderEnum.ORDER_LINE_ORDER_LINES });
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.findByOrderNr()

          .getElementAt(table
              .convertRowIndexToModel(objectSelectionList
                  .getSelectionIndex()));
      OrderManager orderManager = (OrderManager) ModelUtil
          .getBean("orderManager");
      Order order = orderManager.findByOrderNr(applyable.getOrderNr());
      if (order != null) {
        DeviationViewHandler deviationViewHandler = deviationViewHandlerFactory
            .create(order, true, false, true, null, false);
        deviationViewHandler.registerDeviation(order, window);
      }
View Full Code Here

Examples of no.ugland.utransprod.service.OrderManager.findByOrderNr()

  public void setUp() throws Exception {
    FailOnThreadViolationRepaintManager.install();

    OrderManager orderManager = (OrderManager) ModelUtil
        .getBean("orderManager");
    Transportable transportable = orderManager.findByOrderNr("45088");

    viewHandler = new SplitOrderViewHandler(transportable);
    final SplitOrderView splitOrderView = new SplitOrderView(viewHandler);

    JDialog dialog = GuiActionRunner.execute(new GuiQuery<JDialog>() {
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.