|
@@ -203,7 +203,7 @@ namespace PRSDesktop.Utils.LogikalUtils
|
|
|
}
|
|
|
|
|
|
Products = query.Get<Product>().ToObjects<Product>().ToList();
|
|
|
- var _missingProducts = _requiredProducts.Where(x => Products.Any(p => !string.Equals(p.Code, x))).ToArray();
|
|
|
+ var _missingProducts = _requiredProducts.Where(x => !Products.Any(p => string.Equals(p.Code, x))).ToArray();
|
|
|
|
|
|
var _missingProfiles = bom.Profiles.Where(x => _missingProducts.Contains(x.Code)).ToArray();
|
|
|
if (_missingProfiles.Any())
|