Compare commits
2 Commits
c1e450c18b
...
f58e9e7079
| Author | SHA1 | Date | |
|---|---|---|---|
| f58e9e7079 | |||
| 92998c2add |
@ -871,7 +871,7 @@ namespace ENI2.DetailViewControls
|
|||||||
break;
|
break;
|
||||||
case NotificationClass.INFO:
|
case NotificationClass.INFO:
|
||||||
if (Core.PoC == "DEHAM") addToSend = false;
|
if (Core.PoC == "DEHAM") addToSend = false;
|
||||||
else addToSend = ((message.ViolationCount ?? 0) > 0);
|
else addToSend = !((message.ViolationCount ?? 0) > 0);
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
if((message.ViolationCount ?? 0) > 0) addToSend = false;
|
if((message.ViolationCount ?? 0) > 0) addToSend = false;
|
||||||
|
|||||||
@ -36,8 +36,8 @@
|
|||||||
<MinimumRequiredVersion>5.4.0.0</MinimumRequiredVersion>
|
<MinimumRequiredVersion>5.4.0.0</MinimumRequiredVersion>
|
||||||
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
|
||||||
<WebPage>publish.html</WebPage>
|
<WebPage>publish.html</WebPage>
|
||||||
<ApplicationRevision>0</ApplicationRevision>
|
<ApplicationRevision>1</ApplicationRevision>
|
||||||
<ApplicationVersion>7.2.11.0</ApplicationVersion>
|
<ApplicationVersion>7.2.11.1</ApplicationVersion>
|
||||||
<UseApplicationTrust>false</UseApplicationTrust>
|
<UseApplicationTrust>false</UseApplicationTrust>
|
||||||
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
<CreateDesktopShortcut>true</CreateDesktopShortcut>
|
||||||
<PublishWizardCompleted>true</PublishWizardCompleted>
|
<PublishWizardCompleted>true</PublishWizardCompleted>
|
||||||
|
|||||||
@ -216,9 +216,8 @@ namespace bsmd.database
|
|||||||
errors.Add(RuleEngine.CreateError(ValidationCode.IMPLAUSIBLE, "PortArea", this.PortArea, "INFO", "", this.Tablename));
|
errors.Add(RuleEngine.CreateError(ValidationCode.IMPLAUSIBLE, "PortArea", this.PortArea, "INFO", "", this.Tablename));
|
||||||
}
|
}
|
||||||
else
|
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)
|
if(DeplacementSummerDraught_TNE.HasValue)
|
||||||
|
|||||||
@ -146,6 +146,13 @@ namespace bsmd.database
|
|||||||
};
|
};
|
||||||
this.WasteReceived.Add(foundWasteReceived);
|
this.WasteReceived.Add(foundWasteReceived);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
if (!foundWasteReceived.AmountWasteReceived_MTQ.HasValue)
|
||||||
|
{
|
||||||
|
foundWasteReceived.AmountWasteReceived_MTQ = 0;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
if (foundWasteReceived.WasteDescription.IsNullOrEmpty())
|
if (foundWasteReceived.WasteDescription.IsNullOrEmpty())
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user