diff --git a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs index 78a748fd..fd0ca617 100644 --- a/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs +++ b/PROMS/VEPROMS.CSLA.Library/Config/ROFSTLookup.cs @@ -1206,13 +1206,24 @@ namespace VEPROMS.CSLA.Library if (child.value != null) { string value = child.value.ToUpper().Replace("\\U160?"," "); - if (_ValueLookupDictionary.ContainsKey(value)) - _ValueLookupDictionary[value].Add(new roChild(child)); + string key = null; + if (value.Trim().Length == 0) + continue; // do save anthing with a blank key + // B2022-037 if the RO value contains applicability information, then process it (this will give us the default RO value) + else if (value.Contains(" children = new List(); - children.Add(new roChild(child)); // adding entries to this dictionary for every ro!! - _ValueLookupDictionary.Add(value, children); + // adding entries to this dictionary for every ro!! + children.Add(new roChild(chldForDictionary)); // B2022-037 save the process RO information + _ValueLookupDictionary.Add(key, children); } } }