From b956f99c64ff3a56f842d149b9852f8b7887a932 Mon Sep 17 00:00:00 2001 From: Jonathan Alexis Perez Morales Date: Fri, 8 Dec 2023 19:18:41 -0700 Subject: [PATCH] --SMS-- Actualizacion de multiples listas de precios, limitado a 15 --- App_Code/ClsProductosServicios.vb | 3 +- Ventas/ActualizarPrecios.aspx | 172 +++++++++++++++++++++++++---- Ventas/ActualizarPrecios.aspx.vb | 178 +++++++++++++++++++++++------- 3 files changed, 287 insertions(+), 66 deletions(-) diff --git a/App_Code/ClsProductosServicios.vb b/App_Code/ClsProductosServicios.vb index 657fc4a88..64dc00556 100644 --- a/App_Code/ClsProductosServicios.vb +++ b/App_Code/ClsProductosServicios.vb @@ -1811,12 +1811,13 @@ Public Class ClsProductosServicios Return Retorno End Function - Public Function GetPSMultiplesPreciosLista(CveEmpresa As Integer, Optional CveClasificacion As Integer = -1, Optional CvePS As Integer = -1, + Public Function GetPSMultiplesPreciosLista(CveEmpresa As Integer, Optional ListasPrecios As String = "-1", Optional CveClasificacion As Integer = -1, Optional CvePS As Integer = -1, Optional CveProveedor As Integer = -1, Optional Estado As Integer = -1, Optional Marcas As String = "-1", Optional CveModelo As Integer = -1) As Boolean Dim Retorno As Boolean = False DataAdapter("PA_Vta_PSPrecioListaMultipleGet") With SqlAdapter.SelectCommand.Parameters .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa + .Add("@ListasPrecios", SqlDbType.VarChar).Value = ListasPrecios .Add("@CveClasificacion", SqlDbType.Int).Value = CveClasificacion .Add("@CvePS", SqlDbType.Int).Value = CvePS .Add("@CveProveedor", SqlDbType.Int).Value = CveProveedor diff --git a/Ventas/ActualizarPrecios.aspx b/Ventas/ActualizarPrecios.aspx index b0f5f819c..bc6418c06 100644 --- a/Ventas/ActualizarPrecios.aspx +++ b/Ventas/ActualizarPrecios.aspx @@ -42,52 +42,57 @@
- -
- + +
+
- -
- + +
+
-
+
- -
- + +
+
- -
- +
+
+ +

- -
- -
- -
+ +
Todos Activos Incativos
+ +
+ +
-
- +
+
+ +
+ +
@@ -238,7 +243,7 @@

- @@ -247,6 +252,127 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
@@ -400,7 +526,7 @@