Bugfixes and adjustments
This commit is contained in:
parent
c1e450c18b
commit
92998c2add
@ -871,7 +871,7 @@ namespace ENI2.DetailViewControls
|
||||
break;
|
||||
case NotificationClass.INFO:
|
||||
if (Core.PoC == "DEHAM") addToSend = false;
|
||||
else addToSend = ((message.ViolationCount ?? 0) > 0);
|
||||
else addToSend = !((message.ViolationCount ?? 0) > 0);
|
||||
break;
|
||||
default:
|
||||
if((message.ViolationCount ?? 0) > 0) addToSend = false;
|
||||
|
||||
@ -216,9 +216,8 @@ namespace bsmd.database
|
||||
errors.Add(RuleEngine.CreateError(ValidationCode.IMPLAUSIBLE, "PortArea", this.PortArea, "INFO", "", this.Tablename));
|
||||
}
|
||||
else
|
||||
{
|
||||
if(this.MessageCore.PoC != "DEHAM")
|
||||
errors.Add(RuleEngine.CreateError(ValidationCode.PORTAREA, "PortArea", this.PortArea ?? "", "INFO", "", this.Tablename));
|
||||
{
|
||||
errors.Add(RuleEngine.CreateError(ValidationCode.PORTAREA, "PortArea", this.PortArea ?? "", "INFO", "", this.Tablename));
|
||||
}
|
||||
|
||||
if(DeplacementSummerDraught_TNE.HasValue)
|
||||
|
||||
@ -146,6 +146,13 @@ namespace bsmd.database
|
||||
};
|
||||
this.WasteReceived.Add(foundWasteReceived);
|
||||
}
|
||||
else
|
||||
{
|
||||
if (!foundWasteReceived.AmountWasteReceived_MTQ.HasValue)
|
||||
{
|
||||
foundWasteReceived.AmountWasteReceived_MTQ = 0;
|
||||
}
|
||||
}
|
||||
|
||||
if (foundWasteReceived.WasteDescription.IsNullOrEmpty())
|
||||
{
|
||||
|
||||
Loading…
Reference in New Issue
Block a user