ConstructionType constructionType = constructionTypeManager
.findByName("A1");
OrderLine orderLine = new OrderLine();
orderLine.setOrdNo(7);
orderLine.setLnNo(13);
Order order = new Order();
order.setProductArea(productArea);
order.setOrderNr("100100100");
order.setConstructionType(constructionType);
order.addOrderLine(orderLine);
orderLine.setArticlePath(orderLine.getGeneratedArticlePath());
order.setDeliveryAddress("deliveryAddress");
order.setPostalCode("4841");
order.setPostOffice("postOffice");
order.setOrderDate(Util.getCurrentDate());
OrderModel orderModel = new OrderModel(order, false, true, true, null,
null);
orderModel.setCustomerNr("100000");
orderModel.setCustomerFirstName("test");
orderModel.setCustomerLastName("testesen");