public ReferenciasVM() { FacturaResults = new ObservableCollection <Factura>(); PlaceHolder = new emptyObject(); getFacturasCommand = new GetFacturasCommand(this); getLotesSalCommand = new GetLotesSalCommand(this); Productos = new ObservableCollection <formulaProduct>(ProductQueries.GetAllMpSimplified()); Lotes = new ObservableCollection <LoteEntrada>(); IsEnabledLotes = false; IsEnabledMP = true; PlaceHolder.EmptyCantidad = 12; PlaceHolder.EmptyAmount = 12.21; SelectedLote = new LoteEntrada(); SelectedProduct = new formulaProduct(); Tipos = new ObservableCollection <string> { "Lote Salida", "Lote Producto Terminado" }; }