7.9.0.0 erste Testversion
This commit is contained in:
parent
2257a78326
commit
13472ebe91
@ -259,6 +259,9 @@ namespace ENI2.Controls
|
||||
if (!reader.IsDBNull(6)) md.ColG = ReadFieldAsString(reader, 6);
|
||||
if (!reader.IsDBNull(7)) md.ColH = ReadFieldAsString(reader, 7);
|
||||
if (!reader.IsDBNull(8)) md.ColI = ReadFieldAsString(reader, 8);
|
||||
if ((md.ColI.Contains("bremerhaven", StringComparison.OrdinalIgnoreCase) && this.PortLocode.Equals("DEWVN")) ||
|
||||
(md.ColI.Contains("eurogate", StringComparison.OrdinalIgnoreCase) && this.PortLocode.Equals("DEBRV")))
|
||||
throw new InvalidOperationException($"{md.ColI} found in import to {PortLocode}, this is probably an error. Aborting import");
|
||||
if (!reader.IsDBNull(9)) md.ColJ = ReadFieldAsString(reader, 9);
|
||||
if (!reader.IsDBNull(10)) { md.ETA = reader.GetDateTime(10); md.ColK = md.ETA.ToString(); }
|
||||
if (!reader.IsDBNull(11)) md.ColL = ReadFieldAsString(reader, 11);
|
||||
@ -377,7 +380,7 @@ namespace ENI2.Controls
|
||||
// Todo:
|
||||
foreach (MaerskData md in requestList)
|
||||
{
|
||||
// 1) create MessageCore and message classes
|
||||
// create MessageCore and message classes
|
||||
md.MessageCore = new MessageCore();
|
||||
md.MessageCore.InitialHIS = Message.NSWProvider.DBH;
|
||||
md.MessageCore.IMO = md.ColF;
|
||||
@ -398,9 +401,9 @@ namespace ENI2.Controls
|
||||
|
||||
// watchdog registrieren
|
||||
this._dbWatchDog.Register(md.MessageCore);
|
||||
// 2) request dbh Id
|
||||
|
||||
|
||||
// 3) register watchdog for request completion
|
||||
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@ -36,7 +36,7 @@
|
||||
<MinimumRequiredVersion>5.4.0.0</MinimumRequiredVersion>
|
||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||
<WebPage>publish.html</WebPage>
|
||||
<ApplicationRevision>0</ApplicationRevision>
|
||||
<ApplicationRevision>1</ApplicationRevision>
|
||||
<ApplicationVersion>7.9.0.%2a</ApplicationVersion>
|
||||
<UseApplicationTrust>false</UseApplicationTrust>
|
||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||
|
||||
@ -228,7 +228,7 @@ namespace bsmd.database
|
||||
else
|
||||
{
|
||||
scmd.Parameters.AddWithValue("@ID", this.Id);
|
||||
scmd.CommandText = string.Format("UPDATE {0} SET Field1 = @COLA, Field2 = @COLB, Field3 = @COLC, Field4 = @COLD, Field5 = @COLE, Field6 = @COLF, @Field7 = @COLG, @Field8 = @COLH, " +
|
||||
scmd.CommandText = string.Format("UPDATE {0} SET Field1 = @COLA, Field2 = @COLB, Field3 = @COLC, Field4 = @COLD, Field5 = @COLE, Field6 = @COLF, Field7 = @COLG, Field8 = @COLH, " +
|
||||
"Field9 = @COLI, Field10 = @COLJ, Field11 = @COLK, Field12 = @COLL, Field13 = @COLM, Field14 = @Remark WHERE Id = @ID", this.Tablename);
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user