From 084f3457bfe4568da2caa6e09890148c523721e9 Mon Sep 17 00:00:00 2001 From: rakcsle Date: Mon, 12 Feb 2024 16:23:08 -0700 Subject: [PATCH] SMS 2024.02.08 y SMS 2024.02.09 Retro --- App_Code/ClsInventarios.vb | 3 +- Empresas/13/Formatos/CartaPorteTimbrado.rdlc | 2 +- Inventarios/EntregaAlmacen.aspx | 4 +- Inventarios/EntregaAlmacen.aspx.vb | 26 +++++++-- OS/RepOSMedicas.aspx | 23 ++++---- OS/RepOSMedicas.aspx.vb | 59 ++++++++++++-------- Ventas/Ventas.aspx.vb | 35 ++++++++++-- 7 files changed, 106 insertions(+), 46 deletions(-) diff --git a/App_Code/ClsInventarios.vb b/App_Code/ClsInventarios.vb index 11302558c..5b45ff77e 100644 --- a/App_Code/ClsInventarios.vb +++ b/App_Code/ClsInventarios.vb @@ -2010,7 +2010,7 @@ Public Class ClsInventarios Optional Serie As String = "-1", Optional Lote As String = "-1", Optional FechaCaducidad As Date = MinFecha, Optional CveVendedor As Integer = -1, Optional CveCliente As Integer = -1, Optional ExcluyeAdelantado As Integer = -1, Optional PendientePorSurtir As Integer = -1, - Optional ExcluyeApartados As Integer = 1, Optional RestringirAlmacenes As Integer = -1, Optional ExcluyeTransitorios As Integer = -1) As Decimal + Optional ExcluyeApartados As Integer = 1, Optional RestringirAlmacenes As Integer = -1, Optional ExcluyeTransitorios As Integer = -1, Optional BuscarEnTabla As Boolean = False) As Decimal Dim Retorno As Decimal = -1 If FechaMovto = "-1" Then @@ -2037,6 +2037,7 @@ Public Class ClsInventarios .Add("@ExcluyeApartados", SqlDbType.Int).Value = ExcluyeApartados .Add("@ExcluyeTransitorios", SqlDbType.Int).Value = ExcluyeTransitorios .Add("@RestringirAlmacenes", SqlDbType.Int).Value = RestringirAlmacenes + .Add("@BuscarEnTabla", SqlDbType.Bit).Value = BuscarEnTabla .Add("@Existencia", SqlDbType.Money).Direction = ParameterDirection.Output .Add("@CvePSRetorno", SqlDbType.Int).Direction = ParameterDirection.Output diff --git a/Empresas/13/Formatos/CartaPorteTimbrado.rdlc b/Empresas/13/Formatos/CartaPorteTimbrado.rdlc index cf3392514..c0af07228 100644 --- a/Empresas/13/Formatos/CartaPorteTimbrado.rdlc +++ b/Empresas/13/Formatos/CartaPorteTimbrado.rdlc @@ -4119,7 +4119,7 @@ - Carta Porte 3.0 + Carta Porte 2.0