Пример #1
0
 public void Procesar()
 {
     if (Motivo.Trim() != "")
     {
         IsAnularOK = true;
     }
 }
Пример #2
0
        public bool Verificar()
        {
            var rt = true;

            if (AutorizadoPor.Trim() == "")
            {
                Helpers.Msg.Error("Campo [ Autorizado ] Falta Por LLenar");
                return(false);
            }

            if (Motivo.Trim() == "")
            {
                Helpers.Msg.Error("Campo [ Motivo ] Falta Por LLenar");
                return(false);
            }

            if (detalle.ListaItems.Count == 0)
            {
                Helpers.Msg.Error("No Hay Items En El Documento ");
                return(false);
            }

            if (detalle.ListaItems.Count(c => c.Importe == 0.0m) > 0)
            {
                Helpers.Msg.Error("Hay Items En El Documento Con Importe En Cero (0)");
                return(false);
            }

            return(rt);
        }
Пример #3
0
 public void Procesar()
 {
     if (Motivo.Trim() != "")
     {
         _procesarIsOk = true;
     }
 }