This commit is contained in:
Kathy Ruffing 2012-01-27 12:36:51 +00:00
parent b4c4b0ef55
commit cdcb7106d8

View File

@ -241,8 +241,8 @@ namespace DataLoader
string sequence = drw["CSequence"].ToString().PadRight(10);
string step = drw["CStep"].ToString();
if (step[1]=='~' && sequence[1]==' ') break;
SectItm = MigrateSection(parentitem, ProcNumber, cn, drw, ds.Tables["Steps"], SectItm, dicSecCount.Count > 0 ? true : false, pth, docver, activeFormat, addpart ? cont : null);
bool hasSubSects = (sequence[5] != ' ' && sequence[5] != '0');
SectItm = MigrateSection(parentitem, ProcNumber, cn, drw, ds.Tables["Steps"], SectItm, hasSubSects, pth, docver, activeFormat, addpart ? cont : null);
addpart = false;
// if no children, add first child (cont)
//if (addpart)