B2021-089 #140

Merged
kruffing merged 1 commits from B2021-089_Approve_PC_RO into Development 2023-10-19 06:30:46 -04:00
4 changed files with 6 additions and 6 deletions

View File

@ -544,7 +544,7 @@ namespace Volian.Controls.Library
foreach (DocVersionInfo dvi in dvil) foreach (DocVersionInfo dvi in dvil)
{ {
DocVersionConfig dvc = dvi.DocVersionConfig; 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 + "\""; args += " \"PC=" + dvc.Unit_Name + "\"";
break; break;
@ -1018,7 +1018,7 @@ namespace Volian.Controls.Library
{ {
DocVersionConfig jdvc = dvi.DocVersionConfig; 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 + "\""; args += " \"PC=" + jdvc.Unit_Name + "\"";
break; break;

View File

@ -733,7 +733,7 @@ namespace Volian.Controls.Library
foreach (DocVersionInfo dvi in dvil) foreach (DocVersionInfo dvi in dvil)
{ {
DocVersionConfig dvc = dvi.DocVersionConfig as DocVersionConfig; DocVersionConfig dvc = dvi.DocVersionConfig as 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
roloc += " \"/PC=" + dvc.Unit_Name + "\""; roloc += " \"/PC=" + dvc.Unit_Name + "\"";
break; break;
} }

View File

@ -3148,7 +3148,7 @@ namespace Volian.Controls.Library
foreach (DocVersionInfo dvi in dvil) foreach (DocVersionInfo dvi in dvil)
{ {
DocVersionConfig dvc = dvi.DocVersionConfig as DocVersionConfig; DocVersionConfig dvc = dvi.DocVersionConfig as 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 + "\""; args += " \"PC=" + dvc.Unit_Name + "\"";
break; break;
@ -3318,7 +3318,7 @@ namespace Volian.Controls.Library
foreach (DocVersionInfo dvi in dvil) foreach (DocVersionInfo dvi in dvil)
{ {
DocVersionConfig dvc = dvi.DocVersionConfig as DocVersionConfig; DocVersionConfig dvc = dvi.DocVersionConfig as 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
{ {
roloc += " \"PC=" + dvc.Unit_Name + "\""; roloc += " \"PC=" + dvc.Unit_Name + "\"";
break; break;

View File

@ -2246,7 +2246,7 @@ namespace Volian.Controls.Library
foreach (DocVersionInfo dvi in dvil) foreach (DocVersionInfo dvi in dvil)
{ {
DocVersionConfig dvc = dvi.DocVersionConfig as DocVersionConfig; DocVersionConfig dvc = dvi.DocVersionConfig as 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
{ {
roloc += " \"PC=" + dvc.Unit_Name + "\""; roloc += " \"PC=" + dvc.Unit_Name + "\"";
break; break;