This commit is contained in:
Kathy Ruffing 2011-11-21 16:39:07 +00:00
parent 19349d9fcd
commit e192f0e1a3

View File

@ -20,7 +20,7 @@ namespace DataLoader
{ {
private Item AddStep(OleDbConnection cn, string StepType, string Textm, string Recid, string stpseq, string structtype, Item FromItem, DateTime dts, string userid, bool conv_caret, string pth, DocVersion docver, FormatInfo fmt,Item parentItem, int frType, string seqRoTran) private Item AddStep(OleDbConnection cn, string StepType, string Textm, string Recid, string stpseq, string structtype, Item FromItem, DateTime dts, string userid, bool conv_caret, string pth, DocVersion docver, FormatInfo fmt,Item parentItem, int frType, string seqRoTran)
{ {
//if (ProcNumber + "|" + stpseq == "082-002CD|A=S") //if (ProcNumber + "|" + stpseq == "STN FP-202|Q2S2")
// Console.WriteLine("here"); // Console.WriteLine("here");
Content content = null; Content content = null;
Item item = null; Item item = null;
@ -290,7 +290,6 @@ namespace DataLoader
} }
} }
// also see if a check-off needs added. // also see if a check-off needs added.
if (Recid[0] != '0') if (Recid[0] != '0')
{ {
@ -522,7 +521,7 @@ namespace DataLoader
itemc = AddStep(cn, drvs["Type"].ToString() itemc = AddStep(cn, drvs["Type"].ToString()
, (drvs["textm"] == DBNull.Value ? drvs["Text"].ToString() : drvs["Textm"].ToString()) , (drvs["textm"] == DBNull.Value ? drvs["Text"].ToString() : drvs["Textm"].ToString())
, drv["Recid"].ToString(), drvs["CStep"].ToString() + drvs["CSequence"].ToString() , drvs["Recid"].ToString(), drvs["CStep"].ToString() + drvs["CSequence"].ToString()
, GetStructType(drvs["sequence"].ToString()), FrItem , GetStructType(drvs["sequence"].ToString()), FrItem
, GetDTS(drvs["Date"].ToString(), drvs["Time"].ToString()), drvs["Initials"].ToString(), conv_caret, pth, docver, fmt, itemp, FrType , GetDTS(drvs["Date"].ToString(), drvs["Time"].ToString()), drvs["Initials"].ToString(), conv_caret, pth, docver, fmt, itemp, FrType
, drvs["Step"].ToString() + drvs["CSequence"].ToString()); , drvs["Step"].ToString() + drvs["CSequence"].ToString());