This commit is contained in:
parent
19349d9fcd
commit
e192f0e1a3
@ -20,11 +20,11 @@ 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;
|
||||||
|
|
||||||
frmMain.UpdateLabels(0, 0, 1);
|
frmMain.UpdateLabels(0, 0, 1);
|
||||||
ConfigInfo ci = new ConfigInfo(null);
|
ConfigInfo ci = new ConfigInfo(null);
|
||||||
string stptext = null;
|
string stptext = null;
|
||||||
@ -290,11 +290,10 @@ 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')
|
||||||
{
|
{
|
||||||
recdirty = true;
|
recdirty = true;
|
||||||
string chkindx = Recid[0].ToString();
|
string chkindx = Recid[0].ToString();
|
||||||
//if (ci == null) ci = new ConfigInfo(null);
|
//if (ci == null) ci = new ConfigInfo(null);
|
||||||
ci.AddItem("Step", "CheckOffIndex", chkindx);
|
ci.AddItem("Step", "CheckOffIndex", chkindx);
|
||||||
@ -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());
|
||||||
|
Loading…
x
Reference in New Issue
Block a user