Added ProcName attribute with value to History node of ConfigInfo xml

For multi unit data, added Applicability attribute with value to MasterSlave node of ConfigInfo xml
This commit is contained in:
Rich 2012-12-04 22:41:01 +00:00
parent f7c9dde072
commit 55bb5f8c95

View File

@ -28,6 +28,13 @@ namespace DataLoader
frmMain.UpdateLabels(0, 0, 1); frmMain.UpdateLabels(0, 0, 1);
ConfigInfo ci = new ConfigInfo(null); ConfigInfo ci = new ConfigInfo(null);
ci.AddItem("History", "RecID", Recid); ci.AddItem("History", "RecID", Recid);
ci.AddItem("History", "ProcName", ProcFileName.ToUpper());
if (MultiUnitCount > 0)
{
string apple = AddApplicability(Recid);
if(apple != null)
ci.AddItem("MasterSlave", "Applicability", apple);
}
string stptext = null; string stptext = null;
if (userid == null || userid == "") userid = "Migration"; if (userid == null || userid == "") userid = "Migration";
int tok = -1; int tok = -1;