C2021-026 Parent/Child applicability in RO Editor
This commit is contained in:
@@ -3112,6 +3112,14 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
// C2017-003: ro data in sql server, check for sql connection string
|
||||
if (myRODB.DBConnectionString != "cstring") args = args + " \"" + myRODB.DBConnectionString + "\"";
|
||||
// C2021-026 pass in Parent/Child information (list of the children)
|
||||
DocVersionConfig dvc = Mydvi.DocVersionConfig as DocVersionConfig;
|
||||
if (dvc != null)
|
||||
{
|
||||
string str = dvc.Unit_Name;
|
||||
if (str!="" && str!="0")
|
||||
args += " \"PC=" + str + "\"";
|
||||
}
|
||||
System.Diagnostics.Process.Start(roapp, args);
|
||||
}
|
||||
}
|
||||
@@ -3268,6 +3276,14 @@ namespace Volian.Controls.Library
|
||||
}
|
||||
// C2017-003: ro data in sql server, check for sql connection string
|
||||
if (Mydvi.DocVersionAssociations[0].MyROFst.MyRODb.DBConnectionString != "cstring") roloc = roloc + " \"" + Mydvi.DocVersionAssociations[0].MyROFst.MyRODb.DBConnectionString + "\"";
|
||||
// C2021-026 pass in Parent/Child information (list of the children)
|
||||
DocVersionConfig dvc = Mydvi.DocVersionConfig as DocVersionConfig;
|
||||
if (dvc != null)
|
||||
{
|
||||
string str = dvc.Unit_Name;
|
||||
if (str!="" && str!="0")
|
||||
roloc += " \"PC=" + str + "\"";
|
||||
}
|
||||
System.Diagnostics.Process.Start(roapp, roloc);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user