diff --git a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs index 9c4b1cbe..6ae7330b 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs @@ -1754,7 +1754,10 @@ namespace VEPROMS.CSLA.Library for (int i = 0; i < lstValues.Count; i++) { // B2022-110: PC/PC Multi return values are correct in editor but not correct in Step Properties/ROs when selected, or when printed - var roExt = lstValues.Count==1?null:Extensions.Where(x => x.AccPageExt.Equals(_multiRoValues[i])).SingleOrDefault(); + // B2022-110 continued (9/12/22): for lstValues.Count of 1, needed to use code that was there so that value can be used later for + // setting appid and roid + var roExt = lstValues.Count==1? Extensions.Where(x => x.Offset.Equals(i + 1)).SingleOrDefault() : Extensions.Where(x => x.AccPageExt.Equals(_multiRoValues[i])).SingleOrDefault(); + string roValue = GetParentChildROValue(lstValues[i], this.SelectedSlave); child.children[i].ParentID = child.ID;