B2022-073 find the first procedure set that has Parent Child information to pass into RO Editor
This commit is contained in:
parent
3778890382
commit
23894b9ab5
@ -538,6 +538,7 @@ namespace Volian.Controls.Library
|
||||
// C2021-026 pass in Parent/Child information (list of the children)
|
||||
// B2022-019 look at all DocVersions to find ParentChild information
|
||||
// to ensure we pass in Parent/Child even when not coming from a Parent/Child procedure set
|
||||
// B2022-073 Break out of the foreach when we find a set with parent/child information
|
||||
|
||||
DocVersionInfoList dvil = DocVersionInfoList.Get();
|
||||
|
||||
@ -547,8 +548,8 @@ namespace Volian.Controls.Library
|
||||
if (dvc != null && dvc.Unit_Name != "" && dvc.Unit_Name != "0")
|
||||
{
|
||||
args += " \"PC=" + dvc.Unit_Name + "\"";
|
||||
break;
|
||||
}
|
||||
break;
|
||||
}
|
||||
|
||||
System.Diagnostics.Process.Start(roapp, args);
|
||||
@ -1096,6 +1097,7 @@ namespace Volian.Controls.Library
|
||||
// C2021-026 pass in Parent/Child information (list of the children)
|
||||
// B2022-019 look at all DocVersions to find ParentChild information
|
||||
// to ensure we pass in Parent/Child even when not coming from a Parent/Child procedure set
|
||||
// B2022-073 Break out of the foreach when we find a set with parent/child information
|
||||
DocVersionInfoList dvil = DocVersionInfoList.Get();
|
||||
|
||||
foreach (DocVersionInfo dvi in dvil)
|
||||
@ -1105,9 +1107,8 @@ namespace Volian.Controls.Library
|
||||
if (jdvc != null && jdvc.Unit_Name != "" && jdvc.Unit_Name != "0")
|
||||
{
|
||||
args += " \"PC=" + jdvc.Unit_Name + "\"";
|
||||
break;
|
||||
}
|
||||
|
||||
break;
|
||||
}
|
||||
|
||||
System.Diagnostics.Process.Start(roapp, args);
|
||||
|
@ -3131,13 +3131,16 @@ namespace Volian.Controls.Library
|
||||
// C2021-026 pass in Parent/Child information (list of the children)
|
||||
// B2022-019 look at all DocVersions to find ParentChild information
|
||||
// to ensure we pass in Parent/Child even when not coming from a Parent/Child procedure set
|
||||
// B2022-073 Break out of the foreach when we find a set with parent/child information
|
||||
DocVersionInfoList dvil = DocVersionInfoList.Get();
|
||||
foreach (DocVersionInfo dvi in dvil)
|
||||
{
|
||||
DocVersionConfig dvc = dvi.DocVersionConfig as DocVersionConfig;
|
||||
if (dvc != null && dvc.Unit_Name != "" && dvc.Unit_Name != "0")
|
||||
{
|
||||
args += " \"PC=" + dvc.Unit_Name + "\"";
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
System.Diagnostics.Process.Start(roapp, args);
|
||||
}
|
||||
@ -3298,13 +3301,16 @@ namespace Volian.Controls.Library
|
||||
// C2021-026 pass in Parent/Child information (list of the children)
|
||||
// B2022-019 look at all DocVersions to find ParentChild information
|
||||
// to ensure we pass in Parent/Child even when not coming from a Parent/Child procedure set
|
||||
// B2022-073 Break out of the foreach when we find a set with parent/child information
|
||||
DocVersionInfoList dvil = DocVersionInfoList.Get();
|
||||
foreach (DocVersionInfo dvi in dvil)
|
||||
{
|
||||
DocVersionConfig dvc = dvi.DocVersionConfig as DocVersionConfig;
|
||||
if (dvc != null && dvc.Unit_Name != "" && dvc.Unit_Name != "0")
|
||||
{
|
||||
roloc += " \"PC=" + dvc.Unit_Name + "\"";
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
System.Diagnostics.Process.Start(roapp, roloc);
|
||||
}
|
||||
|
@ -2103,13 +2103,16 @@ namespace Volian.Controls.Library
|
||||
// C2021-026 pass in Parent/Child information (list of the children)
|
||||
// B2022-019 look at all DocVersions to find ParentChild information
|
||||
// to ensure we pass in Parent/Child even when not coming from a Parent/Child procedure set
|
||||
// B2022-073 Break out of the foreach when we find a set with parent/child information
|
||||
DocVersionInfoList dvil = DocVersionInfoList.Get();
|
||||
foreach (DocVersionInfo dvi in dvil)
|
||||
{
|
||||
DocVersionConfig dvc = dvi.DocVersionConfig as DocVersionConfig;
|
||||
if (dvc != null && dvc.Unit_Name != "" && dvc.Unit_Name != "0")
|
||||
{
|
||||
roloc += " \"PC=" + dvc.Unit_Name + "\"";
|
||||
break;
|
||||
break;
|
||||
}
|
||||
}
|
||||
System.Diagnostics.Process.Start(roapp, roloc);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user