From e5b0f0ff78f8c797ca427b136bf73a290c8e02df Mon Sep 17 00:00:00 2001 From: rakcsle Date: Tue, 26 Dec 2023 17:15:52 -0700 Subject: [PATCH] Clientes, Sunproyectos Precios de Lista Funcionalidad 404 --- App_Code/ClsVentas.vb | 3 +- Planeacion/CatSubProyectos.aspx | 9 +- Planeacion/CatSubProyectos.aspx.vb | 8 + Ventas/Clientes.aspx | 3 + Ventas/Clientes.aspx.vb | 435 +++++++++++++++++------------ 5 files changed, 275 insertions(+), 183 deletions(-) diff --git a/App_Code/ClsVentas.vb b/App_Code/ClsVentas.vb index 45d5cbd21..e545a9329 100644 --- a/App_Code/ClsVentas.vb +++ b/App_Code/ClsVentas.vb @@ -1976,7 +1976,7 @@ Public Class ClsVentas Return Retorno End Function - Public Function AddPrecioLista(CveUsuario As Integer, CveEmpresa As Integer, PrecioLista As String, Predeterminada As Boolean, Porcentaje As Double) As Integer + Public Function AddPrecioLista(CveUsuario As Integer, CveEmpresa As Integer, PrecioLista As String, Predeterminada As Boolean, Porcentaje As Double, Optional CvePrecioListaClonar As Integer = -1) As Integer Dim Retorno As Integer = -1 DataAdapter("PA_Vta_PrecioListaAdd") @@ -1987,6 +1987,7 @@ Public Class ClsVentas .Add("@PrecioLista", SqlDbType.VarChar).Value = PrecioLista .Add("@Porcentaje", SqlDbType.SmallMoney).Value = Porcentaje .Add("@Predeterminada", SqlDbType.Bit).Value = Predeterminada + .Add("@CvePrecioListaClonar", SqlDbType.Int).Value = CvePrecioListaClonar .Add("@CvePrecioLista", SqlDbType.Int).Direction = ParameterDirection.Output End With diff --git a/Planeacion/CatSubProyectos.aspx b/Planeacion/CatSubProyectos.aspx index 677baa2bc..d308ceb0d 100644 --- a/Planeacion/CatSubProyectos.aspx +++ b/Planeacion/CatSubProyectos.aspx @@ -402,8 +402,11 @@ -
- +
+ +
@@ -449,7 +452,7 @@