* @param window
* @param assemblyPlannerView
*/
void doSearch(WindowInterface window,
AssemblyPlannerView assemblyPlannerView) {
Transportable transportable = orderViewHandler
.searchOrder(window, true);
if (transportable != null) {
if (transportable.getAssembly() != null) {
YearWeek selectedYearWeek = new YearWeek(transportable
.getAssembly().getAssemblyYear(), transportable
.getAssembly().getAssemblyWeek());
assemblyPlannerView.changeWeek(selectedYearWeek);
setSelectedOrder(transportable.getAssembly());
} else {
labelSearchResult.setText("Orderen skal ikke monteres");
orderViewHandler.setSelectedNewTransportable(transportable);
}