From 20608943697455f4428006264538eeaf8bf02bbe Mon Sep 17 00:00:00 2001 From: Oscar Irigoyen Date: Thu, 11 Aug 2022 19:26:03 -0700 Subject: [PATCH] RepVentas Cartas porte, Consignaciones, serie lote --- App_Code/ClsVentas.vb | 26 ++++ Empresas/13/Formatos/ReciboDePago.rdlc | 9 +- Inventarios/Consignaciones.aspx | 128 ++++++++++---------- Inventarios/Consignaciones.aspx.vb | 159 +++++++++++++++---------- Ventas/RepVentas.aspx | 10 +- Ventas/RepVentas.aspx.vb | 27 +++++ 6 files changed, 224 insertions(+), 135 deletions(-) diff --git a/App_Code/ClsVentas.vb b/App_Code/ClsVentas.vb index 8058e13d5..9aee1fca2 100644 --- a/App_Code/ClsVentas.vb +++ b/App_Code/ClsVentas.vb @@ -860,6 +860,9 @@ Public Class ClsVentas Return Retorno End Function + + + Public Function UpdateVentaRNCUsado(CveVentaRNC As Integer, CveVenta As Integer) As Boolean Dim Retorno As Boolean = False @@ -5544,6 +5547,29 @@ Public Class ClsVentas #End Region + Public Function GetListadoCartaPorteRep(FechaI As Date, FechaF As Date, CveSubProyecto As String, CveUsuarioConsulta As Integer, CveEmpresa As Integer) As Boolean + + Dim Retorno As Boolean = False + DataAdapter("PA_Vta_RepListadoCartaPorteGet") + With SqlAdapter.SelectCommand.Parameters + .Add("@FechaI", SqlDbType.Date).Value = FechaI + .Add("@FechaF", SqlDbType.Date).Value = FechaF + .Add("@CveSubProyecto", SqlDbType.VarChar).Value = CveSubProyecto + .Add("@CveUsuarioConsulta", SqlDbType.Int).Value = CveUsuarioConsulta + .Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa + End With + Try + SqlAdapter.Fill(Data) + Retorno = True + Catch ex As Exception + OnError("Ocurrió un error obtener el listado de carta porte.", ex, SqlAdapter.SelectCommand.Parameters.ParametrosInfo()) + End Try + Return Retorno + + + End Function + + #Region "IDisposable Support" diff --git a/Empresas/13/Formatos/ReciboDePago.rdlc b/Empresas/13/Formatos/ReciboDePago.rdlc index 4e47b8017..36a1aa69e 100644 --- a/Empresas/13/Formatos/ReciboDePago.rdlc +++ b/Empresas/13/Formatos/ReciboDePago.rdlc @@ -1514,7 +1514,6 @@ 2pt - true @@ -1869,7 +1868,6 @@ 2pt - true @@ -2224,7 +2222,6 @@ 2pt - true @@ -2579,7 +2576,6 @@ 2pt - true @@ -2934,7 +2930,6 @@ 2pt - true @@ -4948,7 +4943,7 @@ - EXPLORACIONES MINERAS DEL DESIERTO S.A. DE C.V. RFC: EMD950206SRA + EXPLORACIONES MINERAS DEL DESIERTO S.A. DE C.V.