diff --git a/Compras/PopUpVerFactura.aspx.vb b/Compras/PopUpVerFactura.aspx.vb index 6178a49b9..279619e3a 100644 --- a/Compras/PopUpVerFactura.aspx.vb +++ b/Compras/PopUpVerFactura.aspx.vb @@ -4485,6 +4485,26 @@ Partial Class PopUpVerFactura params.Add(New ReportParameter("FechaImpresion", NowADS().ToString("dd/MM/yyyy"))) params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre)) ImprimirPDF(UsuarioActual.Empresa.Ruta & "Formatos/SalidaDemostracion.rdlc", DtMovimientos, params, String.Format("Salida por Demostración - {0}", Folio.ToString), RDSName:="DsInventarios") + Else + + params.Add(New ReportParameter("LogoPath", RutaImagenLogo)) + params.Add(New ReportParameter("Empresa", UsuarioActual.Empresa.Empresa)) + params.Add(New ReportParameter("RFC", UsuarioActual.Empresa.RFC)) + params.Add(New ReportParameter("Direccion", UsuarioActual.Empresa.Direccion)) + params.Add(New ReportParameter("CP", UsuarioActual.Empresa.CP)) + params.Add(New ReportParameter("Localidad", UsuarioActual.Empresa.Localidad)) + params.Add(New ReportParameter("Estado", UsuarioActual.Empresa.Estado)) + params.Add(New ReportParameter("Colonia", UsuarioActual.Empresa.Colonia)) + + params.Add(New ReportParameter("Concepto", "SALIDA POR DEMOSTRACIÓN")) + params.Add(New ReportParameter("Folio", Folio)) + params.Add(New ReportParameter("Fecha", Fecha)) + params.Add(New ReportParameter("Observaciones", Observaciones)) + params.Add(New ReportParameter("Almacen", Almacen)) + params.Add(New ReportParameter("NombreRecibio", Recibio)) + params.Add(New ReportParameter("FechaImpresion", NowADS().ToString("dd/MM/yyyy"))) + params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre)) + ImprimirPDF(RutaFormatoReporte("SalidaDemostracion.rdlc"), DtMovimientos, params, String.Format("Salida por Demostración - {0}", Folio.ToString), RDSName:="DsInventarios") End If Case 34, 35 ' S A L I D A S P O R A J U S T E --- S A L I D A M A N U A L 'Dim Archivo As New System.IO.FileInfo(String.Format("Empresas/{0}/Formatos/Salidas.rdlc", 72)) diff --git a/Empresas/186/Formatos/Salidas.rdlc b/Empresas/186/Formatos/Salidas.rdlc index 4caa30b19..2902993d6 100644 --- a/Empresas/186/Formatos/Salidas.rdlc +++ b/Empresas/186/Formatos/Salidas.rdlc @@ -694,7 +694,7 @@ Logo FitProportional 0.12668cm - 0.07701cm + 0.11112cm 2.58833cm 4.20283cm - 0cm 0.13678cm 0cm 20.28859cm @@ -2496,7 +2495,6 @@ Municipio y/o Delegación: - 0cm 0.13678cm 0cm 25.72414cm diff --git a/Empresas/186/Formatos/TrasladoAngeles - copia.rdlc b/Empresas/186/Formatos/TrasladoAngeles - copia.rdlc deleted file mode 100644 index d42c8d3da..000000000 --- a/Empresas/186/Formatos/TrasladoAngeles - copia.rdlc +++ /dev/null @@ -1,3343 +0,0 @@ - - - 0 - - - - System.Data.DataSet - /* Local Connection */ - - 457ddefa-843b-4fae-8b02-70764606cb28 - - - - - - DsInventarios - /* Local Query */ - - - - Codigo - System.String - - - NumeroParte - System.String - - - PS - System.String - - - UnidadMedida - System.String - - - PU - System.Decimal - - - Cantidad - System.Decimal - - - Total - System.Decimal - - - Descuento - System.Decimal - - - CodigoAF - System.String - - - Almacen - System.String - - - SerieLote - System.String - - - Observaciones - System.String - - - Lote - System.String - - - FechaCaducidad - System.Date - - - PUVenta - System.Decimal - - - IVAVenta - System.Decimal - - - SubTotalVenta - System.Decimal - - - Marca - System.String - - - CodigoAlterno - System.String - - - PSAlterno - System.String - - - - DsInventarios - C:\inetpub\wwwVentas\App_Code\DsInventarios.xsd - DtMovimientos - - - - - - - - - - - - - - - 1.37635cm - - - 10.38681cm - - - 4.60507cm - - - 4.43146cm - - - 4.65792cm - - - - - 0.43377cm - - - - - true - - - - - Cant. - - - - - - - Textbox1 - - - - Black - - 1pt - - - Black - - 1pt - - #9cc3e5 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - - - - - Descripción - - - - - - - Textbox3 - - - - Black - - 1pt - - - Black - - 1pt - - #9cc3e5 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - - - - - Código - - - - - - - Textbox5 - - - - - - - - - #9cc3e5 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - P. Unitario - - - - - - - Textbox7 - - - - Black - - 1pt - - - Black - - 1pt - - #9cc3e5 - 2pt - 2pt - 2pt - 2pt - - - - - - - - true - true - - - - - Importe - - - - - - - Textbox15 - - - - Black - - 1pt - - - Black - - 1pt - - #9cc3e5 - 2pt - 2pt - 2pt - 2pt - - - - - - - - 0.4095cm - - - - - true - true - - - - - =Fields!Cantidad.Value - - - - - - - Cantidad - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - =Fields!PSAlterno.Value - - - - - - - PSAlterno - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - true - - - - - =Fields!CodigoAlterno.Value - - - - - - - CodigoAlterno - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - =Fields!PUVenta.Value - - - - - - - PUVenta - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - =Fields!SubTotalVenta.Value - - - - - - - SubTotalVenta - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - 0.17667cm - - - - - true - true - - - - - - - - - - - - Textbox32 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox37 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox39 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox40 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox41 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - 0.25604cm - - - - - true - true - - - - - - - - - - - - Textbox8 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - CATALOGO - - - - =Fields!NumeroParte.Value - - - - - - - Codigo1 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox13 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox16 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox17 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - 0.2825cm - - - - - true - true - - - - - - - - - - - - Textbox48 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - FABRICANTE - - - - =Fields!Marca.Value - - - - - - - Marca - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox55 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox59 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox60 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - 0.2825cm - - - - - true - true - - - - - - - - - - - - Textbox62 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - LOTE - - - - =Fields!Lote.Value - - - - - - - Lote - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox64 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox65 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox66 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - 0.30896cm - - - - - true - true - - - - - - - - - - - - Textbox67 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - CADUCIDAD - - - - = Format(Fields!FechaCaducidad.Value, "dd/MM/yyyy") - - - - - - - FechaCaducidad1 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox69 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox70 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox71 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - 0.33542cm - - - - - true - true - - - - - - - - - - - - Textbox19 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - FechaCaducidad - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox23 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - Sub Total - - - - - - - Textbox42 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - =Sum(Fields!SubTotalVenta.Value, "DsInventarios") - - - - - - - Textbox43 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - 0.2825cm - - - - - true - true - - - - - - - - - - - - Textbox44 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox45 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox46 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - I.V.A. - - - - - - - Textbox49 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - =Sum(Fields!IVAVenta.Value, "DsInventarios") - - - - - - - Textbox50 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - 0.33542cm - - - - - true - true - - - - - - - - - - - - Textbox51 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox52 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - - - - - - - - Textbox53 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - Importe Total - - - - - - - Textbox56 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - true - true - - - - - = Sum(Fields!SubTotalVenta.Value, "DsInventarios") + Sum(Fields!IVAVenta.Value, "DsInventarios") - - - - - - - Textbox57 - - - Bottom - 2pt - 2pt - =IIf(rownumber(nothing) = 1, "2pt", "0pt") - - - - - - - - - - - - - - - - - - - - - After - - - - - - - - - - - - - - Before - - - Before - - - Before - - - - DsInventarios - 0.14111cm - 0.10068cm - 3.10328cm - 25.45761cm - - - - - - true - true - - - - - =Parameters!Observaciones.Value - - - - - - - - - - - - - - =Parameters!Documentacion.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - 4.79214cm - 0.10068cm - 0cm - 25.72414cm - 2 - - - - - - 1.88667in - - - - - - true - true - - - - - SMS SMART MEDICAL SOLUTIONS - - - - - - - Textbox2 - 0.07163cm - 8.55215cm - 0.38833cm - 8.54466cm - 1 - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - SSM1908213A0 -NEBRASKA 157, Col. NAPOLES -BENITO JUAREZ - - - - - - - - - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Microsoft.VisualBasic.Interaction.iif(Parameters!CveConcepto.Value = 8, "REMISIÓN", "ENTRADA DE TRASLADO") - - - - - - - Textbox2 - 0.07163cm - 18.69141cm - 0.38833cm - 6.81397cm - 3 - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Folio - - - - - - - Textbox12 - 0.88084cm - 21.17549cm - 0.44478cm - 4.32987cm - 4 - - - #9cc3e5 - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!Folio.Value - - - - - - - Textbox12 - 1.32562cm - 21.17549cm - 0.44478cm - 4.32987cm - 5 - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Fecha - - - - - - - Textbox12 - 1.7704cm - 21.1755cm - 0.44478cm - 4.32987cm - 6 - - - #9cc3e5 - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!Fecha.Value - - - - - - - Textbox12 - 2.21518cm - 21.17549cm - 0.44478cm - 4.32987cm - 7 - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =iif(Parameters!CveConcepto.Value = 8, "Carga Privada", " ") - - - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Cliente: - - - - =Parameters!ClienteCodigo.Value - - - - - - - - - =Parameters!ClienteNombre.Value - - - - . - - - - - =IIF(LEN(Parameters!ClienteSucursal.Value)> 0,"Sucursal: ","") - - - - =IIF(LEN(Parameters!ClienteSucursal.Value)>0, Parameters!ClienteSucursal.Value & " ","") - - - - RFC: - - - - =Parameters!ClienteRFC.Value - - - - -Calle: - - - - =Parameters!ClienteCalle.Value - - - - - - - - =Parameters!ClienteNoExt.Value - - - - . Colonia: - - - - =Parameters!ClienteColonia.Value - - - - Ciudad: - - - - =Parameters!ClienteCiudad.Value - - - - . -Estado: - - - - =Parameters!ClienteEstado.Value - - - - . -Municipio y/o Delegación: - - - - =Parameters!ClienteMunicipio.Value - - - - . CP: - - - - =Parameters!ClienteCP.Value - - - - . - - - - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - - 2.5569cm - true - true - - - true - true - - - - - =Parameters!ResponsableCarga.Value - - - - - - - Textbox21 - 0.74266cm - 5.68986cm - 0.50243cm - 5.79375cm - - =iif(Parameters!CveConcepto.Value = 9,true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!ResponsableRecibio.Value - - - - - - - Textbox21 - 0.74266cm - 14.40467cm - 0.50243cm - 5.78664cm - 1 - - =iif(Parameters!CveConcepto.Value = 9,true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - ___________________________ - - - - - - - - - Nombre y Firma - - - - - - - Textbox21 - 1.02875cm - 5.69781cm - 0.82958cm - 5.78664cm - 2 - - =iif(Parameters!CveConcepto.Value = 9,true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - ___________________________ - - - - - - - - - Nombre y Firma - - - - - - - Textbox21 - 1.0282cm - 14.41177cm - 0.82958cm - 5.78664cm - 3 - - =iif(Parameters!CveConcepto.Value = 9,true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Envió - - - - - - - Textbox22 - 0.04156cm - 5.69781cm - 0.6cm - 5.78664cm - 4 - - =iif(Parameters!CveConcepto.Value = 9,true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!Accion.Value - - - - - - - Textbox22 - 0.04156cm - 14.41177cm - 0.6cm - 5.78664cm - 5 - - =iif(Parameters!CveConcepto.Value = 9,true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =IIF(Parameters!NombreAccion.Value = "","",Parameters!NombreAccion.Value) - - - - Textbox21 - 0.41931cm - 10.04017cm - 0.63528cm - 5.78664cm - 6 - - =iif(Parameters!CveConcepto.Value = 8, True, False) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - ___________________________ - - - - - - - - - Nombre y Firma - - - - - - - Textbox21 - 1.0282cm - 10.04727cm - 0.82958cm - 5.78664cm - 7 - - =iif(Parameters!CveConcepto.Value = 8, True, False) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!Accion.Value - - - - - - - Textbox22 - 0.04156cm - 10.04727cm - 0.6cm - 5.78664cm - 8 - - =iif(Parameters!CveConcepto.Value = 8, True, False) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Usuario: - - - - - - - - =Parameters!UsuarioImprimio.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Fecha Impresión: - - - - =Parameters!FechaImpresion.Value - - - - - - 2pt - 2pt - 2pt - 2pt - - - - 0.13678cm - 0cm - 20.28859cm - 11 - - - - - - 1.99597cm - 0.10068cm - 0cm - 25.76024cm - 12 - - - - - - true - true - - - - - ="Página " & Globals.PageNumber & " de " & Globals.TotalPages - - - - - - - Textbox10 - 2.13709cm - 23.00537cm - 0.41981cm - 2.55292cm - 13 - - - 2pt - 2pt - 2pt - 2pt - - - - - - - - 21.59cm - 27.94cm - 1cm - 1cm - 0.5cm - 0.5cm - 0.13cm -