Use ConvertSeq consistently for Steps and Transitions
This commit is contained in:
parent
007430be3d
commit
3da3cd999e
@ -39,7 +39,7 @@ namespace DataLoader
|
||||
private string AddTrans(OleDbConnection cn, Content fromCon, DataRow dr, DataRow dr2, string pth)
|
||||
{
|
||||
List<string> migrationErrors = new List<string>();
|
||||
string thekey = dr["TONUMBER"].ToString() + "|" + dr["TOSEQUENCE"].ToString();
|
||||
string thekey = dr["TONUMBER"].ToString() + "|" + TextConvert.ConvertSeq(dr["TOSEQUENCE"].ToString());
|
||||
if (thekey.EndsWith("0S"))
|
||||
thekey = thekey.Substring(0, thekey.Length - 1);
|
||||
string dti = dr["DTI"].ToString().PadRight(18, ' ');
|
||||
@ -133,7 +133,7 @@ namespace DataLoader
|
||||
toItem2 = toItem;
|
||||
if (dr2 != null)
|
||||
{
|
||||
string thekey2 = dr2["TONUMBER"].ToString() + "|" + dr2["TOSEQUENCE"].ToString();
|
||||
string thekey2 = dr2["TONUMBER"].ToString() + "|" + TextConvert.ConvertSeq(dr2["TOSEQUENCE"].ToString());
|
||||
|
||||
// Range transitions that are type 2 are called 'AND' transitions.
|
||||
// Example: Continue with steps 5b, 5c and 5d.
|
||||
|
Loading…
x
Reference in New Issue
Block a user