added error message for invalid Unit RO

Fix for missing transitions that who’s ToNumber ends with “0S”
This commit is contained in:
2011-09-22 19:50:39 +00:00
parent f06e9199e1
commit d97582303f
2 changed files with 8 additions and 1 deletions

View File

@@ -40,6 +40,8 @@ namespace DataLoader
{
List<string> migrationErrors = new List<string>();
string thekey = dr["TONUMBER"].ToString() + "|" + dr["TOSEQUENCE"].ToString();
if (thekey.EndsWith("0S"))
thekey = thekey.Substring(0, thekey.Length - 1);
string dti = dr["DTI"].ToString().PadRight(18, ' ');
string userid = dti.Substring(13, 5).Trim();
int itype = 0;