kleine Korrektur Darstellung WAS / WAS_RCPT Validierung

This commit is contained in:
Daniel Schick 2022-03-23 07:23:54 +01:00
parent 10c4171190
commit f3381563ee
2 changed files with 2 additions and 2 deletions

View File

@ -459,7 +459,7 @@ namespace bsmd.database
if (entryMissing)
{
errors.Add(RuleEngine.CreateError(ValidationCode.POSITION_COUNT, string.Format("Waste {0}", missingType), null, this.Title, null, this.Tablename));
errors.Add(RuleEngine.CreateError(ValidationCode.POSITION_COUNT, missingType.ToString(), null, this.Title, null, this.Tablename));
}
// Extravalidierung für "0" Meldung (5.3.21)

View File

@ -370,7 +370,7 @@ namespace bsmd.database
if (entryMissing)
{
errors.Add(RuleEngine.CreateError(ValidationCode.POSITION_COUNT, string.Format("Waste {0}", missingType), null, this.Title, null, this.Tablename));
errors.Add(RuleEngine.CreateError(ValidationCode.POSITION_COUNT, missingType, null, this.Title, null, this.Tablename));
}
}