Bugfix for Import of Cargo Code NST (wrong logic)

This commit is contained in:
Daniel Schick 2023-03-02 13:50:19 +01:00
parent 7e23f5a98a
commit 8a98db9588
2 changed files with 3 additions and 3 deletions

View File

@ -36,8 +36,8 @@
<MinimumRequiredVersion>5.4.0.0</MinimumRequiredVersion>
<CreateWebPageOnPublish>true</CreateWebPageOnPublish>
<WebPage>publish.html</WebPage>
<ApplicationRevision>12</ApplicationRevision>
<ApplicationVersion>7.9.0.%2a</ApplicationVersion>
<ApplicationRevision>0</ApplicationRevision>
<ApplicationVersion>7.10.0.%2a</ApplicationVersion>
<UseApplicationTrust>false</UseApplicationTrust>
<CreateDesktopShortcut>true</CreateDesktopShortcut>
<PublishWizardCompleted>true</PublishWizardCompleted>

View File

@ -2019,7 +2019,7 @@ namespace ENI2.Excel
{
if (Int32.TryParse(ladg.CargoCodeNST, out int ccnst))
{
if ((ccnst <= 0) && (ccnst > 20))
if ((ccnst <= 0) || (ccnst > 20))
{
ladg.CargoCodeNST = null;
}