"Gammel uke",
"Du pr�ver � sette montering til en gammel uke, �nsker du � gj�re dette?")) {
return false;
}
}
AssemblyManager assemblyManager = (AssemblyManager) ModelUtil
.getBean("assemblyManager");
Assembly assembly = iassembly.getAssembly();
if (assembly == null) {
assembly = new Assembly();
}
assembly.setSupplier(supplier);
assembly.setOrder(iassembly.getAssemblyOrder());
assembly.setAssemblyYear(yearWeek.getYear());
assembly.setAssemblyWeek(yearWeek.getWeek());
assembly.setDeviation(iassembly.getAssemblyDeviation());
assembly.setInactive(0);
if (assembly.getFirstPlanned() == null) {
assembly.setFirstPlanned(assembly.toString());
}
assemblyManager.saveAssembly(assembly);
iassembly.setAssembly(assembly);
Map<Integer, SupplierOrderViewHandler> tmpViewHandlers = assemblyViewHandlers
.get(supplier);