private void _vista_UsuarioDesesaObtenerReporte(object sender, Argumentos.InventarioArgumento e) { try { _vista.Invetario = InventarioServicio.ObtenerReporteDeReubicacionSinEscaneo(e.Data); } catch (Exception ex) { _vista.EstablecerError(ex.Message, sender); } }
void _vista_UsuarioDeseaObtenerReubicaciones(object sender, Argumentos.InventarioArgumento e) { try { _vista.Reubicaciones = InventarioServicio.ObtenerInventarioReubicado(e.DataReubicacion); } catch (Exception ex) { _vista.EstablecerError(ex.Message, sender); } }
void _vista_UsuarioDeseaObtenerUbucacionesDestino(object sender, Argumentos.InventarioArgumento e) { try { _vista.UbicacionesDestino = InventarioServicio.ObtenerUbicaciones(e.DataBodega); } catch (Exception ex) { _vista.EstablecerError(ex.Message, sender); } }
void _vista_UsuarioDeseaGrabarReubicacion(object sender, Argumentos.InventarioArgumento e) { try { var op = !e.DataReubicacion.SERIAL_NUMBER.Equals("...") ? InventarioServicio.InsertarReubicacionConSerie(e.DataReubicacion) : InventarioServicio.InsertarReubicaionSinSerie(e.DataReubicacion); if (op.Resultado == ResultadoOperacionTipo.Error) { _vista.EstablecerError(op.Mensaje, sender); } } catch (Exception ex) { _vista.EstablecerError(ex.Message, sender); } }