order.setCode(UUID.randomUUID().toString());
order.setName("Order name " + UUID.randomUUID());
order.setInitDate(new Date());
order.setCalendar(configurationDAO.getConfiguration().getDefaultCalendar());
OrderVersion version = OrderModelTest.setupVersionUsing(scenarioManager, order);
order.useSchedulingDataFor(version);
OrderLine orderLine = OrderLine.createOrderLineWithUnfixedPercentage(1000);
orderLine.useSchedulingDataFor(version);
order.add(orderLine);
orderLine.setCode(UUID.randomUUID().toString());