diff --git a/App_Code/ClsOC.vb b/App_Code/ClsOC.vb index 622e12946..b632cf800 100644 --- a/App_Code/ClsOC.vb +++ b/App_Code/ClsOC.vb @@ -131,6 +131,8 @@ Public Class ClsOC End Get End Property + Public Property DiasCreditoOC As Integer = 0 + #End Region @@ -695,6 +697,7 @@ Public Class ClsOC CveProveedorContacto = If(Not IsDBNull(dr("CveProveedorContacto")), dr("CveProveedorContacto").ToString.ToEntero, -1) NumRemision = dr("NumRemision").ToString PorcentajeProntoPago = dr("PorcentajeProntoPago").ToString.ToDecimal + DiasCreditoOC = dr("DiasCreditoOC").ToString.ToEntero Retorno = True ElseIf Data.Rows.Count > 0 Then @@ -715,7 +718,7 @@ Public Class ClsOC Optional PorcentajeIVA As Decimal = 0.16D, Optional IVA As Decimal = 0, Optional RetIVA As Decimal = 0, Optional RetISR As Decimal = 0, Optional FechaExpiracion As Date = Nothing, Optional CveCotizacion As Integer = -1, Optional FolioAdicional As String = "", Optional EntregaDirecta As Integer = -1, Optional CveDireccionEnvio As Integer = -1, Optional Guia As String = "-1", Optional IEPS As Decimal = -1, Optional CveIEAnticipo As Integer = -1, Optional ImporteAnticipo As Decimal = 0, Optional UsoCFDI As Integer = -1, Optional Promocion As String = "-1", Optional CveProveedorContacto As Integer = -1, Optional NumRemision As String = "-1", - Optional CveColectiva As Integer = -1, Optional MetodoPago As Integer = -1, Optional CveSubProyectoEntrega As Integer = -1, Optional PorcentajeProntoPago As Decimal = 0) As Boolean + Optional CveColectiva As Integer = -1, Optional MetodoPago As Integer = -1, Optional CveSubProyectoEntrega As Integer = -1, Optional PorcentajeProntoPago As Decimal = 0, Optional DiasCreditoOC As Integer = -1) As Boolean Dim Retorno As Boolean = False DataAdapter("PA_OC_OrdenesCompraAdd") @@ -763,10 +766,13 @@ Public Class ClsOC .Add("@MetodoPago", SqlDbType.Int).Value = MetodoPago ' 0 Contado, 1 Credito .Add("@CveSubProyectoEntrega", SqlDbType.Int).Value = CveSubProyectoEntrega ' 0 Contado, 1 Credito .Add("@PorcentajeProntoPago", SqlDbType.Decimal).Value = PorcentajeProntoPago + .Add("@DiasCreditoOC", SqlDbType.Int).Value = DiasCreditoOC .Add("@vCveOrdenCompra", SqlDbType.Int).Direction = ParameterDirection.Output .Add("@vFolio", SqlDbType.Int).Direction = ParameterDirection.Output .Add("@vSerieFolio", SqlDbType.VarChar, 25).Direction = ParameterDirection.Output + + End With Try @@ -929,7 +935,7 @@ Public Class ClsOC Optional IVA As Decimal = 0, Optional RetIVA As Decimal = 0, Optional RetISR As Decimal = 0, Optional IDPoliza As Integer = -1, Optional FechaExpiracion As Date = Nothing, Optional FolioAdicional As String = "", Optional EntregaDirecta As Integer = -1, Optional CveDireccionEnvio As Integer = -1, Optional Guia As String = "-1", Optional IEPS As Decimal = -1, Optional UsoCFDI As Integer = -1, Optional Promocion As String = "-1", Optional pCveProveedorSucursal As Integer = -1, Optional CveProveedorContacto As Integer = -1, Optional PorcentajeIVA As Decimal = 0.16D, Optional NumRemision As String = "-1", Optional MetodoPago As Integer = -1, - Optional CveSubProyectoEntrega As Integer = -1, Optional PorcentajeProntoPago As Decimal = 0) As Boolean + Optional CveSubProyectoEntrega As Integer = -1, Optional PorcentajeProntoPago As Decimal = 0, Optional DiasCreditoOC As Integer = -1) As Boolean Dim Retorno As Boolean = False DataAdapter("PA_OC_OrdenesCompraUpdate") @@ -967,6 +973,7 @@ Public Class ClsOC .Add("@MetodoPago", SqlDbType.Int).Value = MetodoPago ' 0 Contado, 1 Credito .Add("@CveSubProyectoEntrega", SqlDbType.Int).Value = CveSubProyectoEntrega .Add("@PorcentajeProntoPago", SqlDbType.Decimal).Value = PorcentajeProntoPago + .Add("@DiasCreditoOC", SqlDbType.Int).Value = DiasCreditoOC End With diff --git a/Compras/PopUpVerFactura.aspx.vb b/Compras/PopUpVerFactura.aspx.vb index 9e51948cd..77c1bb16c 100644 --- a/Compras/PopUpVerFactura.aspx.vb +++ b/Compras/PopUpVerFactura.aspx.vb @@ -1575,23 +1575,22 @@ Partial Class PopUpVerFactura 'Boleto If UrlParametros("OP").ToString = "AMORTIZACIONHIS" Then - 'CveViajePasajero + Dim CVEIE As Integer = UrlParametros("CVEIE").ToString.ToEntero Dim CVEVENTAAMORTIZADA As Integer = UrlParametros("CVEVENTAAMORTIZADA").ToString.ToEntero Dim CVEVENTA As Integer = UrlParametros("CVEVENTA").ToString.ToEntero Dim CVECLIENTE As Integer = UrlParametros("CVECLIENTE").ToString.ToEntero Dim MONTO As Decimal = UrlParametros("MONTO").ToString.ToDecimal - Dim SALDO As Decimal = UrlParametros("SALDO").ToString.ToDecimal If CVECLIENTE > 0 AndAlso (CVEIE > 0 Or CVEVENTA > 0) Then - ImprimirSaldosAmortizacion(CVEVENTAAMORTIZADA, CVEIE, CVEVENTA, CVECLIENTE, MONTO, SALDO) + ImprimirSaldosAmortizacion(CVEVENTAAMORTIZADA, CVEIE, CVEVENTA, CVECLIENTE, MONTO) End If End If End Sub - Private Sub ImprimirSaldosAmortizacion(CveVentaAmortizada As Integer, CveIE As Integer, CveVenta As Integer, CveCliente As Integer, Monto As Decimal, Saldo As Decimal) + Private Sub ImprimirSaldosAmortizacion(CveVentaAmortizada As Integer, CveIE As Integer, CveVenta As Integer, CveCliente As Integer, Monto As Decimal) Dim ObjMovtos As New ClsMovimientos() @@ -1599,6 +1598,7 @@ Partial Class PopUpVerFactura Dim DatosSaldoAntNCDev As New DataTable Dim TipoDocto As String = "" Dim Folio As String = "" + Dim Saldo As Decimal = 0D Dim DTNCVinculadas As New DataTable @@ -1623,10 +1623,15 @@ Partial Class PopUpVerFactura If CveIE > 0 Then CveVenta = DatosSaldoAntNCDev.FiltroPrimeroValor("CveVenta", $"CveIE={CveIE}").ToEntero Folio = DatosSaldoAntNCDev.FiltroPrimeroValor("Folio", $"CveIE={CveIE}") + Saldo = DatosSaldoAntNCDev.FiltroPrimeroValor("Saldo", $"CveIE={CveIE}").ToDecimal Else Folio = DatosSaldoAntNCDev.FiltroPrimeroValor("Folio", $"CveVenta={CveVenta}") + Saldo = DatosSaldoAntNCDev.FiltroPrimeroValor("Saldo", $"CveVenta={CveVenta}").ToDecimal End If + + + End If If TipoDocto.Contiene("Egs", "Dev", "Ant", "NC") Then @@ -1669,8 +1674,8 @@ Partial Class PopUpVerFactura params.Add(New ReportParameter("FechaImpresion", NowADS().ToString)) params.Add(New ReportParameter("LogoPath", If(Imagen.Exists, $"file://{Imagen.FullName}", ""))) - params.Add(New ReportParameter("Monto", Monto.ToString)) - params.Add(New ReportParameter("Saldo", Saldo.ToString)) + params.Add(New ReportParameter("Monto", Monto.ToString("###,###,###.00"))) + params.Add(New ReportParameter("Saldo", Saldo.ToString("###,###,###.00"))) params.Add(New ReportParameter("Folio", Folio)) Dim NombreArchivo As String = "SaldoAntNCDev.rdlc" @@ -3121,9 +3126,6 @@ Partial Class PopUpVerFactura params.Add(New ReportParameter("FechaImpresion", NowADS().ToString("dd/MM/yyyy"))) params.Add(New ReportParameter("Folio", Folio)) params.Add(New ReportParameter("UsuarioImprimio", UsuarioActual.Nombre)) - 'params.Add(New ReportParameter("Descuentos", (dr("Descuentos").ToString.ToDouble).FormatoNumero(2))) - 'params.Add(New ReportParameter("IVA", dr("IVA").ToString.FormatoNumero(2))) - 'params.Add(New ReportParameter("Total", dr("Total").ToString.FormatoNumero(2))) params.Add(New ReportParameter("NombreEntrego", String.Format("ENTREGÓ{0}{1}", vbCrLf, Capturo))) params.Add(New ReportParameter("NombreRecibio", String.Format("RECIBIÓ{0}{1}", vbCrLf, Recibio))) @@ -6039,7 +6041,12 @@ Partial Class PopUpVerFactura Dim rdsPrePoliza As New ReportDataSource("DSPrePoliza", dtPrePoliza) reportDataSetsList.Add(rdsPrePoliza) + Dim lblSubProyecto As New Label + CargarCentrosDeCosto(Nothing, Nothing, Nothing, lblSubProyecto) + paramList.Add(New ReportParameter("TipoCentroCosto", lblSubProyecto.Text)) + ImprimirPDF("Empresas\Grales\Formatos\rptChequeMovimientosPrePoliza.rdlc", reportDataSetsList, paramList, ObjIE.Folio, "PDF") + Else ImprimirPDF("Empresas\Grales\Formatos\rptChequeMovimientos.rdlc", reportDataSetsList, paramList, ObjIE.Folio, "PDF") End If diff --git a/Empresas/189/Formatos/OC.rdlc b/Empresas/189/Formatos/OC.rdlc index f7dee0b2b..2fee621c5 100644 --- a/Empresas/189/Formatos/OC.rdlc +++ b/Empresas/189/Formatos/OC.rdlc @@ -669,7 +669,7 @@ - =Fields!Producto.Value + =IIF(Fields!Producto.Value=".",Fields!Obs.Value,Fields!Producto.Value) + true diff --git a/Empresas/Grales/Formatos/SaldoAntNCDev.rdlc b/Empresas/189/Formatos/RepOCxSurtirPorOC.rdlc similarity index 58% rename from Empresas/Grales/Formatos/SaldoAntNCDev.rdlc rename to Empresas/189/Formatos/RepOCxSurtirPorOC.rdlc index 3ccdf0c86..70b7a5cb6 100644 --- a/Empresas/Grales/Formatos/SaldoAntNCDev.rdlc +++ b/Empresas/189/Formatos/RepOCxSurtirPorOC.rdlc @@ -17,20 +17,40 @@ /* Local Query */ - - SerieFolio + + CveOrdenCompra System.String - - FechaAplicado + + Folio System.String - - Importe + + FechaIng + System.String + + + Descripcion + System.String + + + CodigoPS + System.String + + + CantidadOC System.Double - - Moneda + + CantidadCompra + System.Double + + + Pendiente + System.Double + + + SubProyecto System.String @@ -64,7 +84,7 @@ Folio @@ -77,13 +97,13 @@ Textbox28 - LightGrey + #e36c09 1pt @@ -95,13 +115,22 @@ - 3.42604cm + 1.75917cm - 3.37313cm + 7.90365cm - 3.00271cm + 2.69875cm + + + 2.16336cm + + + 2.8203cm + + + 2.01554cm @@ -110,17 +139,52 @@ - + true true - =Fields!FechaAplicado.Value + =Fields!FechaIng.Value + + + + + + FechaIng + + + =IIF(CInt(Fields!CveOrdenCompra.Value) < 1, "#67809F","Transparent") + 0.5pt + + + + + + + + true + true + + + + + =Fields!Descripcion.Value + @@ -129,12 +193,12 @@ - FechaAplicado + Descripcion - White + =IIF(CInt(Fields!CveOrdenCompra.Value) < 1, "#67809F","Transparent") 0.5pt @@ -142,17 +206,18 @@ - + true true - =Fields!Moneda.Value + =Fields!SubProyecto.Value @@ -161,12 +226,12 @@ - Moneda + SubProyecto - White + =IIF(CInt(Fields!CveOrdenCompra.Value) < 1, "#67809F","Transparent") 0.5pt @@ -174,18 +239,19 @@ - + true true - =Fields!Importe.Value + =Fields!CantidadOC.Value @@ -194,12 +260,80 @@ - Importe + CantidadOC - White + =IIF(CInt(Fields!CveOrdenCompra.Value) < 1, "#67809F","Transparent") + 0.5pt + + + + + + + + true + true + + + + + =Fields!CantidadCompra.Value + + + + + + + CantidadCompra + + + =IIF(CInt(Fields!CveOrdenCompra.Value) < 1, "#67809F","Transparent") + 0.5pt + + + + + + + + true + true + + + + + =Fields!Pendiente.Value + + + + + + + Pendiente + + + =IIF(CInt(Fields!CveOrdenCompra.Value) < 1, "#67809F","Transparent") 0.5pt @@ -215,7 +349,7 @@ 0.44125cm - + true true @@ -225,7 +359,7 @@ Fecha @@ -235,13 +369,13 @@ - Textbox19 + Textbox12 - LightGrey + #e36c09 1pt @@ -252,17 +386,17 @@ 0.44125cm - + true true - Moneda + Descripción @@ -272,13 +406,13 @@ - Textbox21 + Textbox44 - LightGrey + #e36c09 1pt @@ -289,17 +423,17 @@ 0.44125cm - + true true - Importe + =Parameters!TipoCentroCosto.Value @@ -309,13 +443,125 @@ - Textbox23 + Textbox4 - LightGrey + #e36c09 + 1pt + + + true + + + + + + 0.44125cm + + + true + true + + + + + Cantidad OC + + + + + + + Textbox49 + + + #e36c09 + 1pt + + + + + + + + 0.44125cm + + + true + true + + + + + Cantidad Compra + + + + + + + Textbox51 + + + #e36c09 + 1pt + + + + + + + + 0.44125cm + + + true + true + + + + + Pendiente + + + + + + + Textbox47 + + + #e36c09 1pt @@ -329,33 +575,34 @@ - 2.39924cm + 1.24826cm - + true true - =Fields!SerieFolio.Value + =Fields!Folio.Value - SerieFolio + Folio1 - White + =IIF(CInt(Fields!CveOrdenCompra.Value) < 1, "#67809F","Transparent") 0.5pt @@ -367,24 +614,60 @@ true true DataSet1 - 0.12375cm + 0.75875cm 0.06614cm 0.8825cm - 12.20112cm + 20.60903cm + + true + true + + + + + =Parameters!AgrupadoPor.Value + HTML + + + + + + + Textbox1 + 0.07056cm + 0.06614cm + 0.58236cm + 20.60903cm + 1 + + + 2pt + 2pt + 2pt + 2pt + + - 0.39616in + 0.77116in @@ -468,414 +752,6 @@ - - true - true - - - - - Cliente: - - - - - - - - - true - true - - - - - =Parameters!Cliente.Value - - - - - - true - true - - - - - Facura: - - - - - - - - - true - true - - - - - =Parameters!SerieFolio.Value - - - - - - true - true - - - - - Monto: - - - - - - - - - true - true - - - - - =Parameters!Monto.Value - - - - - - true - true - - - - - Saldo: - - - - - - - - - true - true - - - - - =Parameters!Saldo.Value - - - - - - true - true - - - - - Aplicaciones de facturas: - - - - - - - - - true - true - - - - - Folio: - - - - - - - - - true - true - - - - - =Parameters!Folio.Value - - - - - - true - true - - - - - Fecha: - - - - - - - - - true - true - - - - - =Parameters!FechaImpresion.Value - - - - - - - - - true - true - - - - - Moneda: - - - - - - - - - true - true - - - - - =Parameters!Moneda.Value - - - - @@ -529,7 +530,7 @@ - Facura: + Factura: @@ -802,9 +803,7 @@ =Parameters!FechaImpresion.Value - + - + + - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - #e36c09 2pt 2pt @@ -193,17 +189,17 @@ - + true true - U. M. + CLAVE @@ -213,32 +209,11 @@ - Textbox7 + Textbox29 + - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - #e36c09 2pt 2pt @@ -250,17 +225,17 @@ - + true true - Producto o Servicio + DESCRIPCIÓN @@ -270,32 +245,11 @@ - Textbox9 + Textbox17 + - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - #e36c09 2pt 2pt @@ -307,17 +261,17 @@ - + true true - Observaciones + OBSERVACIÓN @@ -327,32 +281,47 @@ - Textbox68 + Textbox46 + + + #e36c09 + 2pt + 2pt + 2pt + 2pt + + + + + + + + true + true + + + + + P/U + + + + + + + Textbox23 + - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - #e36c09 2pt 2pt @@ -371,10 +340,10 @@ - P. U. + DESC. @@ -387,29 +356,8 @@ Textbox2 + - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - #e36c09 2pt 2pt @@ -421,17 +369,17 @@ - + true true - Total + IMPORTE @@ -444,29 +392,8 @@ Textbox1 + - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - #e36c09 2pt 2pt @@ -479,11 +406,11 @@ - 0.473cm + 0.19644in - + true true @@ -492,44 +419,45 @@ =Fields!Cantidad.Value - Cantidad + Cantidad1 + 2pt 2pt - 1pt + 2pt + 2pt - + true true - =Fields!UM.Value + =Fields!CodPS.Value @@ -538,143 +466,81 @@ - UM + CodPS + - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - 2pt 2pt - 1pt + 2pt + 2pt - + true true - =Fields!PS.Value + =Fields!Producto.Value - + + - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - 2pt 2pt - 1pt + 2pt + 2pt - + true true - =Fields!Observacion.Value + =Fields!Obs.Value - + + - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - 2pt 2pt - 1pt + 2pt + 2pt @@ -691,8 +557,10 @@ =Fields!Importe.Value @@ -704,12 +572,49 @@ Importe + 2pt 2pt - 1pt + 2pt + 2pt + + + + + + + + true + true + + + + + =Fields!Descuento.Value + + + + + + + Descuento + + + 2pt + 2pt + 2pt + 2pt @@ -726,8 +631,10 @@ =Fields!Total.Value @@ -739,12 +646,12 @@ Total + 2pt 2pt - 1pt + 2pt + 2pt @@ -759,16 +666,9 @@ - - - =IIF(Parameters!TipoProveedor.Value = "1",true,false) - - - - - =IIF(Parameters!TipoProveedor.Value = "1",true,false) - - + + + @@ -777,1799 +677,1629 @@ After - + DsOC - 4.58198cm - 0.20457cm - 0.96717cm - 20.25842cm + 0.04788in + 0.41372in + 8.15357in + - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - true - true - - - - - ORDEN DE COMPRA DE MATERIALES Y SERVICIOS + + + + true + true + + + + + I.V.A. + + + - - + + + Textbox20 + 1.87711cm + 15.76748cm + 0.45183cm + 2.5cm + + 2pt + 2pt + 2pt + 2pt - - - Textbox8 - 0.12484cm - 4.03472cm - 0.5365cm - 11.69962cm + + + true + true + + + + + TOTAL: + + + + + + + Textbox20 + 3.97642cm + 15.77277cm + 0.45183cm + 2.5cm + 1 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Parameters!IVA.Value + + + + + + + Textbox20 + 1.87711cm + 18.26748cm + 0.45183cm + 2.4365cm + 2 + + + 2pt + 2pt + 2pt + 2pt + es-MX + + + + true + true + + + + + =Parameters!Total.Value + + + + + + + Textbox20 + 3.97642cm + 18.27277cm + 0.45183cm + 2.43121cm + 3 + + + 2pt + 2pt + 2pt + 2pt + es-MX + + + + true + true + + + + + SUB-TOTAL + + + + + + + Textbox20 + 0.40195cm + 15.76748cm + 0.45183cm + 2.5cm + 4 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Parameters!SubTotal.Value + + + + + + + Textbox20 + 0.40195cm + 18.26748cm + 0.45183cm + 2.4365cm + 5 + + + 2pt + 2pt + 2pt + 2pt + es-MX + + + + true + true + + + + + =UCase(Parameters!ImporteLetra.Value) + + + + + + + Textbox46 + 4.80434cm + 1.24126cm + 0.45183cm + 19.46272cm + 6 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + + + + #e36c09 + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + + + + + + + #e36c09 + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + + + + + + + #e36c09 + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Parameters!Descripcion.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + Ret I.V.A + + + + + + + Textbox20 + 2.32894cm + 15.76669cm + 0.45183cm + 2.5cm + 11 + + =IIF(Parameters!RetIVA.Value > 0,FALSE,TRUE) + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Parameters!RetIVA.Value + + + + + + + Textbox20 + 2.32894cm + 18.26669cm + 0.45183cm + 2.4365cm + 12 + + =IIF(Parameters!RetIVA.Value > 0,FALSE,TRUE) + + + + 2pt + 2pt + 2pt + 2pt + es-MX + + + + true + true + + + + + Ret I.S.R + + + + + + + Textbox20 + 2.78077cm + 15.76669cm + 0.45183cm + 2.5cm + 13 + + =IIF(Parameters!RetISR.Value > 0,FALSE,TRUE) + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Parameters!RetISR.Value + + + + + + + Textbox20 + 2.78077cm + 18.26669cm + 0.45183cm + 2.4365cm + 14 + + =IIF(Parameters!RetISR.Value > 0,FALSE,TRUE) + + + + 2pt + 2pt + 2pt + 2pt + es-MX + + + + true + true + + + + + I.E.P.S + + + + + + + Textbox20 + 3.2326cm + 15.76669cm + 0.45183cm + 2.5cm + 15 + + =IIF(Sum(Fields!IEPS.Value, "DsOC") > 0,FALSE,TRUE) + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Sum(Fields!IEPS.Value, "DsOC") + + + + + + + Textbox20 + 3.2326cm + 18.26669cm + 0.45183cm + 2.4365cm + 16 + + =IIF(Sum(Fields!IEPS.Value, "DsOC") > 0,FALSE,TRUE) + + + + 2pt + 2pt + 2pt + 2pt + es-MX + + + + true + true + + + + + DESCUENTO + + + + + + + Textbox20 + 0.88906cm + 15.77355cm + 0.45183cm + 2.5cm + 17 + + =IIF(Parameters!Descuento.Value > 0,FALSE,TRUE) + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Parameters!Descuento.Value + + + + + + + Textbox20 + 0.88906cm + 18.27355cm + 0.45183cm + 2.4365cm + 18 + + =IIF(Parameters!Descuento.Value > 0,FALSE,TRUE) + + + + 2pt + 2pt + 2pt + 2pt + es-MX + + + + true + true + + + + + SUB-TOTAL2 + + + + + + + Textbox20 + 1.34089cm + 15.77355cm + 0.45183cm + 2.5cm + 19 + + =IIF(Parameters!Descuento.Value > 0,FALSE,TRUE) + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + =Parameters!SubTotal2.Value + + + + + + + Textbox20 + 1.34089cm + 18.27355cm + 0.45183cm + 2.4365cm + 20 + + =IIF(Parameters!Descuento.Value > 0,FALSE,TRUE) + + + + 2pt + 2pt + 2pt + 2pt + es-MX + + + + true + 1.12516cm + 0.12849cm + 5.34083cm + 20.74271cm 1 - 2pt - 2pt - 2pt - 2pt - - - true - true - - - - - =Parameters!TipoOC.Value - - - - - - - Textbox12 - 0.12484cm - 16.1331cm - 0.44478cm - 4.32987cm - 2 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - #e36c09 - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!Folio.Value - - - - - - - Textbox12 - 0.56962cm - 16.1331cm - 0.44478cm - 4.32987cm - 3 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Fecha - - - - - - - Textbox12 - 1.0144cm - 16.13311cm - 0.44478cm - 4.32987cm - 4 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - #e36c09 - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =CDate(replace(Parameters!FechaSolicitud.Value, "T" ," ")).ToString("dd/MM/yyyy") - - - - - - - Textbox12 - 1.45918cm - 16.13312cm - 0.44478cm - 4.32987cm - 5 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Proveedor - - - - - - - Textbox12 - 2.53982cm - 0.20457cm - 0.44478cm - 2.34596cm - 6 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - #e36c09 - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Descripción - - - - - - - Textbox12 - 2.9846cm - 0.20457cm - 0.44478cm - 2.34596cm - 7 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - #e36c09 - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Justificación - - - - - - - Textbox12 - 3.42938cm - 0.20457cm - 0.44478cm - 2.34596cm - 8 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - #e36c09 - Middle - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Fecha Entrega - - - - - - - Textbox12 - 2.9846cm - 13.61054cm - 0.44478cm - 2.52258cm - 9 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - #e36c09 - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Lugar de Entrega - - - - - - - Textbox12 - 3.42938cm - 13.61054cm - 0.44478cm - 2.52258cm - 10 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - #e36c09 - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Estatus - - - - - - - Textbox12 - 2.53982cm - 13.61054cm - 0.44478cm - 2.52258cm - 11 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - #e36c09 - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =iif(Parameters!FechaEntrega.Value="01/01/0001","",Parameters!FechaEntrega.Value) - - - - - - - Textbox12 - 2.9846cm - 16.1331cm - 0.44478cm - 4.32987cm - 12 - - - White - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!ProveedorLugar.Value - - - - - - - Textbox12 - 3.42938cm - 16.1331cm - 0.44478cm - 4.32987cm - 13 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - White - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!Estatus.Value - - - - - - - Textbox12 - 2.53982cm - 16.1331cm - 0.44478cm - 4.32987cm - 14 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - White - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!Descripcion.Value - - - - - - - Textbox12 - 2.9846cm - 2.55053cm - 0.44478cm - 11.06001cm - 15 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - White - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!Asunto.Value - - - - - - - Textbox12 - 3.42938cm - 2.55053cm - 0.44478cm - 11.06001cm - 16 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - White - Middle - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!ProveedorNombre.Value - - - - - - - Textbox12 - 2.53982cm - 2.55053cm - 0.44478cm - 11.06001cm - 17 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - White - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - HECTOR ADRIAN DIAZ CASTILLO - - - - - - - Textbox8 - 0.92326cm - 4.03472cm - 0.76228cm - 11.69962cm - 18 - - - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Autorizó - - - - - - - Textbox12 - 8.30549cm - 7.33306cm - 0.44478cm - 5.83844cm - 19 - - - #e36c09 - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - - - - - - - - Textbox12 - 8.75027cm - 7.33306cm - 0.4095cm - 5.83844cm - 20 - - - - Black - - 1pt - - Top - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!NombreAutorizo.Value - - - - - - - Textbox12 - 9.19505cm - 7.33306cm - 0.44478cm - 5.83844cm - 21 - - - White - 2pt - 2pt - 2pt - 2pt - - - - External - =Parameters!FirmaAutorizo.Value - Fit - 6.73531cm - 8.35229cm - 3.5cm - 3.5cm - 22 - - =iif(Parameters!FirmaAutorizo.Value <> "", False, True) - - - - - - - true - true - - - - - Uso CFDI 3.3: - - - - - - - Textbox12 - 3.87416cm - 0.20457cm - 0.44478cm - 2.34596cm - 23 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - #e36c09 - Middle - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!UsoCFDI.Value - - - - - - - Textbox12 - 3.87416cm - 2.55053cm - 0.44478cm - 11.06001cm - 24 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - White - Middle - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - Sucursal - - - - - - - Textbox12 - 3.87416cm - 13.61054cm - 0.44478cm - 2.55786cm - 25 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - #e36c09 - 2pt - 2pt - 2pt - 2pt - - - - true - true - - - - - =Parameters!Proyecto.Value - - - - - - - Textbox12 - 3.87416cm - 16.13312cm - 0.44478cm - 4.32987cm - 26 - - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - - LightGrey - - 1pt - - White - 2pt - 2pt - 2pt - 2pt - - - - true - - - - - ="Total " & Parameters!Moneda.Value - - - - - - - Textbox20 - 7.3465cm - 16.7985cm - 0.45183cm - 1.8653cm - 27 - - =IIF(Parameters!TipoProveedor.Value = "1",true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - - - - - SubTotal - - - - - - - Textbox20 - 5.54915cm - 16.7985cm - 0.42361cm - 1.8653cm - 28 - - =IIF(Parameters!TipoProveedor.Value = "1",true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - - - - - =Parameters!Total.Value - - - - - - - Textbox20 - 7.3465cm - 18.6638cm - 0.45183cm - 1.80228cm - 29 - - =IIF(Parameters!TipoProveedor.Value = "1",true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - - - - - =Parameters!SubTotal.Value - - - - - - - Textbox20 - 5.54915cm - 18.6638cm - 0.42361cm - 1.7992cm - 30 - - =IIF(Parameters!TipoProveedor.Value = "1",true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - - - - - IVA - - - - - - - Textbox20 - 6.90659cm - 16.7985cm - 0.45183cm - 1.8653cm - 31 - - =IIF(Parameters!TipoProveedor.Value = "1",true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - - - - - =Parameters!IVA.Value - - - - - - - Textbox20 - 6.90659cm - 18.6638cm - 0.45183cm - 1.80228cm - 32 - - =IIF(Parameters!TipoProveedor.Value = "1",true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - - - - - Descuento - - - - - - - Textbox20 - 6.00293cm - 16.7985cm - 0.45183cm - 1.8653cm - 33 - - =IIF(Parameters!TipoProveedor.Value = "1",true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - - - - - =Parameters!Descuento.Value - - - - - - - Textbox20 - 6.00293cm - 18.6638cm - 0.45183cm - 1.80228cm - 34 - - =IIF(Parameters!TipoProveedor.Value = "1",true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - - - - - Sub Total 2 - - - - - - - Textbox20 - 6.45476cm - 16.7985cm - 0.45183cm - 1.8653cm - 35 - - =IIF(Parameters!TipoProveedor.Value = "1",true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - true - - - - - =Parameters!SubTotal2.Value - - - - - - - Textbox20 - 6.45476cm - 18.6638cm - 0.45183cm - 1.80228cm - 36 - - =IIF(Parameters!TipoProveedor.Value = "1",true,false) - - - - 2pt - 2pt - 2pt - 2pt - - - - Embedded - Logo - FitProportional - 0.12484cm - 0.05822cm - 2.01901cm - 3.94122cm - 37 - - - - + - 4.17138in + 2.58039in + + + : + + + + + + + + + Nombre: + + + + + + + + =Parameters!ProveedorNombre.Value + + + + + + + + + RFC: + + + + + + + + =Parameters!ProveedorRFC.Value + + + + + + + + + Direccion: + + + + =Parameters!ProveedorDireccion.Value + + + + + + + + + Teléfono: + + + + =Parameters!ProveedorTel.Value + + + + + + + + + Contacto: + + + + =Parameters!ProveedorContacto.Value + + + + + + + + + + + + + Condiciones De Pago: + + + + + + + + =Parameters!PlazoPago.Value + + + + días + + + + + + + + + Moneda: + + + + + + + + =Parameters!Moneda.Value + + + + + + + Textbox2 + 1.10003in + 0.12161cm + 1.75488in + 2.69259in + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + + + + + =IIF(LEN(Parameters!SubProyectoEntrega.Value) > 0,"Lugar de Entrega: " + Parameters!SubProyectoEntrega.Value,"") + + + + + + + + + + + + + =Parameters!SubProyectoEntregaDir.Value + + + + + + + Textbox36 + 2.82934cm + 6.93927cm + 4.42213cm + 7.10656cm + 1 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + Facturar a: + + + + + + + + + =Parameters!Empresa.Value + + + + + + + + + =Parameters!DomicilioSucursal.Value + + + + + + + + + =Parameters!RFC.Value + + + + + + + + + =IIf(IsNothing(Parameters!Telefono.Value) OrElse Len(Parameters!Telefono.Value) < 4, + "", + "(" & Mid(Parameters!Telefono.Value, 1, 3) & ") " & Mid(Parameters!Telefono.Value, 4)) + + + + + + + + + USO CFDI: + + + + =Parameters!UsoCFDI.Value + + + + + + + Textbox40 + 2.79406cm + 14.11639cm + 4.45741cm + 6.7092cm + 2 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + ="Envío Directo al Cliente" + + + + + + + EstatusEntrega + 1.27043cm + 5.06632cm + 0.6cm + 6.2308cm + 3 + + =IIF(Parameters!EntregaDirecta.Value <> "False",FALSE,TRUE) + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + + + + + + + + + =Parameters!TipoOC.Value + + + + + + + + + Folio: + + + + =Parameters!Folio.Value + + + + + + + + + Fecha de Elaboración: + + + + =Parameters!FechaSolicitud.Value + + + + + + + + + Fecha Estimada de Recepción: + + + + =iif(Parameters!FechaEntrega.Value="01/01/0001","",Parameters!FechaEntrega.Value) + + + + + + + + + Folio Pedido Proveedor: + - =Today + =Parameters!FolioAdicional.Value + + + + + + + + + + + + + + + Textbox40 + 0.16794cm + 12.50129cm + 2.34442cm + 8.3243cm + 4 + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + + + + 2pt + 2pt + 2pt + 2pt + + + + Embedded + Logo + FitProportional + 0.16794cm + 0.1285cm + 2.34442cm + 4.76143cm + 6 + + + + + + + + + + + 0.84696cm + true + true + + + true + true + + + + + Usuario: + + + + =Parameters!UsuarioImprimio.Value + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + Fecha Impresión: + + + + =Parameters!FechaImpresion.Value + + + + + + 2pt + 2pt + 2pt + 2pt + + + + true + true + + + + + ="Página " & Globals.PageNumber & " de " & Globals.TotalPages + + + + + + + Textbox35 + 0.25252cm + 18.19908cm + 0.41981cm + 2.5cm + 2 @@ -2589,10 +2319,10 @@ 27.94cm 21.59cm - 0.5cm + 0cm 0cm - 1cm - 1cm + 0cm + 0.5cm 0.13cm + + + + + + Textbox1 + + + LightGrey + 2pt + 2pt + 2pt + 2pt + + + + @@ -351,7 +395,7 @@ - Descripción + Descripcion + + + + + 2pt + 2pt + 2pt + 2pt + + + + @@ -855,12 +932,13 @@ 2pt - 4 + 5 + @@ -985,6 +1063,7 @@ + @@ -1014,7 +1093,7 @@ 2.18687cm 0.19063cm 1.42958cm - 21.11455cm + 21.07307cm 4