public void Remove(OutputDeliveryLine item, bool cache) { base.Remove(item); if (cache) { BatchList list = Cache.Instance.Get(typeof(BatchList)) as BatchList; if (list == null) { return; } BatchInfo pExp = list.GetItem(item.OidPartida); if (pExp != null) { pExp.StockKilos += item.CantidadKilos; pExp.StockBultos += item.CantidadBultos; } } }