evaluate UPDATED only if entry is not cancelled
This commit is contained in:
parent
ae0f6cae51
commit
c97b9a72f5
@ -480,9 +480,12 @@ namespace ENI2.Controls
|
||||
(m.ColG != null) ? m.ColG.Equals(md.ColG) : (md.ColG == null) &&
|
||||
(m.ColH != null) ? m.ColH.Equals(md.ColH) : (md.ColH == null));
|
||||
|
||||
if ((foundData.MessageCore == null) || !(foundData.MessageCore.Cancelled ?? false))
|
||||
{
|
||||
if (foundData.ETA.HasValue && ((foundData.ETA.Value - DateTime.Now).TotalSeconds > 0) && foundData.Update(md))
|
||||
foundData.Status = MaerskData.MDStatus.UPDATED;
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!md.ColM.IsNullOrEmpty())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user