diff --git a/App_Code/ClsInventarios.vb b/App_Code/ClsInventarios.vb
index d33475899..4a306f502 100644
--- a/App_Code/ClsInventarios.vb
+++ b/App_Code/ClsInventarios.vb
@@ -1855,15 +1855,15 @@ Public Class ClsInventarios
Return Retorno
End Function
- Public Function RepAlmacenCompras(CveAlmacen As Integer, FechaI As Date, FechaF As Date, CveEmpresa As Integer) As Boolean
+ Public Function RepAlmacenCompras(CveAlmacen As Integer, FechaI As Date, FechaF As Date, CveSubProyecto As Integer, CveEmpresa As Integer) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_Inv_RepAlmacenCompras")
-
With SqlAdapter.SelectCommand.Parameters
.Add("@CveAlmacen", SqlDbType.Int).Value = CveAlmacen
.Add("@FechaI", SqlDbType.Date).Value = FechaI
.Add("@FechaF", SqlDbType.Date).Value = FechaF
+ .Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
End With
@@ -4997,7 +4997,7 @@ Public Class ClsInventarios
Public Function GetFletesRep(CveEmpresa As Integer, Optional CveFlete As Integer = -1, Optional Folio As String = "-1", Optional CveProveedor As Integer = -1,
Optional CveOC As Integer = -1, Optional CveCompra As Integer = -1, Optional FechaInicio As Date = MinFecha,
- Optional FechaFin As Date = MaxFecha, Optional TipoGasto As Integer = -1) As Boolean
+ Optional FechaFin As Date = MaxFecha, Optional TipoGasto As Integer = -1, Optional CveEstatus As Integer = -1) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_Inv_FletesRep")
With SqlAdapter.SelectCommand.Parameters
@@ -5010,6 +5010,7 @@ Public Class ClsInventarios
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
.Add("@CveFlete", SqlDbType.Int).Value = CveFlete
.Add("@TipoGasto", SqlDbType.Int).Value = TipoGasto
+ .Add("@CveEstatus", SqlDbType.Int).Value = CveEstatus
End With
Try
SqlAdapter.Fill(Data)
diff --git a/App_Code/ClsPaginas.vb b/App_Code/ClsPaginas.vb
index 0b861a7c0..928349284 100644
--- a/App_Code/ClsPaginas.vb
+++ b/App_Code/ClsPaginas.vb
@@ -6013,16 +6013,21 @@ Public Class ClsPaginas
Dim wsreport As New WSRDLC.WebServiceSoapClient
Dim params As New List(Of WSRDLC.ReportParameter)
+ Dim reportobjects As New List(Of WSRDLC.ReportObjects)
+
Dim ds As New DataSet
For Each rpds As ReportDataSource In DataSource
- Dim dt As DataTable = DirectCast(rpds.Value, Data.DataTable)
- If dt Is Nothing Then
- dt = New DataTable()
- Else
+ If rpds.Value.GetType().ToString() = "System.Data.DataTable" Then
+ Dim dt As DataTable = DirectCast(rpds.Value, Data.DataTable)
dt = dt.Copy()
+ dt.TableName = rpds.Name
+ ds.Tables.Add(dt)
+ Else
+ Dim ojext As New WSRDLC.ReportObjects
+ ojext.Name = rpds.Name
+ ojext.Value = rpds.Value
+ reportobjects.Add(ojext)
End If
- dt.TableName = rpds.Name
- ds.Tables.Add(dt)
Next
For Each rpds As ReportParameter In Parametros
Dim param As New WSRDLC.ReportParameter
@@ -6030,7 +6035,7 @@ Public Class ClsPaginas
param.Values = {rpds.Values(0)}
params.Add(param)
Next
- Bytes = wsreport.StreamPDFBytes(RutaReporte, ds, params.ToArray(), NombreArchivo, Formato, CveEmpresa, CveUsuario)
+ Bytes = wsreport.StreamNEWPDFBytes(RutaReporte, ds, reportobjects.ToArray(), params.ToArray(), NombreArchivo, Formato, CveEmpresa, CveUsuario)
wsreport = Nothing
params = Nothing
ds.Dispose() : ds = Nothing
diff --git a/App_Code/ClsVentas.vb b/App_Code/ClsVentas.vb
index 5ba4bc54a..ae57244f9 100644
--- a/App_Code/ClsVentas.vb
+++ b/App_Code/ClsVentas.vb
@@ -3297,13 +3297,14 @@ Public Class ClsVentas
Return Retorno
End Function
- Public Function GetCortesDetalleVentasResumen(CveCorte As Integer, CveEmpresa As Integer) As Boolean
+ Public Function GetCortesDetalleVentasResumen(CveCorte As Integer, CveSubProyecto As Integer, CveEmpresa As Integer) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_Vta_CortesDetalleVentasResumenGet")
With SqlAdapter.SelectCommand.Parameters
.Add("@CveCorte", SqlDbType.Int).Value = CveCorte
+ .Add("@CveSubProyecto", SqlDbType.Int).Value = CveSubProyecto
.Add("@CveEmpresa", SqlDbType.Int).Value = CveEmpresa
End With
@@ -5336,7 +5337,7 @@ Public Class ClsVentas
#End Region
- Public Function AddAutorizacionLimite(CveEmpresa As Integer, CveCliente As Integer, CveVendedor As Integer, Importe As Decimal, CveEstatus As Integer, CveUsuario As Integer, TipoAutorizacion As Integer, TipoDocumento As String, Optional DiasVencidos As Integer = 0, Optional Motivo As String = "") As Boolean
+ Public Function AddAutorizacionLimite(CveEmpresa As Integer, CveCliente As Integer, CveVendedor As Integer, Importe As Decimal, CveEstatus As Integer, CveUsuario As Integer, TipoAutorizacion As Integer, TipoDocumento As String, Optional DiasVencidos As Integer = 0, Optional Motivo As String = "", Optional PorcentajeDescuento As Decimal = 0) As Boolean
Dim Retorno As Boolean = False
DataAdapter("PA_Vta_AutorizacionLimitesAdd")
With SqlAdapter.SelectCommand.Parameters
@@ -5349,6 +5350,7 @@ Public Class ClsVentas
.Add("@TipoAutorizacion", SqlDbType.Int).Value = TipoAutorizacion
.Add("@TipoDocumento", SqlDbType.VarChar).Value = TipoDocumento
.Add("@DiasVencidos", SqlDbType.Int).Value = DiasVencidos
+ .Add("@PorcentajeDescuento", SqlDbType.Decimal).Value = PorcentajeDescuento
.Add("@Motivo", SqlDbType.VarChar).Value = Motivo
End With
Try
diff --git a/App_Code/Modelos.vb b/App_Code/Modelos.vb
index 7167697c1..b49be482e 100644
--- a/App_Code/Modelos.vb
+++ b/App_Code/Modelos.vb
@@ -4816,7 +4816,7 @@ Namespace Modelos
Dim MensajeError As String = ""
Dim ObjCancelacion As New Timbrado
Dim TotalT As Decimal = ObjFactura.Total
- Dim RFCReceptor As String = ObjFactura.Cliente.RFC
+ Dim RFCReceptor As String = If(String.IsNullOrEmpty(ObjFactura.RFCReceptor), ObjFactura.Cliente.RFC, ObjFactura.RFCReceptor)
Dim CvePACCancelacion As Integer = ObjFactura.CvePAC
If CvePACCancelacion <= 0 Then
@@ -4917,7 +4917,7 @@ Namespace Modelos
CancelacionFecha = ObjCancelacion.CancelacionFecha
CveEstatus = 5
End If
- CancelacionAcuse = ObjCancelacion.CancelacionAcuse
+ CancelacionAcuse = Resp.CancelacionAcuse
SolicitudCancelacionAcuse = Resp.SolicitudCancelacionAcuse
Else
Retorno.Mensaje = "Los servicios de cancelación del SAT no se encuentran disponibles o presentan time out. Intente de nuevo en unos minutos. Origen del error: WebService www.sat.gob.mx"
@@ -5000,7 +5000,7 @@ Namespace Modelos
'End If
CveEstatus = Resp.CveEstatus
CancelacionFecha = Resp.CancelacionFecha
- CancelacionAcuse = ObjCancelacion.CancelacionAcuse
+ CancelacionAcuse = Resp.CancelacionAcuse
SolicitudCancelacionAcuse = Resp.SolicitudCancelacionAcuse
Else
Retorno.Mensaje = "Los servicios de cancelación del SAT no se encuentran disponibles o presentan time out. Intente de nuevo en unos minutos. Origen del error: WebService www.sat.gob.mx"
@@ -5042,7 +5042,13 @@ Namespace Modelos
Dim msgBitacora As String = "Solicitud de cancelación de factura"
If EsRefacturacion Then
- msgBitacora = "Solicitud de cancelación por refacturación"
+ If Not String.IsNullOrEmpty(CancelacionAcuse) Then
+ msgBitacora = $"Solicitud de cancelación por refacturación. SelloSAT: {CancelacionAcuse}"
+ ElseIf Not String.IsNullOrEmpty(SolicitudCancelacionAcuse) Then
+ msgBitacora = $"Solicitud de cancelación por refacturación. SelloSAT: {SolicitudCancelacionAcuse}"
+ Else
+ msgBitacora = "Solicitud de cancelación por refacturación."
+ End If
End If
Dim ObjE As New ClsOIEventos()
@@ -5154,7 +5160,7 @@ Namespace Modelos
Dim EstatusDevolucion = 1
If Not ObjVentas.UpdateVentasDevolucionAlmacen(EstatusDevolucion, CveVenta) Then
ErrorCancelar = True
- MensajeError = "Ocurrió un error al solicitar la devolucion de almacen."
+ MensajeError = "Ocurrió un error al solicitar la devolución de almacen."
End If
End If
@@ -5736,7 +5742,7 @@ Namespace Modelos
Else
If Not ObjVentas.UpdateEstatusFactura(CveEstatus, FolioFiscal, CancelacionAcuse, CancelacionFecha, CveVenta, IDPoliza, CvePAC:=CvePACCancelacion, CveEstatusRefacturacion:=CveEstatusRefacturacion,
CveUsuarioCambiaEstatus:=UsuarioActual.CveUsuario, FechaCambioEstatus:=Now.ToString("yyyy-MM-dd HH:mm:ss.mmm"), CveMotivoCancelacion:=CveMotivoCancelacion,
- MotivoCancelacion:=MotivoCancelacion, EstadoCancelacion:=EstadoCancelacion, CveEstadoCancelacion:=CveEstadoCancelacion) Then
+ MotivoCancelacion:=MotivoCancelacion, EstadoCancelacion:=EstadoCancelacion, CveEstadoCancelacion:=CveEstadoCancelacion, SelloSolicitudDigitalSAT:=SolicitudCancelacionAcuse) Then
ErrorCancelar = True
MensajeError = "Ocurrió un error al guardar el estatus de cancelación."
End If
diff --git a/App_Code/Timbrado.vb b/App_Code/Timbrado.vb
index 466e394c5..7fc90d47b 100644
--- a/App_Code/Timbrado.vb
+++ b/App_Code/Timbrado.vb
@@ -775,22 +775,29 @@ Public Class Timbrado
End Select
'valida que si se halla cancelado
- Dim VigenciaExtra = VerificarVigenciaSAT(FolioFiscal, RFCEmisor, RFCReceptor, Total.ToString(), True)
- If Retorno.Verificado AndAlso VigenciaExtra IsNot Nothing Then
- If VigenciaExtra.Estado.ToUpper = "VIGENTE" AndAlso Not VigenciaExtra.EstatusCancelacion.ToUpper.Contiene("EN PROCESO") Then
- Retorno.Estado = "VIGENTE"
- Retorno.CveEstatus = 23
- End If
- If VigenciaExtra.Estado.ToUpper = "VIGENTE" AndAlso VigenciaExtra.EstatusCancelacion.ToUpper.Contiene("EN PROCESO") Then
- Retorno.Estado = "EN PROCESO"
- Retorno.CveEstatus = 20
- Retorno.SolicitudCancelacionAcuse = Retorno.CancelacionAcuse
- End If
- If VigenciaExtra.Estado.ToUpper = "CANCELADO" Then
- Retorno.Estado = "CANCELADO"
- Retorno.CveEstatus = 5
- End If
+ If Retorno.Verificado Then
+ Dim VigenciaExtra = VerificarVigenciaSAT(FolioFiscal, RFCEmisor, RFCReceptor, Total.ToString(), True)
+ If VigenciaExtra IsNot Nothing Then
+ If VigenciaExtra.Estado.ToUpper = "VIGENTE" AndAlso VigenciaExtra.EstatusCancelacion.ToUpper.Contiene("EN PROCESO") Then
+ Retorno.Estado = "EN PROCESO"
+ Retorno.CveEstatus = 20
+ 'CUANDO ESTA EN PROCESO EL ACUSE DEBE SER DE SOLICITUD DE CANCELACION
+ Retorno.SolicitudCancelacionAcuse = Retorno.CancelacionAcuse
+ Retorno.CancelacionAcuse = ""
+ ElseIf VigenciaExtra.Estado.ToUpper = "CANCELADO" Then
+ Retorno.Estado = "CANCELADO"
+ Retorno.CveEstatus = 5
+ Else
+ Retorno.Estado = "VIGENTE"
+ Retorno.CveEstatus = 23
+ 'SI HAY UN ACUSE, GUARDARLO COMO ACUSE DE SOLICITUD
+ If Not String.IsNullOrEmpty(Retorno.CancelacionAcuse) Then
+ Retorno.SolicitudCancelacionAcuse = Retorno.CancelacionAcuse
+ Retorno.CancelacionAcuse = ""
+ End If
+ End If
+ End If
End If
If Not Retorno.Verificado Then
diff --git a/App_WebReferences/1WSRDLC.zip b/App_WebReferences/1WSRDLC.zip
new file mode 100644
index 000000000..27254a455
Binary files /dev/null and b/App_WebReferences/1WSRDLC.zip differ
diff --git a/App_WebReferences/WSRDLC/Reference.svcmap b/App_WebReferences/WSRDLC/Reference.svcmap
index ce3ec718e..959e59a23 100644
--- a/App_WebReferences/WSRDLC/Reference.svcmap
+++ b/App_WebReferences/WSRDLC/Reference.svcmap
@@ -1,5 +1,5 @@
-
+falsetrue
@@ -22,8 +22,8 @@
-
+
diff --git a/App_WebReferences/WSRDLC/WebService.disco b/App_WebReferences/WSRDLC/WebService.disco
index 4b396211d..1dd75ae60 100644
--- a/App_WebReferences/WSRDLC/WebService.disco
+++ b/App_WebReferences/WSRDLC/WebService.disco
@@ -1,5 +1,5 @@
-
+
diff --git a/App_WebReferences/WSRDLC/WebService.wsdl b/App_WebReferences/WSRDLC/WebService.wsdl
index 5d0cd8152..2dc431a14 100644
--- a/App_WebReferences/WSRDLC/WebService.wsdl
+++ b/App_WebReferences/WSRDLC/WebService.wsdl
@@ -1,5 +1,5 @@
-
+
@@ -83,6 +83,73 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -103,6 +170,18 @@
+
+
+
+
+
+
+
+
+
+
+
+
@@ -116,6 +195,14 @@
+
+
+
+
+
+
+
+
@@ -146,6 +233,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
@@ -176,6 +281,24 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/App_WebReferences/WSRDLC/configuration.svcinfo b/App_WebReferences/WSRDLC/configuration.svcinfo
index 2a3221f28..6e98140ae 100644
--- a/App_WebReferences/WSRDLC/configuration.svcinfo
+++ b/App_WebReferences/WSRDLC/configuration.svcinfo
@@ -1,10 +1,10 @@
-
+
-
+
-
+
\ No newline at end of file
diff --git a/App_WebReferences/WSRDLC/configuration91.svcinfo b/App_WebReferences/WSRDLC/configuration91.svcinfo
index b044b1a55..8e2129785 100644
--- a/App_WebReferences/WSRDLC/configuration91.svcinfo
+++ b/App_WebReferences/WSRDLC/configuration91.svcinfo
@@ -1,10 +1,10 @@
-
+
-
+
- WebServiceSoap
+ WebServiceSoap1
@@ -112,7 +112,7 @@
-
+ http://localhost:7999/WebService.asmx
@@ -124,7 +124,7 @@
basicHttpBinding
- WebServiceSoap
+ WebServiceSoap1WSRDLC.WebServiceSoap
@@ -187,7 +187,7 @@
False
- WebServiceSoap
+ WebServiceSoap1
diff --git a/Bancos/ProveedoresAbonar.aspx.vb b/Bancos/ProveedoresAbonar.aspx.vb
index dc2e3754d..ba0735df4 100644
--- a/Bancos/ProveedoresAbonar.aspx.vb
+++ b/Bancos/ProveedoresAbonar.aspx.vb
@@ -1568,6 +1568,7 @@ Partial Class Bancos_ProveedoresAbonar
End If
If gvr.FCTextBox("TxtComision").Text.ToDecimal < 0 Then
+ ConceptoContable = 78
TipoMovimiento = True
ImporteMovimiento = ImporteMovimiento * -1
importeMX = importeMX * -1
@@ -1577,8 +1578,8 @@ Partial Class Bancos_ProveedoresAbonar
IdCtaContable = UsuarioActual.Empresa.Funcionalidad(266).ToEntero()
End If
- ImporteMovimiento = Math.Round(ImporteMovimiento, 2, MidpointRounding.AwayFromZero)
- importeMX = Math.Round(importeMX, 2, MidpointRounding.AwayFromZero)
+ ImporteMovimiento = ImporteMovimiento.RoundSQL
+ importeMX = importeMX.RoundSQL
TipoCambioGeneral = TipoCambioPago
End If
@@ -2862,14 +2863,20 @@ Partial Class Bancos_ProveedoresAbonar
End If
Saldo = Saldo - IEPS
-
End If
' se manda al ot ingresos, los impuestos por acreditar
- If MsgError = "" AndAlso Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, True, Saldo, gr.DataKey("SerieFolio").ToString, 78, ConceptoPartida, Now, IdCtaContable:=UsuarioActual.Empresa.IdCuentaOtrosIngresos, CveIE:=-1, IdSegmentoNegocio:=-1, CveProveedor:=gr.DataKey("CveProveedor").ToEntero, CveCompra:=gr.DataKey("CveCompra").ToEntero, ImporteMX:=If(CveMoneda = 1, Saldo, Saldo * TCPago), TipoCambio:=TCCompra, TipoCambioPago:=TCPago, CveSubProyecto:=CveSubProyecto) Then
- MsgError = "Ocurrio un error al saldar el movimiento"
+ If MsgError = "" Then
+ Dim tcvecon As Integer = 78
+ If Saldo < 0 Then
+ tcvecon = 211
+ End If
+ If MsgError = "" AndAlso Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, True, Saldo, gr.DataKey("SerieFolio").ToString, tcvecon, ConceptoPartida, Now, IdCtaContable:=UsuarioActual.Empresa.IdCuentaOtrosIngresos, CveIE:=-1, IdSegmentoNegocio:=-1, CveProveedor:=gr.DataKey("CveProveedor").ToEntero, CveCompra:=gr.DataKey("CveCompra").ToEntero, ImporteMX:=If(CveMoneda = 1, Saldo, Saldo * TCPago), TipoCambio:=TCCompra, TipoCambioPago:=TCPago, CveSubProyecto:=CveSubProyecto) Then
+ MsgError = "Ocurrio un error al saldar el movimiento"
+ End If
End If
+
'fluctuación.
If CveMoneda > 1 Then
Dim ImporteFluctuacion As Decimal = 0
@@ -2879,7 +2886,6 @@ Partial Class Bancos_ProveedoresAbonar
MsgError = "No se pudo obtener el sub proyecto o centro de costo"
End If
-
If TCCompra > TCPago Then
If Not ObjConta.AddPrePolizasDetalle(CvePrePoliza, True, Math.Abs(ImporteFluctuacion), gr.DataKey("SerieFolio").ToString, 64, ConceptoPartida, TxtFechaIncobrable.Text.ToDate, IdCtaContable:=UsuarioActual.Empresa.IdCuentaGananciaCambiaria, CveIE:=-1, IdSegmentoNegocio:=-1, CveSubProyecto:=CveSubProyecto, CveProveedor:=gr.DataKey("CveProveedor").ToEntero, CveCompra:=gr.DataKey("CveCompra").ToEntero, ImporteMX:=Math.Abs(ImporteFluctuacion), TipoCambio:=TCCompra, TipoCambioPago:=TCPago) Then
MsgError = "Ocurrio un error al saldar el movimiento"
@@ -2889,12 +2895,8 @@ Partial Class Bancos_ProveedoresAbonar
MsgError = "Ocurrio un error al saldar el movimiento"
End If
End If
-
-
End If
-
-
If MsgError = "" AndAlso ObjConta.ValidacionPrePolizaCuadre(CvePrePoliza, 5) Then
If ObjConta.ValorPolizaDescuadre > 0 Then
MsgError = ObjConta.MensajePolizaDescuadre + " " + ObjConta.ValorDiferencia
@@ -2906,7 +2908,6 @@ Partial Class Bancos_ProveedoresAbonar
If ObjConta.ContabilizarPrePoliza(CvePrePoliza, UsuarioActual.CveUsuario, UsuarioActual.Empresa) Then
' Alert(alertaContabilizacion, ModExtensiones.TipoMensaje.MsgInformacion)
-
Else
'Alert("Ocurrio un error al contabilizar, pongase en contacto con Soporte Técnico", TipoMensaje.MsgError)
MsgError = "Ocurrio un error al contabilizar, pongase en contacto con Soporte Técnico"
diff --git a/Bancos/RepCortes.aspx.vb b/Bancos/RepCortes.aspx.vb
index 3109668a4..e47ba73e7 100644
--- a/Bancos/RepCortes.aspx.vb
+++ b/Bancos/RepCortes.aspx.vb
@@ -63,9 +63,9 @@ Partial Class Bancos_RepCortes
Me.Form.DefaultButton = BtnConsultar.UniqueID
CargarCentrosDeCosto(Nothing, DdlSubProyectos, Nothing, LblSubProyecto)
End If
- End Sub
-
-
+ End Sub
+
+
#Region " C A R G A - D A T O S "
Public Sub CargaDatos()
Dim ObjPuntoVenta As New ClsPuntoVenta
@@ -87,22 +87,22 @@ Partial Class Bancos_RepCortes
e.Row.CssClass = "SubTotales2"
End If
End If
- End Sub
+ End Sub
Protected Sub GvP_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GvP.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow Then
If e.Row.DBCampo("MetodoPago").ToString = "Total" Then
e.Row.CssClass = "SubTotales"
End If
End If
- End Sub
-
+ End Sub
+
Protected Sub GvD_RowDataBound(sender As Object, e As System.Web.UI.WebControls.GridViewRowEventArgs) Handles GvD.RowDataBound
If e.Row.RowType = DataControlRowType.DataRow Then
If e.Row.DBCampo("CveVenta").ToString = "" Then
e.Row.CssClass = "Totales"
- End If
- If e.Row.DBCampo("ImportePagado").ToDecimal() < 0 Then
- e.Row.FCLabel("LblTotal").CssClass = "badge badge-danger"
+ End If
+ If e.Row.DBCampo("ImportePagado").ToDecimal() < 0 Then
+ e.Row.FCLabel("LblTotal").CssClass = "badge badge-danger"
End If
End If
End Sub
@@ -151,11 +151,11 @@ Partial Class Bancos_RepCortes
Nombre = gvr.DataKey("Nombre").ToString
Dim Vent As New ClsPuntoVenta
Dim Vn As New ClsVentas
- If Vn.GetCortesDetalleVentasResumen(CveCorte, UsuarioActual.CveEmpresa) Then
+ If Vn.GetCortesDetalleVentasResumen(CveCorte, DdlSubProyectos.SelectedValue.ToEntero, UsuarioActual.CveEmpresa) Then
GvP.DataSource = Vn.DtResultados
DtCortesVentasResumen = Vn.DtResultados
End If
- If Vent.GetCortesDetalleVentas(CveCorte, UsuarioActual.CveEmpresa) Then
+ If Vent.GetCortesDetalleVentas(CveCorte, DdlSubProyectos.SelectedValue.ToEntero, UsuarioActual.CveEmpresa) Then
GvD.DataSource = Vent.DtResultados
DtCortesVentas = Vent.DtResultados
divDetalle.Visible = True
@@ -163,8 +163,8 @@ Partial Class Bancos_RepCortes
If DtCortesVentasResumen.Rows.Count > 0 Or DtCortesVentas.Rows.Count > 0 Then
HplDownPDF.Visible = True
HplDownEXCEL.Visible = True
- HplDownPDF.NavigateUrl = String.Format("/Compras/PopUpVerFactura.aspx?P={0}", Encripta(String.Format("OP=CORT&CVECORTE={0}&FORMATO={1}", CveCorte, "PDF")))
- HplDownEXCEL.NavigateUrl = String.Format("/Compras/PopUpVerFactura.aspx?P={0}", Encripta(String.Format("OP=CORT&CVECORTE={0}&FORMATO={1}", CveCorte, "EXCEL")))
+ HplDownPDF.NavigateUrl = String.Format("/Compras/PopUpVerFactura.aspx?P={0}", Encripta(String.Format("OP=CORT&CVECORTE={0}&FORMATO={1}&CVESUBPROYECTO={2}", CveCorte, "PDF", DdlSubProyectos.SelectedValue.ToEntero)))
+ HplDownEXCEL.NavigateUrl = String.Format("/Compras/PopUpVerFactura.aspx?P={0}", Encripta(String.Format("OP=CORT&CVECORTE={0}&FORMATO={1}&CVESUBPROYECTO={2}", CveCorte, "EXCEL", DdlSubProyectos.SelectedValue.ToEntero)))
Else
HplDownPDF.Visible = False
HplDownEXCEL.Visible = False
diff --git a/Compras/Compras.aspx.vb b/Compras/Compras.aspx.vb
index 9665e0842..91fe0f944 100644
--- a/Compras/Compras.aspx.vb
+++ b/Compras/Compras.aspx.vb
@@ -2194,9 +2194,8 @@ Partial Class Compras_Compras
DdlRetISRConcepto.Items.Clear()
DdlRetISRConcepto.Items.Insert(0, New ListItem("Honorarios", "1"))
DdlRetISRConcepto.Items.Insert(1, New ListItem("Arrendamiento", "2"))
- If UsuarioActual.CveEmpresa.Contiene(119, 7, 11, 12, 122, 145) Then
- DdlRetISRConcepto.Items.Insert(1, New ListItem("Resico", "3"))
- End If
+ DdlRetISRConcepto.Items.Insert(1, New ListItem("Resico", "3"))
+
End If
UpPS.Update()
End Sub
@@ -14716,7 +14715,7 @@ Partial Class Compras_Compras
Protected Sub BtnRefacturacionVer_Click(sender As Object, e As EventArgs) Handles BtnRefacturacionVer.Click
Dim Opcion As Integer = 1
- If UsuarioActual.CveEmpresa.Contiene(119, 1) Then Opcion = 2
+ If UsuarioActual.CveEmpresa.Contiene(119, 1, 140) Then Opcion = 2
Dim ObjCompras As New ClsCompras
@@ -20356,10 +20355,14 @@ Partial Class Compras_Compras
ObjCompras.Dispose()
Dim ObjInv As New ClsInventarios
- If ObjInv.GetFletes(UsuarioActual.CveEmpresa, OpcionInventario:=1) Then
- DdlFletes.DataSource = ObjInv.DtResultados
+ If ObjInv.GetFletesRep(UsuarioActual.CveEmpresa, -1, "-1", -1, -1, -1, MinFecha, MaxFecha, TipoGasto:=1, CveEstatus:=0) Then
+ DdlFletes.DataSource = ObjInv.DtResultados.FiltraParametros("CveFlete > 0")
DdlFletes.Items.Insert(0, New ListItem("Seleccione", "-1"))
End If
+ 'If ObjInv.GetFletes(UsuarioActual.CveEmpresa, OpcionInventario:=1) Then
+ ' DdlFletes.DataSource = ObjInv.DtResultados
+ ' DdlFletes.Items.Insert(0, New ListItem("Seleccione", "-1"))
+ 'End If
ObjInv.Dispose()
DdlImportaciones.DataBind()
diff --git a/Compras/PopUpVerFactura.aspx.vb b/Compras/PopUpVerFactura.aspx.vb
index a9e63b2ef..70fed873b 100644
--- a/Compras/PopUpVerFactura.aspx.vb
+++ b/Compras/PopUpVerFactura.aspx.vb
@@ -33,7 +33,7 @@ Partial Class PopUpVerFactura
End Property
Public Property DtDetalle() As DataTable
Get
- Return CType(ViewState("DtDetalle"), DataTable)
+ Return DirectCast(IfNull(ViewState("DtDetalle"), New DataTable, ViewState("DtDetalle")), DataTable)
End Get
Set(value As DataTable)
ViewState("DtDetalle") = value
@@ -205,9 +205,13 @@ Partial Class PopUpVerFactura
If Request("onlyPrint").ToString() = "PalletCaja" Then
imprimirpallet(Request("CvePallet").ToString.ToEntero())
End If
+
If Request("onlyPrint").ToString() = "manifiesto" Then
imprimirManifiesto(Request("cveEmbarqueManifiesto").ToString.ToEntero())
End If
+ If Request("onlyPrint").ToString() = "manifiestoRemision" Then
+ imprimirManifiestoRemision(Request("cveEmbarqueManifiesto").ToString.ToEntero())
+ End If
End If
End If
@@ -330,12 +334,157 @@ Partial Class PopUpVerFactura
'"D:\\ADSistemas\\Proyectos\\SIG\\SIGIT\\GPS\\PalletEtiqueta.rdlc"
ImprimirPDF("GPS/EmbarqueManifiesto.rdlc", lrds, params, "Manifesto")
End Sub
+
+
+ Private Sub imprimirManifiestoRemisionRemision(cveEmbarqueManifiesto As Integer)
+ Dim NoEmbarque As String = ""
+ Dim Fecha As String = ""
+ Dim SubProyecto As String = ""
+ Dim AgenciaAduanalUSA As String = ""
+ Dim AgenciaAduanalMEX As String = ""
+ Dim Temperatura As String = ""
+ Dim Hora As String = ""
+ Dim Chofer As String = ""
+ Dim CamPlaca As String = ""
+ Dim Camion As String = ""
+ Dim Rem1Placa As String = ""
+ Dim Remolque1 As String = ""
+ Dim NoPallets As String = ""
+ Dim NoBultos As String = ""
+ Dim NoKgManifiesto As String = ""
+ Dim Mercado As String = ""
+ Dim NoFactura As String = ""
+ Dim DivisoresdeCarton As String = ""
+ Dim BolsasdePlastico As String = ""
+ Dim TapaderasdeCarton As String = ""
+ Dim CAJASDECARTON As String = ""
+ Dim RPC As String = ""
+ Dim BINSDECARTON As String = ""
+ Dim TotalDlls As String = ""
+
+
+
+ Dim LongitudCaja As String = ""
+ Dim LineaTransportacion As String = ""
+ Dim SCAC As String = ""
+ Dim CAAT As String = ""
+ Dim NumeroTrailer As String = ""
+
+
+ Dim tablaReporte As New DataTable
+
+ 'Envase = "1 1/9"
+ 'Tamano = "Small"
+ 'Cultivo = "Tomate"
+ 'noPallet = "000001"
+ 'Variedad = "Golden"
+ Using objnom As New ClsNominas
+ If objnom.PA_AGRO_Embarque_ManifiestoGet(-1, -1, -1, cveEmbarqueManifiesto) And objnom.DtResultados.Rows.Count > 0 Then
+ Dim row As DataRow = objnom.DtResultados.Rows(0)
+ NoEmbarque = row("NoEmbarque").ToString()
+ Fecha = String.Format("{0:dd/MM/yyyy}", row("Fecha"))
+ DivisoresdeCarton = String.Format("{0:N0}", row("DivisoresdeCarton"))
+ BolsasdePlastico = String.Format("{0:N0}", row("BolsasdePlastico"))
+ TapaderasdeCarton = String.Format("{0:N0}", row("TapaderasdeCarton"))
+ CAJASDECARTON = String.Format("{0:N0}", row("CAJASDECARTON"))
+ RPC = String.Format("{0:N0}", row("RPC"))
+ BINSDECARTON = String.Format("{0:N0}", row("BINSDECARTON"))
+
+
+
+ SubProyecto = row("SubProyecto").ToString()
+ AgenciaAduanalUSA = row("AgenciaAduanalUSA").ToString()
+ AgenciaAduanalMEX = row("AgenciaAduanalMEX").ToString()
+ Temperatura = row("Temperatura").ToString()
+ Hora = String.Format("{0:hh }:{0:mm }:{0:ss tt}:", row("FechaIng"))
+ Chofer = row("Chofer").ToString()
+ CamPlaca = row("CamPlaca").ToString()
+ Camion = String.Format("{0} {1}", row("CamEspecificacion"), row("CamAnio"))
+ Rem1Placa = row("Rem1Placa").ToString()
+ NoFactura = row("NoFactura").ToString()
+ Remolque1 = String.Format("{0} ", row("NumeroTrailer"), row("Rem1Anio"))
+ Mercado = If(row("CveDestino").ToString() = "2", "Extranjero", "Nacional")
+
+ NumeroTrailer = String.Format("No. {0}", row("NumeroTrailer").ToString())
+
+ LongitudCaja = row("LongitudCaja").ToString()
+ LineaTransportacion = row("LineaTransportacion").ToString()
+ SCAC = row("SCAC").ToString()
+ CAAT = row("CAAT").ToString()
+
+ 'If row("CveCamionRemolque1").ToString() = "1" Then
+ ' Rem1Placa = "12-TF-5E"
+ ' Remolque1 = "Remolque 1"
+ 'Else
+ ' Rem1Placa = "15-TF-7f"
+ ' Remolque1 = "Remolque 2"
+
+ 'End If
+
+ If objnom.PA_Agro_Embarque_PalletGet(-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, cveEmbarqueManifiesto, -1) And objnom.DtResultados.Rows.Count > 0 Then
+ NoPallets = objnom.DtResultados.Rows.Count.ToString()
+ NoKgManifiesto = objnom.DtResultados.SUM("Peso").ToString("N2")
+ NoBultos = objnom.DtResultados.SUM("NoCajas").ToString("N0")
+ tablaReporte = objnom.DtResultados
+ End If
+ End If
+ 'Remolque 1 12-TF-5E' }, { cveCamion: 2, placa: 'Remolque 2 15-TF-7f
+ End Using
+ Dim params As New List(Of ReportParameter)
+ params.Add(New ReportParameter("NoEmbarque", NoEmbarque))
+ params.Add(New ReportParameter("Fecha", Fecha))
+ params.Add(New ReportParameter("SubProyecto", SubProyecto))
+ params.Add(New ReportParameter("AgenciaAduanalUSA", AgenciaAduanalUSA))
+ params.Add(New ReportParameter("AgenciaAduanalMEX", AgenciaAduanalMEX))
+ params.Add(New ReportParameter("Temperatura", Temperatura))
+ params.Add(New ReportParameter("Hora", Hora))
+ params.Add(New ReportParameter("Chofer", Chofer))
+ params.Add(New ReportParameter("CamPlaca", CamPlaca))
+ params.Add(New ReportParameter("Camion", Camion))
+ params.Add(New ReportParameter("Rem1Placa", Rem1Placa))
+ params.Add(New ReportParameter("Remolque1", Remolque1))
+
+
+ params.Add(New ReportParameter("LongitudCaja", LongitudCaja))
+ params.Add(New ReportParameter("LineaTransportacion", LineaTransportacion))
+ params.Add(New ReportParameter("SCAC", SCAC))
+ params.Add(New ReportParameter("CAAT", CAAT))
+ params.Add(New ReportParameter("NumeroTrailer", NumeroTrailer))
+
+
+ params.Add(New ReportParameter("NoFactura", NoFactura))
+ params.Add(New ReportParameter("Mercado", Mercado))
+ params.Add(New ReportParameter("NoBultos", NoBultos))
+ params.Add(New ReportParameter("NoPallets", NoPallets))
+ params.Add(New ReportParameter("NoKgManifiesto", NoKgManifiesto))
+
+
+ params.Add(New ReportParameter("DivisoresdeCarton", DivisoresdeCarton))
+ params.Add(New ReportParameter("BolsasdePlastico", BolsasdePlastico))
+ params.Add(New ReportParameter("TapaderasdeCarton", TapaderasdeCarton))
+ params.Add(New ReportParameter("CAJASDECARTON", CAJASDECARTON))
+ params.Add(New ReportParameter("RPC", RPC))
+ params.Add(New ReportParameter("BINSDECARTON", BINSDECARTON))
+ params.Add(New ReportParameter("TotalDlls", TotalDlls))
+
+
+
+
+
+ Dim lrds As New List(Of ReportDataSource)
+ Dim rds As New ReportDataSource With {.Name = "DataSet1", .Value = tablaReporte}
+ lrds.Add(rds)
+ '"Empresas/Grales/Formatos/EquiposGPS.rdlc"
+ '"D:\\ADSistemas\\Proyectos\\SIG\\SIGIT\\GPS\\PalletEtiqueta.rdlc"
+ ImprimirPDF("GPS/EmbarqueManifiestoRemision.rdlc", lrds, params, "Manifesto")
+ End Sub
Private Sub imprimirpallet2(cvePallet As Integer)
Dim Envase As String = ""
Dim Tamano As String = ""
Dim Cultivo As String = ""
Dim noPallet As String = ""
Dim Variedad As String = ""
+ Dim NoCajas As String = ""
'Envase = "1 1/9"
'Tamano = "Small"
@@ -350,6 +499,7 @@ Partial Class PopUpVerFactura
Cultivo = row("Cultivo").ToString()
noPallet = row("Codigo").ToString()
Variedad = row("CultivoVariedad").ToString()
+ NoCajas = String.Format("{0:N0}", row("NoCajas"))
End If
@@ -360,10 +510,38 @@ Partial Class PopUpVerFactura
params.Add(New ReportParameter("Cultivo", Cultivo))
params.Add(New ReportParameter("noPallet", noPallet))
params.Add(New ReportParameter("Variedad", Variedad))
- Dim tablaReporte As New DataTable
+ params.Add(New ReportParameter("NoCajas", NoCajas))
+
+ Dim lrds As New List(Of ReportDataSource)
+
+ 'img
+ Dim dtqr As New DataTable
+ Dim column As DataColumn = New DataColumn("ImagenByte")
+ column.DataType = System.Type.[GetType]("System.Byte[]")
+ column.AllowDBNull = True
+ column.Caption = "ImagenByte"
+ dtqr.Columns.Add(column)
+ Dim rowqr As DataRow = dtqr.NewRow()
+
+
+ Dim bcode As New BarcodeLib.Barcode()
+ Dim img = bcode.Encode(BarcodeLib.TYPE.CODE128, String.Format("{0}", noPallet), 500, 100)
+ Dim barcodebyte As Byte()
+ Using ms = New MemoryStream()
+ img.Save(ms, System.Drawing.Imaging.ImageFormat.Png)
+ barcodebyte = ms.ToArray()
+ End Using
+ rowqr("ImagenByte") = barcodebyte
+
+ dtqr.Rows.Add(rowqr)
+ Dim rds2 As New ReportDataSource With {.Name = "dsImagenes", .Value = dtqr}
+ rds2.Name = "dsImagenes"
+ rds2.Value = dtqr
+ lrds.Add(rds2)
+ 'endimg
'"Empresas/Grales/Formatos/EquiposGPS.rdlc"
'"D:\\ADSistemas\\Proyectos\\SIG\\SIGIT\\GPS\\PalletEtiqueta.rdlc"
- ImprimirPDF("GPS/PalletEtiqueta2.rdlc", (New List(Of ReportDataSource)), params, "Pallet")
+ ImprimirPDF("GPS/PalletEtiqueta2.rdlc", lrds, params, "Pallet")
End Sub
Private Sub imprimirpallet(cvePallet As Integer)
Dim Envase As String = ""
@@ -377,6 +555,8 @@ Partial Class PopUpVerFactura
Dim NoCajas As String = ""
Dim NumberOfCode As String = ""
Dim CvetypeImpresion As Integer
+ Dim NumberSmall As String = ""
+ Dim NumberBig As String = ""
'Envase = "1 1/9"
'Tamano = "Small"
'Cultivo = "Tomate"
@@ -394,8 +574,9 @@ Partial Class PopUpVerFactura
NoCajas = row("NoCajas").ToString()
Fecha = String.Format("{0:MMM dd}", row("Fecha")).Replace(".", "").ToUpper()
CvetypeImpresion = row("CvetypeImpresion").ToString().ToEntero()
- NumberOfCode = String.Format("(01)00856977005186(13){1:ddMMyy}(10){0}01", Right(String.Format("0{0}", Regex.Match(row("Cuadro").ToString(), "\d+")), 2), row("Fecha"))
-
+ NumberOfCode = String.Format("(00)00000000000000(00){1:ddMMyy}(00){0}00", Right(String.Format("0{0}", Regex.Match(row("Cuadro").ToString(), "\d+")), 2), row("Fecha"))
+ NumberSmall = String.Format("{0:00}", noPallet.ToEntero())
+ NumberBig = String.Format("{0:00}", row("Consecutivo").ToString().ToEntero()) ' String.Format("{0:dd}", row("Fecha"))
End If
End Using
Dim params As New List(Of ReportParameter)
@@ -405,11 +586,13 @@ Partial Class PopUpVerFactura
params.Add(New ReportParameter("FormatoImpresion", FormatoImpresion))
params.Add(New ReportParameter("Consecutivo", Consecutivo))
params.Add(New ReportParameter("Fecha", Fecha))
- params.Add(New ReportParameter("CveFormato", If(Cultivo.ToLower() = "tomate", "3", CvetypeImpresion.ToString())))
+ params.Add(New ReportParameter("CveFormato", If(Cultivo.ToLower().Contains("tomate"), "3", CvetypeImpresion.ToString())))
params.Add(New ReportParameter("NoCajas", NoCajas))
params.Add(New ReportParameter("NumberOfCode", NumberOfCode))
params.Add(New ReportParameter("Cultivo", If(CvetypeImpresion = 2, Cultivoingles, Cultivo)))
params.Add(New ReportParameter("Envase", If(CvetypeImpresion = 2, "PLU 4062", Envase)))
+ params.Add(New ReportParameter("NumberSmall", NumberSmall))
+ params.Add(New ReportParameter("NumberBig", NumberBig))
@@ -431,10 +614,10 @@ Partial Class PopUpVerFactura
Dim bcode As New BarcodeLib.Barcode()
- ' Dim img = bcode.Encode(BarcodeLib.TYPE.CODE128, String.Format("{0}", noPallet), 500, 100)
+ Dim img = bcode.Encode(BarcodeLib.TYPE.CODE128, String.Format("{0}", noPallet), 500, 100)
Dim barcodebyte As Byte()
Using ms = New MemoryStream()
- ' img.Save(ms, System.Drawing.Imaging.ImageFormat.Png)
+ img.Save(ms, System.Drawing.Imaging.ImageFormat.Png)
barcodebyte = ms.ToArray()
End Using
rowqr("ImagenByte") = barcodebyte
@@ -651,7 +834,11 @@ Partial Class PopUpVerFactura
If UrlParametros("OP").ToString = "CORT" Then
If UrlParametros("CVECORTE") IsNot Nothing AndAlso UrlParametros("CVECORTE").ToString.ToEntero > 0 Then
- ImprimeCorte(UrlParametros("CVECORTE").ToString.ToEntero, UrlParametros("FORMATO").ToString)
+ Dim CveSubProyecto As Integer = -1
+ If UrlParametros("CVESUBPROYECTO") IsNot Nothing Then
+ CveSubProyecto = UrlParametros("CVESUBPROYECTO").ToString.ToEntero
+ End If
+ ImprimeCorte(UrlParametros("CVECORTE").ToString.ToEntero, UrlParametros("FORMATO").ToString, CveSubProyecto)
End If
End If
@@ -797,17 +984,18 @@ Partial Class PopUpVerFactura
#Region "OP = CORT - IMPRIMIR CORTE"
- Private Sub ImprimeCorte(CveCorte As Integer, Formato As String)
+ Private Sub ImprimeCorte(CveCorte As Integer, Formato As String, Optional CveSubProyecto As Integer = -1)
Dim ObjVenta As New ClsVentas
Dim ObjPuntoVenta As New ClsPuntoVenta
Dim DtCortesVentasResumen As DataTable = Nothing
Dim DtCortesVentas As DataTable = Nothing
Dim Fecha = "", Nombre = ""
- If ObjVenta.GetCortesDetalleVentasResumen(CveCorte, UsuarioActual.CveEmpresa) Then
+ If ObjVenta.GetCortesDetalleVentasResumen(CveCorte, CveSubProyecto, UsuarioActual.CveEmpresa) Then
DtCortesVentasResumen = ObjVenta.DtResultados
End If
- If ObjPuntoVenta.GetCortesDetalleVentas(CveCorte, UsuarioActual.CveEmpresa) Then
+
+ If ObjPuntoVenta.GetCortesDetalleVentas(CveCorte, CveSubProyecto, UsuarioActual.CveEmpresa) Then
DtCortesVentas = ObjPuntoVenta.DtResultados
If DtCortesVentas.Rows.Count > 0 Then
Dim RowInfo As DataRow = DtCortesVentas.FiltroPrimero("CveVenta > 0")
@@ -816,6 +1004,7 @@ Partial Class PopUpVerFactura
Nombre = RowInfo("Nombre").ToString
End If
End If
+
ObjVenta.Dispose()
ObjPuntoVenta.Dispose()
Dim FechaCorte As String = $" Fecha fin: {Fecha}"
diff --git a/Compras/Proveedores.aspx b/Compras/Proveedores.aspx
index cc984ed03..589faafc2 100644
--- a/Compras/Proveedores.aspx
+++ b/Compras/Proveedores.aspx
@@ -1524,22 +1524,22 @@
-
+
-
+
-
+
-
+
@@ -1602,37 +1602,37 @@
-
+
-
+
-
+
-
+
-
+
-
+
-
+
diff --git a/Compras/Proveedores.aspx.vb b/Compras/Proveedores.aspx.vb
index 8763f2b39..06170b6ba 100644
--- a/Compras/Proveedores.aspx.vb
+++ b/Compras/Proveedores.aspx.vb
@@ -2613,12 +2613,6 @@ Partial Class Compras_Proveedores
End If
- e.Row.Cells(5).HorizontalAlign = HorizontalAlign.Right
- e.Row.Cells(6).HorizontalAlign = HorizontalAlign.Right
- e.Row.Cells(7).HorizontalAlign = HorizontalAlign.Right
- e.Row.Cells(8).HorizontalAlign = HorizontalAlign.Right
-
-
If e.Row.DBCampo("Saldo").ToDouble < 0 Then e.Row.Cells(6).ForeColor = Drawing.Color.Red
If e.Row.DBCampo("DiasVencidos").ToDouble > 0 AndAlso CType(sender, GridView).ID = "GvCxP" Then e.Row.Cells(4).ForeColor = Drawing.Color.Red
diff --git a/Contabilidad/RegPrePolizaS.aspx b/Contabilidad/RegPrePolizaS.aspx
index 17a24c725..b09cf0b9f 100644
--- a/Contabilidad/RegPrePolizaS.aspx
+++ b/Contabilidad/RegPrePolizaS.aspx
@@ -4,6 +4,9 @@
- true
@@ -1284,37 +1283,6 @@
-
- true
- true
-
-
-
-
-
-
-
-
-
-
-
- Textbox5
- 6.29109cm
- 0.28014cm
- 0.05496cm
- 20.88652cm
- 2
-
-
- Black
- 2pt
- 2pt
- 2pt
- 2pt
-
- truetrue
@@ -1388,7 +1356,7 @@
4.18454cm2.70968cm9.58983cm
- 3
+ 2
@@ -1468,7 +1436,7 @@
13.77437cm2.70968cm4.34463cm
- 4
+ 3
@@ -1502,7 +1470,7 @@
18.23008cm0.96018cm2.79101cm
- 5
+ 4
@@ -1538,7 +1506,7 @@
18.23008cm0.6cm2.79101cm
- 6
+ 5
@@ -1589,7 +1557,7 @@
18.23008cm0.86903cm2.79101cm
- 7
+ 6
@@ -1680,7 +1648,7 @@
0.28014cm1.09007cm9.71199cm
- 8
+ 7
@@ -1760,7 +1728,7 @@
10.06268cm0.7927cm9.71199cm
- 9
+ 8
@@ -1941,7 +1909,7 @@
0.25136cm0.74611cm13.82025cm
- 10
+ 9
@@ -1974,7 +1942,7 @@
14.07729cm0.57354cm2.90753cm
- 11
+ 10
@@ -2000,11 +1968,11 @@
Textbox5
- 8.98809cm
+ 6.13059cm0.24983cm0.05496cm20.88652cm
- 12
+ 11
@@ -2058,7 +2026,7 @@
17.09066cm0.64028cm3.90165cm
- 13
+ 12
@@ -2240,11 +2208,11 @@
Textbox4
- 9.1136cm
+ 6.2561cm0.16383cm2.44366cm15.07903cm
- 14
+ 13
@@ -2270,11 +2238,11 @@
Textbox5
- 11.6631cm
+ 8.8056cm0.10579cm0.05496cm20.88652cm
- 15
+ 14
@@ -2389,116 +2357,17 @@
DataSet1
- 9.1136cm
+ 6.2561cm15.31342cm0.48004cm5.71104cm
- 16
+ 15
-
- true
- true
- true
-
-
-
-
- Sucursal Matriz
-
-
-
-
-
-
-
-
- Beneficiario: SERVICIOS ELECTRICOS Y CONTROL DE HERMOSILLO S.A DE C.V
-
-
-
-
-
-
-
-
- Banco: BANORTE
-
-
-
- 0cm
- 0cm
-
-
-
-
-
- CLABE: 072 760 004 614 648 782
-
-
-
- 0cm
- 0cm
-
-
-
-
-
- Cuenta: 0461464878
-
-
-
- 0cm
- 0cm
-
-
-
- Textbox1
- 7.01327cm
- 0.25136cm
- 1.8337cm
- 9.18009cm
- 17
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
- EmbeddedRFIRMAELECTRONICAEDITABLE
@@ -2507,45 +2376,13 @@
0.28014cm1.73059cm3.63914cm
- 18
+ 16
-
- true
- true
-
-
-
-
- Cuenta Bancaria
-
-
-
-
-
-
- Textbox13
- 6.49293cm
- 0.28014cm
- 0.52035cm
- 9.15131cm
- 19
-
-
- 2pt
- 2pt
- 2pt
- 2pt
-
-
@@ -3017,11 +2854,11 @@
true
- 15.5602cm
+ 12.7027cm0.16937cm2.67787cm20.85172cm
- 20
+ 17=Microsoft.VisualBasic.Interaction.IIF(First(Fields!SerieFolio.Value, "DataSet4") <> "", False, True)
@@ -3032,7 +2869,7 @@
- 18.23807cm
+ 15.38057cm