Made the “No item found” message more descriptive when junk text is entered in the debug box used to enter ItemIDs

Added a check for a null document version for when a disconnected itemID is entered in the debug box used enter ItemIDs
This commit is contained in:
jjenko committed 2016-05-02 19:10:51 +00:00
1 parent 9bd54c9c3f
commit 99b7a5de3d
2 files changed
+6 -1

No files matched your search

+1 -1
View File
@@ -1761,7 +1761,7 @@ namespace VEPROMS
tv.AdjustTree(ii);
}
else
MessageBox.Show("No item found");
MessageBox.Show(string.Format("Looking for: {0}",str),"No item found");
}
private static ItemInfo GetItemInfoFromString(string str) // RHM20150506 Multiline ItemID TextBox