trim en lote
This commit is contained in:
@@ -1819,7 +1819,7 @@ Partial Class Inventarios_EntregaAlmacen
|
|||||||
|
|
||||||
For Each Dr As DataRow In DtDatos.Rows
|
For Each Dr As DataRow In DtDatos.Rows
|
||||||
FechaCaducidad = If(CBool(Dr("AplicaCaducidad")) AndAlso Dr("FechaCaducidad").ToString() <> "", Dr("FechaCaducidad").ToString().ToDate, MinFecha)
|
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
|
If Not ValidaLoteCaducidad Then
|
||||||
FechaCaducidad = MinFecha
|
FechaCaducidad = MinFecha
|
||||||
|
|||||||
Reference in New Issue
Block a user