diff --git a/ENI-2/ENI2/ENI2/DetailRootControl.xaml.cs b/ENI-2/ENI2/ENI2/DetailRootControl.xaml.cs index 81d80ccd..1498a3dc 100644 --- a/ENI-2/ENI2/ENI2/DetailRootControl.xaml.cs +++ b/ENI-2/ENI2/ENI2/DetailRootControl.xaml.cs @@ -773,7 +773,7 @@ namespace ENI2 DateTime comparison; if (noanod.ETDFromLastPort.HasValue) comparison = noanod.ETDFromLastPort.Value.ToLocalTime().Date; else comparison = DateTime.Now.Date; - if(sec.LastTenPortFacilitesCalled[0].PortFacilityDateOfDeparture != comparison) + if((sec.LastTenPortFacilitesCalled[0].PortFacilityDateOfDeparture == null) || (sec.LastTenPortFacilitesCalled[0].PortFacilityDateOfDeparture != comparison)) { MessageViolation mv = RuleEngine.CreateViolation(ValidationCode.IMPLAUSIBLE, "SEC last port departure doesn't match NOANOD ETDFromLastPort", null, "Last port departure mismatch", null, "SEC"); mv.MessageGroupName = Properties.Resources.textOverview; diff --git a/ENI-2/ENI2/ENI2/ENI2.csproj b/ENI-2/ENI2/ENI2/ENI2.csproj index e4bf4cd6..ab5f3637 100644 --- a/ENI-2/ENI2/ENI2/ENI2.csproj +++ b/ENI-2/ENI2/ENI2/ENI2.csproj @@ -34,8 +34,8 @@ 5.4.0.0 true publish.html - 1 - 6.1.1.%2a + 0 + 6.2.0.%2a false true true diff --git a/ENI-2/ENI2/ENI2/MainWindow.xaml.cs b/ENI-2/ENI2/ENI2/MainWindow.xaml.cs index 724dded6..96834af1 100644 --- a/ENI-2/ENI2/ENI2/MainWindow.xaml.cs +++ b/ENI-2/ENI2/ENI2/MainWindow.xaml.cs @@ -484,6 +484,9 @@ namespace ENI2 // Meldeklassen für neuen Anlauf erzeugen: bsmd.database.Util.CreateMessagesForCore(newCore, null, userEntity); this.AnmeldungenControl_MessageCoreSelected(newCore); // in einem neuen Reiter öffnen + + // watchdog registrieren, damit die "grüne" Markierung erscheint, sobald die Anmeldung durch den Excel-Prozess gelaufen ist. + this._dbWatchDog.Register(newCore); } } diff --git a/ENI-2/ENI2/ENI2/SucheControl.xaml b/ENI-2/ENI2/ENI2/SucheControl.xaml index b5f362ac..b4b03d58 100644 --- a/ENI-2/ENI2/ENI2/SucheControl.xaml +++ b/ENI-2/ENI2/ENI2/SucheControl.xaml @@ -16,20 +16,20 @@ - - - - - - + + + + + + - - - - - - - + + + + + + +