From d9d43f516e44140624c9637226cc71202b5c6b2b Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Thu, 21 Mar 2024 00:11:33 -0700 Subject: [PATCH] --Valida no agregar garantias sin precio --- Inventarios/RecepcionUsados.aspx.vb | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/Inventarios/RecepcionUsados.aspx.vb b/Inventarios/RecepcionUsados.aspx.vb index ef2bf7701..781ccf28a 100644 --- a/Inventarios/RecepcionUsados.aspx.vb +++ b/Inventarios/RecepcionUsados.aspx.vb @@ -3372,6 +3372,12 @@ Partial Class Inventarios_RecepcionUsados Alert("Ya existe un consecutivo vigente en este folio", TipoMensaje.MsgAdvertencia) Exit Sub End If + + If TxtPUFactura.Text.ToDecimal() <= 0 Then + Alert("El P.U. debe ser mayor a 0", TipoMensaje.MsgAdvertencia) + Exit Sub + End If + Dim IdConsecutivo As Integer = -1 Dim ObjPS As New ClsProductosServicios Try