|
@@ -407,7 +407,7 @@ namespace PRSDesktop
|
|
|
if (_requisition.StockUpdated.IsEmpty())
|
|
|
{
|
|
|
var emptyrows = Items.Data.Rows.Where(r =>
|
|
|
- !Entity.IsEntityLinkValid<RequisitionItem, StockHoldingLink>(x => x.Holding, r) &&
|
|
|
+ !Entity.IsEntityLinkValid<RequisitionItem, StockLocationLink>(x => x.Location, r) &&
|
|
|
r.Get<RequisitionItem, bool>(c => c.Product.NonStock).Equals(false));
|
|
|
if (emptyrows.Any())
|
|
|
{
|