Do not change PRE72H on Excel import for transit shipcalls
This commit is contained in:
parent
e3b12ae531
commit
d649c4ac16
@ -1007,6 +1007,8 @@ namespace ENI2.Excel
|
||||
STAT stat = statMessage.Elements[0] as STAT;
|
||||
ScanMessage(stat, reader);
|
||||
|
||||
if (!messageCore.IsTransit) // let's not do this for transit messages
|
||||
{
|
||||
foreach (Message preMessage in messages)
|
||||
{
|
||||
if (preMessage.MessageNotificationClass == Message.NotificationClass.PRE72H)
|
||||
@ -1019,6 +1021,7 @@ namespace ENI2.Excel
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
if (!stat.Flag.IsNullOrEmpty()) stat.Flag = stat.Flag.ToUpper();
|
||||
if (!stat.PortOfRegistry.IsNullOrEmpty()) stat.PortOfRegistry = stat.PortOfRegistry.ToUpper();
|
||||
|
||||
Loading…
Reference in New Issue
Block a user