​//This is used to store available physical from inventsum on basis of warehouse. while select * from inventSum where inventSum.ItemId == stockQuotationTmp.ItemId && inventSum.InventLocationId == stockQuotationTmp.WareHouse { stockQuotationTmp.NetAmount += inventSum.AvailPhysical; }​