Beispiel #1
0
 private void UcBuscadorConsignacionOnBuscarFinished(object sender, List <RemitosVenta> remitos)
 {
     if (remitos.Any())
     {
         if (remitos.Count == 1)
         {
             Guid id          = remitos[0].Id;
             var  remitoVenta = _remitoNegocio.GetById(id, Context.SucursalActual.Id).ToList();
             GridConsignaciones.DataSource = remitoVenta;
         }
     }
     else
     {
         _messageBoxDisplayService.ShowWarning(Resources.ErrorBuscarConsignacionVacio);
     }
 }