B2021-089

Depending on how Parent/Child Applicability was set up, the Child Applicability Names were not being sent to the RO Editor.  This prevented adding Child specific RO field values.
This commit is contained in:
jjenko committed 2023-10-18 15:28:08 -04:00
1 parent 22e70d03ad
commit 266667a6df
4 files changed
+6 -6

No files matched your search

+2 -2
View File
@@ -544,7 +544,7 @@ namespace Volian.Controls.Library
foreach (DocVersionInfo dvi in dvil)
{
DocVersionConfig dvc = dvi.DocVersionConfig;
if (dvc != null && dvc.Unit_Name != "" && dvc.Unit_Name != "0")
if (dvc != null && dvc.Unit_Name != "" && dvc.Unit_Count > 1) // B2021-089 only pass in applicability info if defined for more than one unit
{
args += " \"PC=" + dvc.Unit_Name + "\"";
break;
@@ -1018,7 +1018,7 @@ namespace Volian.Controls.Library
{
DocVersionConfig jdvc = dvi.DocVersionConfig;
if (jdvc != null && jdvc.Unit_Name != "" && jdvc.Unit_Name != "0")
if (jdvc != null && jdvc.Unit_Name != "" && jdvc.Unit_Count > 1) // B2021-089 only pass in applicability info if defined for more than one unit
{
args += " \"PC=" + jdvc.Unit_Name + "\"";
break;