diff --git a/Compras/Compras.aspx.vb b/Compras/Compras.aspx.vb
index 419e2f63a..bcaf447ef 100644
--- a/Compras/Compras.aspx.vb
+++ b/Compras/Compras.aspx.vb
@@ -4088,11 +4088,15 @@ Partial Class Compras_Compras
'DF - 10/04/2017
If UsuarioActual.TienePermisoProceso(187) Then
If TxtSerie.Text <> SerieVieja Then
- Dim SerieNueva As String = GlobalDTProveedorSucursales(CveProveedor, UsuarioActual.CveEmpresa).FiltroPrimeroValor("Serie", $"Serie = '{TxtSerie.Text}'").ToString
- If SerieNueva = "" Then
- Alert("La Serie no es válida, por favor revise que se encuentre dentro de la lista de las sucursales del proveedor.", TipoMensaje.MsgAdvertencia)
- Exit Sub
+ Dim dtt As DataTable = GlobalDTProveedorSucursales(CveProveedor, UsuarioActual.CveEmpresa)
+ If dtt IsNot Nothing AndAlso dtt.Rows.Count > 0 Then
+ Dim SerieNueva As String = dtt.FiltroPrimeroValor("Serie", $"Serie = '{TxtSerie.Text}'").ToString
+ If SerieNueva = "" Then
+ Alert("La Serie no es válida, por favor revise que se encuentre dentro de la lista de las sucursales del proveedor.", TipoMensaje.MsgAdvertencia)
+ Exit Sub
+ End If
End If
+
End If
End If
diff --git a/Contabilidad/RegPrePoliza.aspx.vb b/Contabilidad/RegPrePoliza.aspx.vb
index 8630e7aa5..6f47d8baa 100644
--- a/Contabilidad/RegPrePoliza.aspx.vb
+++ b/Contabilidad/RegPrePoliza.aspx.vb
@@ -371,6 +371,7 @@ Partial Class ContabilidadC_RegPrePoliza
.Add("ContadoImporte", Type.GetType("System.Double"))
.Add("ContadoBeneficiario", Type.GetType("System.String"))
.Add("ContadoObservaciones", Type.GetType("System.String"))
+ .Add("FolioPoliza", Type.GetType("System.Int32"))
End With
End Sub
diff --git a/Contratos/ContratoObra.aspx.vb b/Contratos/ContratoObra.aspx.vb
index ffd027ab3..14edb0b72 100644
--- a/Contratos/ContratoObra.aspx.vb
+++ b/Contratos/ContratoObra.aspx.vb
@@ -4387,7 +4387,7 @@ Partial Class Contratos_ContratoObra
DTCargaPresupuesto = CargaPresupuestoExcel("Presupuesto")
If DTCargaPresupuesto.Rows.Count > 0 Then
- ProcesaDatosCargaPresupuesto(DTCargaPresupuesto, Nothing, Nothing, Nothing)
+ ProcesaDatosCargaPresupuesto(EnumTipoCargaPresupuesto.Ventas, DTCargaPresupuesto, Nothing, Nothing, Nothing)
Else
Alert("No se encintraron partidas en el documento", TipoMensaje.MsgAdvertencia)
End If
@@ -4399,7 +4399,7 @@ Partial Class Contratos_ContratoObra
DTCargaPresupuestoFlotillas = CargaPresupuestoExcel("Maquinaria")
DTCargaPresupuestoIndirectos = CargaPresupuestoExcel("Indirectos")
- ProcesaDatosCargaPresupuesto(DTCargaPresupuesto, DTCargaPresupuestoManoObra, DTCargaPresupuestoFlotillas, DTCargaPresupuestoIndirectos)
+ ProcesaDatosCargaPresupuesto(EnumTipoCargaPresupuesto.Control, DTCargaPresupuesto, DTCargaPresupuestoManoObra, DTCargaPresupuestoFlotillas, DTCargaPresupuestoIndirectos)
End If
@@ -4551,15 +4551,20 @@ Partial Class Contratos_ContratoObra
'si el presupuesto es de ventas. solo valida con el codigo del producto
'si es presupuesto es de control, valida por ambos
- If CvePS = -1 AndAlso TipoPresupuesto = EnumTipoCargaPresupuesto.Control Then
+ If CvePS = -1 Then
- StrArray = GetPS("PS", DrowPS("Producto").ToString).Split("|"c)
- If StrArray.Length > 0 Then
- If CBool(StrArray(0)) = True Then
- CvePS = StrArray(1).ToEntero
+ 'si es presup ventas, busca por producto,
+ If TipoPresupuesto = EnumTipoCargaPresupuesto.Control Then
+
+ StrArray = GetPS("PS", DrowPS("Producto").ToString).Split("|"c)
+ If StrArray.Length > 0 Then
+ If CBool(StrArray(0)) = True Then
+ CvePS = StrArray(1).ToEntero
+ End If
End If
End If
+
If CvePS = -1 Then
Dim ObjPS As New ClsProductosServicios
@@ -4586,8 +4591,7 @@ Partial Class Contratos_ContratoObra
End If
ObjPS.Dispose()
- Else
- RowNoEncontrados &= "Producto: " & StrArray(1) & "<\BR>"
+
End If
End If
diff --git a/Empresas/146/Formatos/Cotizacion.rdlc b/Empresas/146/Formatos/Cotizacion.rdlc
index 83c342287..309844edc 100644
--- a/Empresas/146/Formatos/Cotizacion.rdlc
+++ b/Empresas/146/Formatos/Cotizacion.rdlc
@@ -1245,25 +1245,7 @@
2pt
-
-
- Embedded
- VISTAPREVIA22
- FitProportional
- 0.01389in
- 7.40306in
- 6.34944in
- 0.09753in
- 20
-
- =IIf(Parameters!CveVenta.Value > 0, True,False)
-
-
-
-
-
+
6.36333in
diff --git a/Empresas/158/Formatos/Factura.rdlc b/Empresas/158/Formatos/Factura.rdlc
index 12ee27d56..03a985ccb 100644
--- a/Empresas/158/Formatos/Factura.rdlc
+++ b/Empresas/158/Formatos/Factura.rdlc
@@ -1,5 +1,5 @@
-
+
0
@@ -4892,434 +4892,7 @@
ReportParameter1
-
-
- 2
- 42
-
-
- 0
- 0
- ClienteCodigo
-
-
- 1
- 0
- ClienteNombre
-
-
- 0
- 1
- ClienteDireccion
-
-
- 1
- 1
- ClienteLugar
-
-
- 0
- 2
- ClienteTelefono
-
-
- 1
- 2
- ClienteContacto
-
-
- 0
- 3
- ClienteContactoMail
-
-
- 1
- 3
- ClienteCalle
-
-
- 0
- 4
- ClienteColonia
-
-
- 1
- 4
- ClienteCiudad
-
-
- 0
- 5
- ClienteMunicipio
-
-
- 1
- 5
- ClienteEstado
-
-
- 0
- 6
- ClienteCP
-
-
- 1
- 6
- ClientePais
-
-
- 0
- 7
- ClienteNoInt
-
-
- 1
- 7
- ClienteNoExt
-
-
- 0
- 8
- ClienteRFC
-
-
- 1
- 8
- ImporteLetra
-
-
- 0
- 9
- Observaciones
-
-
- 1
- 9
- CveVendedor
-
-
- 0
- 10
- Status
-
-
- 1
- 10
- FechaSolicitud
-
-
- 0
- 11
- Folio
-
-
- 1
- 11
- Descuento
-
-
- 0
- 12
- SubTotal
-
-
- 1
- 12
- IVA
-
-
- 0
- 13
- Total
-
-
- 1
- 13
- Fecha
-
-
- 0
- 14
- DomicilioSucursal
-
-
- 1
- 14
- MetodoPago
-
-
- 0
- 15
- Vencimiento
-
-
- 1
- 15
- FolioFiscal
-
-
- 0
- 16
- FechaCertificacion
-
-
- 1
- 16
- SelloCFDI
-
-
- 0
- 17
- CadenaSAT
-
-
- 1
- 17
- SelloSAT
-
-
- 0
- 18
- CiudadSucursal
-
-
- 1
- 18
- Serie
-
-
- 0
- 19
- QR
-
-
- 1
- 19
- FormaPago
-
-
- 0
- 20
- LogoPath
-
-
- 1
- 20
- VendedorNombre
-
-
- 0
- 21
- VendedorCelular
-
-
- 1
- 21
- VendedorMail
-
-
- 0
- 22
- VendedorTelefono
-
-
- 1
- 22
- Moneda
-
-
- 0
- 23
- TipoCambio
-
-
- 1
- 23
- CondicionPago
-
-
- 0
- 24
- CadenaOriginal
-
-
- 1
- 24
- SerieCertificadoSAT
-
-
- 0
- 25
- Tipo
-
-
- 1
- 25
- NumCta
-
-
- 0
- 26
- CertificadoContribuyente
-
-
- 1
- 26
- Amortizacion
-
-
- 0
- 27
- SubTotal2
-
-
- 1
- 27
- RetIVA
-
-
- 0
- 28
- RetISR
-
-
- 1
- 28
- TipoDocumento
-
-
- 0
- 29
- AplicaPagare
-
-
- 1
- 29
- Ref
-
-
- 0
- 30
- Sucursal
-
-
- 1
- 30
- ClienteDiasCredito
-
-
- 0
- 31
- OC
-
-
- 1
- 31
- MonedaAbreviatura
-
-
- 0
- 32
- UsuarioImprimio
-
-
- 1
- 32
- FechaImpresion
-
-
- 0
- 33
- EnvioDireccion
-
-
- 1
- 33
- EnvioColonia
-
-
- 0
- 34
- EnvioCiudad
-
-
- 1
- 34
- EnvioEstado
-
-
- 0
- 35
- EnvioCP
-
-
- 1
- 35
- EnvioNoExt
-
-
- 0
- 36
- EnvioNoInt
-
-
- 1
- 36
- EnvioContacto
-
-
- 0
- 37
- EnvioDepartamento
-
-
- 1
- 37
- EstatusFactura
-
-
- 0
- 38
- EstatusEntrega
-
-
- 1
- 38
- PedidoContrato
-
-
- 0
- 39
- DescripcionContrato
-
-
- 1
- 39
- OrdenCompra
-
-
- 0
- 40
- UsoCFDI
-
-
- 1
- 40
- TipoRelacionTexto
-
-
- 0
- 41
- FolioFiscalRelacionado
-
-
- 1
- 41
- Contrato
-
-
-
-
+
image/png
diff --git a/vwd.webinfo b/vwd.webinfo
index d3ade46a8..dd3b12836 100644
--- a/vwd.webinfo
+++ b/vwd.webinfo
@@ -280,6 +280,14 @@
+
+
+
+
+
+
+
+