From 869820dcea009425b70190e71656abc3c24e4b62 Mon Sep 17 00:00:00 2001 From: rrene Date: Tue, 14 Sep 2021 13:38:59 -0700 Subject: [PATCH] trim en lote --- Inventarios/EntregaAlmacen.aspx.vb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Inventarios/EntregaAlmacen.aspx.vb b/Inventarios/EntregaAlmacen.aspx.vb index 7913c74ab..66f0a2f72 100644 --- a/Inventarios/EntregaAlmacen.aspx.vb +++ b/Inventarios/EntregaAlmacen.aspx.vb @@ -1819,7 +1819,7 @@ Partial Class Inventarios_EntregaAlmacen For Each Dr As DataRow In DtDatos.Rows FechaCaducidad = If(CBool(Dr("AplicaCaducidad")) AndAlso Dr("FechaCaducidad").ToString() <> "", Dr("FechaCaducidad").ToString().ToDate, MinFecha) - Lote = If(CBool(Dr("AplicaLote")), Dr("Lote").ToString(), "-1") + Lote = If(CBool(Dr("AplicaLote")), Dr("Lote").ToString().Trim, "-1") If Not ValidaLoteCaducidad Then FechaCaducidad = MinFecha