diff --git a/App_Code/ClsClientes.vb b/App_Code/ClsClientes.vb
index 1b805eda7..5f3c30c86 100644
--- a/App_Code/ClsClientes.vb
+++ b/App_Code/ClsClientes.vb
@@ -172,6 +172,9 @@ Public Class ClsClientes
End Get
End Property
+ Public Property CodigoRegimenFiscal As String
+ Public Property RegimenFiscal As String
+
#End Region
Sub New(Optional TransaccionCompartida As SqlTransaction = Nothing)
@@ -426,6 +429,9 @@ Public Class ClsClientes
_BonificacionUsado = CBool(Data(0)("BonificacionUsado"))
_CveSATEstado = Data(0)("CveSATEstado").ToString.ToEntero
+ _RegimenFiscal = Data(0)("RegimenFiscal").ToString
+ _CodigoRegimenFiscal = Data(0)("CodigoRegimenFiscal").ToString
+
End If
Retorno = True
Catch ex As Exception
@@ -435,6 +441,8 @@ Public Class ClsClientes
Return Retorno
End Function
+
+
Public Function GetSiguienteCodigoCliente(CveEmpresa As Integer) As Integer
Dim Codigo As Integer = 0
diff --git a/App_Code/ClsPaginas.vb b/App_Code/ClsPaginas.vb
index b4a2ef02c..4f690b468 100644
--- a/App_Code/ClsPaginas.vb
+++ b/App_Code/ClsPaginas.vb
@@ -6012,11 +6012,17 @@ Public Class ClsPaginas
RutaReporte = String.Format("{0}{1}", bdir, RutaReporte)
End If
- If EsProduccion AndAlso SubReportData Is Nothing Then
+ If EsProduccion Then
- Dim wsreport As New WSRDLC.WebServiceSoapClient
- Dim params As New List(Of WSRDLC.ReportParameter)
- Dim reportobjects As New List(Of WSRDLC.ReportObjects)
+ Dim wsreport As New WSRDLC2.WebServiceSoapClient
+ Dim params As New List(Of WSRDLC2.ReportParameter)
+ Dim reportobjects As New List(Of WSRDLC2.ReportObjects)
+
+ Dim jsonData As String = Nothing
+
+ If SubReportData IsNot Nothing Then
+ jsonData = Newtonsoft.Json.JsonConvert.SerializeObject(SubReportData)
+ End If
Dim ds As New DataSet
For Each rpds As ReportDataSource In DataSource
@@ -6026,7 +6032,7 @@ Public Class ClsPaginas
dt.TableName = rpds.Name
ds.Tables.Add(dt)
Else
- Dim ojext As New WSRDLC.ReportObjects
+ Dim ojext As New WSRDLC2.ReportObjects
ojext.Name = rpds.Name
ojext.Value = rpds.Value
reportobjects.Add(ojext)
@@ -6034,7 +6040,7 @@ Public Class ClsPaginas
Next
For Each rpds As ReportParameter In Parametros
- Dim param As New WSRDLC.ReportParameter
+ Dim param As New WSRDLC2.ReportParameter
param.Name = rpds.Name
'SI ES TEXTO, QUITAR TABS Y OTROS ESPACIOS QUE DEN PROBLEMAS AL MANDAR LA PETICION
@@ -6047,7 +6053,7 @@ Public Class ClsPaginas
params.Add(param)
Next
- Bytes = wsreport.StreamNEWPDFBytes(RutaReporte, ds, reportobjects.ToArray(), params.ToArray(), NombreArchivo, Formato, CveEmpresa, CveUsuario)
+ Bytes = wsreport.StreamNEWPDFBytes(RutaReporte, ds, reportobjects.ToArray(), params.ToArray(), NombreArchivo, Formato, CveEmpresa, CveUsuario, jsonData)
wsreport = Nothing
params = Nothing
ds.Dispose() : ds = Nothing
@@ -8872,6 +8878,11 @@ Public Class ClsPaginas
Dim TotalLetra = ""
Dim FechaRecibo = ""
+ Dim RegimenFiscalCodigo As String = ""
+ Dim CFDIVersion As String = If(UsuarioActual.Empresa.Funcionalidad(350) = "1", "4.0", "3.3")
+
+
+
'DT PAGO
Dim DTConceptosPago As New DataTable
@@ -8896,6 +8907,47 @@ Public Class ClsPaginas
DTConceptosPagoRelacionado.Columns.Add("TipoCambioDR", GetType(String))
DTConceptosPagoRelacionado.Columns.Add("ObjetoImpDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Tra001ImpuestoDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Tra001TipoFactorDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Tra001TasaOCuotaDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Tra001ImporteDR", GetType(Decimal))
+
+ DTConceptosPagoRelacionado.Columns.Add("Tra002ImpuestoDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Tra002TipoFactorDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Tra002TasaOCuotaDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Tra002ImporteDR", GetType(Decimal))
+
+ DTConceptosPagoRelacionado.Columns.Add("Tra003ImpuestoDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Tra003TipoFactorDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Tra003TasaOCuotaDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Tra003ImporteDR", GetType(Decimal))
+
+
+ DTConceptosPagoRelacionado.Columns.Add("Ret001ImpuestoDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Ret001TipoFactorDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Ret001TasaOCuotaDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Ret001ImporteDR", GetType(Decimal))
+
+ DTConceptosPagoRelacionado.Columns.Add("Ret002ImpuestoDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Ret002TipoFactorDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Ret002TasaOCuotaDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Ret002ImporteDR", GetType(Decimal))
+
+ DTConceptosPagoRelacionado.Columns.Add("Ret003ImpuestoDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Ret003TipoFactorDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Ret003TasaOCuotaDR", GetType(String))
+ DTConceptosPagoRelacionado.Columns.Add("Ret003ImporteDR", GetType(Decimal))
+
+
+
+ '001 ISR
+ '002 IVA
+ '003 IEPS
+ 'Impuetos
+ 'Retenciones
+
+
+
Dim ObjBancos As New ClsBancos
If ObjBancos.GetComplementoPagos(CveComplementoPago, CveIE, CveVenta, UsuarioActual.CveEmpresa) Then
Serie = ObjBancos.DtResultados.FiltroPrimeroValor("Serie")
@@ -8938,6 +8990,14 @@ Public Class ClsPaginas
params.Add(New ReportParameter("ClienteEstado", ObjClientes.Estado))
params.Add(New ReportParameter("ClienteCP", ObjClientes.CP))
params.Add(New ReportParameter("ClienteRFC", ObjClientes.RFC))
+
+
+ If UsuarioActual.Empresa.Funcionalidad(350) = "1" Then
+ If ObjClientes.CodigoRegimenFiscal.ToString.Length > 0 Then
+ RegimenFiscalCodigo = $"{ObjClientes.CodigoRegimenFiscal}-{ObjClientes.RegimenFiscal}"
+ End If
+ End If
+
End If
ObjClientes.Dispose()
@@ -8974,6 +9034,7 @@ Public Class ClsPaginas
Dim validaElemento = XmlDoc.DocumentElement("cfdi:Complemento")
Dim validaElementoPago = XmlDoc.DocumentElement("cfdi:Conceptos")
+
If Version = "3.3" Then
cfdVer = "http://www.sat.gob.mx/cfd/3"
PagoVersion = "pago10"
@@ -8981,6 +9042,19 @@ Public Class ClsPaginas
cfdVer = "http://www.sat.gob.mx/cfd/4"
End If
+
+ If Version = "4.0" Then
+
+ If UsuarioActual.Empresa.Funcionalidad(350) = "1" Then
+ params.Add(New ReportParameter("CFDIVersion", Version))
+ If ObjClientes.CodigoRegimenFiscal.ToString.Length > 0 Then
+ params.Add(New ReportParameter("RegimenFiscalCodigo", RegimenFiscalCodigo))
+ End If
+ End If
+ End If
+
+
+
namespaces.AddNamespace(Prefijo, cfdVer)
namespaces.AddNamespace("tfd", "http://www.sat.gob.mx/TimbreFiscalDigital")
namespaces.AddNamespace("implocal", "http://www.sat.gob.mx/implocal")
@@ -9044,7 +9118,92 @@ Public Class ClsPaginas
If Version = "4.0" Then DrRelacionado("ObjetoImpDR") = Relacionado.Attributes("ObjetoImpDR").Value
DrRelacionado("MonedaDR") = Relacionado.Attributes("MonedaDR").Value
+
+
+ If UsuarioActual.Empresa.Funcionalidad(350) = "1" AndAlso Version = "4.0" Then
+
+
+
+ ' Relacionado.SelectSingleNode($"//{PagoVersion}:ImpuestosDR/{PagoVersion}:TrasladosDR/{PagoVersion}:TrasladoDR", namespaces)
+
+ 'Dim NodoImpuestosDR As XmlNode = Relacionado.SelectSingleNode($"{PagoVersion}:ImpuestosDR", namespaces)
+ 'Dim NodoTrasladosDR As XmlNode = NodoImpuestosDR.SelectSingleNode($"{PagoVersion}:TrasladosDR", namespaces)
+ 'Dim TrasladoDR As XmlNodeList = NodoTrasladosDR.ChildNodes
+
+ Dim NodosTraslados = Relacionado.SelectNodes($"{PagoVersion}:ImpuestosDR/{PagoVersion}:TrasladosDR/{PagoVersion}:TrasladoDR", namespaces)
+ For Each NodoTraslados As XmlNode In NodosTraslados
+
+ Dim ImpuestoDR As String = ValorXML(NodoTraslados, "ImpuestoDR") ' ImpuestoDR
+ Dim TipoFactor As String = ValorXML(NodoTraslados, "TipoFactorDR")
+ Dim TasaOCuotaDR As String = ValorXML(NodoTraslados, "TasaOCuotaDR")
+ Dim ImporteDR As Decimal = ValorXML(NodoTraslados, "ImporteDR").ToDecimal
+
+
+ If ImpuestoDR = "001" Then
+ DrRelacionado("Tra001ImpuestoDR") = ImpuestoDR
+ DrRelacionado("Tra001TipoFactorDR") = TipoFactor
+ DrRelacionado("Tra001TasaOCuotaDR") = TasaOCuotaDR
+ DrRelacionado("Tra001ImporteDR") = ImporteDR
+ End If
+
+ If ImpuestoDR = "002" Then
+ DrRelacionado("Tra002ImpuestoDR") = ImpuestoDR
+ DrRelacionado("Tra002TipoFactorDR") = TipoFactor
+ DrRelacionado("Tra002TasaOCuotaDR") = TasaOCuotaDR
+ DrRelacionado("Tra002ImporteDR") = ImporteDR
+ End If
+
+ If ImpuestoDR = "003" Then
+ DrRelacionado("Tra003ImpuestoDR") = ImpuestoDR
+ DrRelacionado("Tra003TipoFactorDR") = TipoFactor
+ DrRelacionado("Tra003TasaOCuotaDR") = TasaOCuotaDR
+ DrRelacionado("Tra003ImporteDR") = ImporteDR
+ End If
+
+ Next
+
+
+ For Each NodoRetenciiones As XmlNode In Relacionado.SelectNodes($"{PagoVersion}:ImpuestosDR/{PagoVersion}:RetencionesDR/{PagoVersion}:RetencionDR", namespaces)
+
+
+ Dim ImpuestoDR As String = ValorXML(NodoRetenciiones, "ImpuestoDR") ' ImpuestoDR
+ Dim TipoFactor As String = ValorXML(NodoRetenciiones, "TipoFactorDR")
+ Dim TasaOCuotaDR As String = ValorXML(NodoRetenciiones, "TasaOCuotaDR")
+ Dim ImporteDR As Decimal = ValorXML(NodoRetenciiones, "ImporteDR").ToDecimal
+
+
+ If ImpuestoDR = "001" Then
+ DrRelacionado("Ret001ImpuestoDR") = ImpuestoDR
+ DrRelacionado("Ret001TipoFactorDR") = TipoFactor
+ DrRelacionado("Ret001TasaOCuotaDR") = TasaOCuotaDR
+ DrRelacionado("Ret001ImporteDR") = ImporteDR
+ End If
+
+ If ImpuestoDR = "002" Then
+ DrRelacionado("Ret002ImpuestoDR") = ImpuestoDR
+ DrRelacionado("Ret002TipoFactorDR") = TipoFactor
+ DrRelacionado("Ret002TasaOCuotaDR") = TasaOCuotaDR
+ DrRelacionado("Ret002ImporteDR") = ImporteDR
+ End If
+
+ If ImpuestoDR = "003" Then
+ DrRelacionado("Ret003ImpuestoDR") = ImpuestoDR
+ DrRelacionado("Ret003TipoFactorDR") = TipoFactor
+ DrRelacionado("Ret003TasaOCuotaDR") = TasaOCuotaDR
+ DrRelacionado("Ret003ImporteDR") = ImporteDR
+ End If
+
+ Next
+
+
+
+
+ End If
+
DTConceptosPagoRelacionado.Rows.Add(DrRelacionado)
+
+
+
Next
End If
diff --git a/App_WebReferences/WSRDLC2/Reference.svcmap b/App_WebReferences/WSRDLC2/Reference.svcmap
new file mode 100644
index 000000000..070b96bcb
--- /dev/null
+++ b/App_WebReferences/WSRDLC2/Reference.svcmap
@@ -0,0 +1,31 @@
+
+
+
+ false
+ true
+
+ false
+ false
+ false
+
+
+ true
+ Auto
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/App_WebReferences/WSRDLC2/WebService.disco b/App_WebReferences/WSRDLC2/WebService.disco
new file mode 100644
index 000000000..4b396211d
--- /dev/null
+++ b/App_WebReferences/WSRDLC2/WebService.disco
@@ -0,0 +1,6 @@
+
+
+
+
+
+
\ No newline at end of file
diff --git a/App_WebReferences/WSRDLC2/WebService.wsdl b/App_WebReferences/WSRDLC2/WebService.wsdl
new file mode 100644
index 000000000..b23b74472
--- /dev/null
+++ b/App_WebReferences/WSRDLC2/WebService.wsdl
@@ -0,0 +1,312 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/App_WebReferences/WSRDLC2/configuration.svcinfo b/App_WebReferences/WSRDLC2/configuration.svcinfo
new file mode 100644
index 000000000..23094d5e1
--- /dev/null
+++ b/App_WebReferences/WSRDLC2/configuration.svcinfo
@@ -0,0 +1,10 @@
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/App_WebReferences/WSRDLC2/configuration91.svcinfo b/App_WebReferences/WSRDLC2/configuration91.svcinfo
new file mode 100644
index 000000000..c794b474d
--- /dev/null
+++ b/App_WebReferences/WSRDLC2/configuration91.svcinfo
@@ -0,0 +1,201 @@
+
+
+
+
+
+
+ WebServiceSoap1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ StrongWildcard
+
+
+
+
+
+ 65536
+
+
+
+
+
+
+
+
+ System.ServiceModel.Configuration.XmlDictionaryReaderQuotasElement
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ 0
+
+
+ System.Text.UTF8Encoding
+
+
+ Buffered
+
+
+
+
+
+ Text
+
+
+ System.ServiceModel.Configuration.BasicHttpSecurityElement
+
+
+ None
+
+
+ System.ServiceModel.Configuration.HttpTransportSecurityElement
+
+
+ None
+
+
+ None
+
+
+ System.Security.Authentication.ExtendedProtection.Configuration.ExtendedProtectionPolicyElement
+
+
+ Never
+
+
+ TransportSelected
+
+
+ (Collection)
+
+
+
+
+
+ System.ServiceModel.Configuration.BasicHttpMessageSecurityElement
+
+
+ UserName
+
+
+ Default
+
+
+
+
+
+
+
+
+ http://localhost:7999/WebService.asmx
+
+
+
+
+
+ basicHttpBinding
+
+
+ WebServiceSoap1
+
+
+ WSRDLC2.WebServiceSoap
+
+
+ System.ServiceModel.Configuration.AddressHeaderCollectionElement
+
+
+ <Header />
+
+
+ System.ServiceModel.Configuration.IdentityElement
+
+
+ System.ServiceModel.Configuration.UserPrincipalNameElement
+
+
+
+
+
+ System.ServiceModel.Configuration.ServicePrincipalNameElement
+
+
+
+
+
+ System.ServiceModel.Configuration.DnsElement
+
+
+
+
+
+ System.ServiceModel.Configuration.RsaElement
+
+
+
+
+
+ System.ServiceModel.Configuration.CertificateElement
+
+
+
+
+
+ System.ServiceModel.Configuration.CertificateReferenceElement
+
+
+ My
+
+
+ LocalMachine
+
+
+ FindBySubjectDistinguishedName
+
+
+
+
+
+ False
+
+
+ WebServiceSoap1
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/Bancos/IE.aspx b/Bancos/IE.aspx
index 4fbf00ce7..30ed7e51e 100644
--- a/Bancos/IE.aspx
+++ b/Bancos/IE.aspx
@@ -30,8 +30,8 @@
Actualizar Tipo Cambio
-
- PrePoliza
+
+ PrePoliza
<%--
@@ -44,18 +44,18 @@
Cheque Devuelto
- Cancelar Movimiento
+ Cancelar Movimiento
Eliminar Movimiento
-
+
<%--
Refacturar Complemento
--%>
- Cancelar Movimiento y Complemento
+ <%-- Cancelar Movimiento y Complemento--%>
<%-- data-original-title="¿Está seguro que desea cancelar el documento?" data-btn-ok-label="si" Style="color: #686868;">
@@ -126,10 +126,10 @@
-
-
-
- <%--
--%>
+
+
@@ -147,24 +147,25 @@
-
-
+
+
T.C.:
-
-
-
+
+
+
+
-
-
-
-
+
Dolares
-
+
+
<%--
--%>
-
-
+
@@ -217,15 +218,15 @@
-
+
-
@@ -280,8 +281,8 @@
-
-
+
+
@@ -294,13 +295,13 @@
-
-
+
-
-
+
+
@@ -493,7 +494,7 @@
-
+
@@ -887,7 +888,7 @@
|
-
+
@@ -1029,8 +1030,8 @@
-
-
+
+
@@ -1042,7 +1043,7 @@
-
+
@@ -1066,8 +1067,8 @@
Agregar
--%>
-
-
+
+
@@ -1261,8 +1262,39 @@
+
+
+
+
+
+
+
+ Cancelar Complemento
+
+
+
+
+
+
+
+
+
+
+
+
+
-
@@ -1457,7 +1488,7 @@
@@ -1556,7 +1587,7 @@
-
+ <%--
@@ -1572,13 +1603,6 @@
- <%--
¿Cual de las siguientes acciones es la que desea realizar?
-
-
- Cancelar Complemento
- Cancelar Pago y Complemento
- --%>
-
@@ -1639,7 +1663,8 @@
-
+ --%>
+
@@ -1809,7 +1834,7 @@
function ValidarCantidad(t, c) {
var Ot = 0.00;
// considera importe de OT ingresos, para que se peuda exceder
- if ($get('TxtOtrosIngresosEgresos')) { Ot = ToDouble($get('TxtOtrosIngresosEgresos').value);}
+ if ($get('TxtOtrosIngresosEgresos')) { Ot = ToDouble($get('TxtOtrosIngresosEgresos').value); }
t.value = (ToDouble(t.value) > ToDouble(c) + Ot ? c : t.value)
}
@@ -1823,10 +1848,10 @@
}
- function SelectorNotas(Chk) {
+ function SelectorNotas(Chk) {
$(`.CssSelector input[type=checkbox]`).each(function () {
- $(this).prop('checked', Chk.checked);
+ $(this).prop('checked', Chk.checked);
});
FCSumaTotalesNotas()
@@ -1839,7 +1864,7 @@
$(`.CssSelector input[type=checkbox]`).each(function () {
if ($(this).is(":checked")) {
Total += parseFloat($(this).attr("data-saldo"));
- }
+ }
});
@@ -1847,22 +1872,22 @@
$(`#TxtImporte`).val(Total);
- FormatoMoneda( $get("TxtImporte"));
+ FormatoMoneda($get("TxtImporte"));
} else {
$(`#TxtImporte`).val("");
- }
+ }
}
- function DeshabilitarTxt(){
+ function DeshabilitarTxt() {
return false;
}
function CambiaTCPagoOC() {
-
+
$("#LnkActualizaTCOC").click();
}
diff --git a/Bancos/IE.aspx.vb b/Bancos/IE.aspx.vb
index 3a6231c59..663af2a18 100644
--- a/Bancos/IE.aspx.vb
+++ b/Bancos/IE.aspx.vb
@@ -1128,7 +1128,8 @@ Partial Class Bancos_IE
End If
'LnkCancelarComplemento.Visible = False
- LnkCancelarComplementoImporte.Visible = False
+ 'LnkCancelarComplementoImporte.Visible = False
+ DivCancelarComplemento.Visible = False
UppEliminarIE.Update()
@@ -1304,7 +1305,8 @@ Partial Class Bancos_IE
'LnkCancelar.Visible = False
'LnkCancelarComplemento.Visible = True
- LnkCancelarComplementoImporte.Visible = True
+ 'LnkCancelarComplementoImporte.Visible = True
+ DivCancelarComplemento.Visible = True
End If
@@ -1312,7 +1314,8 @@ Partial Class Bancos_IE
Else
BtnEditar.Visible = False
' LnkCancelarComplemento.Visible = False
- LnkCancelarComplementoImporte.Visible = False
+ 'LnkCancelarComplementoImporte.Visible = False
+ DivCancelarComplemento.Visible = False
DVGenerarComplementoModal.Visible = False
End If
@@ -4275,13 +4278,12 @@ Partial Class Bancos_IE
Protected Sub BtnCancelarIE_Click(sender As Object, e As EventArgs)
RegistraScript("$('#DivCancelarIE').modal('hide');")
Dim ExistenComplementosVigentes As Boolean = VerificaComplementos(True)
-
- If Not ExistenComplementosVigentes Then
- CancelarIE()
- Else
- Alert("No se puede cancelar documento con complementos de pago vigentes", TipoMensaje.MsgError)
+ If ExistenComplementosVigentes AndAlso DdlMotivoCancelacion.SelectedValue.ToEntero() <= 0 Then
+ Alert("Debe seleccionar un motivo de cancelación", TipoMensaje.MsgError)
+ Exit Sub
End If
+ CancelarIE(CancelarComplemento:=ExistenComplementosVigentes)
End Sub
@@ -5760,7 +5762,7 @@ Partial Class Bancos_IE
End If
If ObjBancos.DtResultados.FiltraParametros(" Estatus IN (1,3) ").Rows.Count = 1 And Tipo.ToUpper = "CARGO" And CveCliente > 0 And CveEstatusIE <> 2 Then
- DVmotivoCancelacion.Visible = True
+ DivCancelarComplemento.Visible = True
End If
@@ -6593,16 +6595,16 @@ Partial Class Bancos_IE
If ObjBanco.UpdateComplementoPagoCancelado(CveComplementoPagoCancelar, 2, CvePACCancelacion, UsuarioActual.CveEmpresa, FechaCancelacion:=ObjCancelacion.CancelacionFecha, SelloCancelacion:=ObjCancelacion.CancelacionAcuse, CveSATMotivoCancelacion:=CveSATMotivoCancelacion) Then
- Alert("El complemento se cancelo correctamente.")
+ ' Alert("El complemento se cancelo correctamente.")
+ 'End If
+ Else
+ Alert("Se presento un error al cancelar el complemento.", TipoMensaje.MsgError)
End If
- Else
- Alert("Se presento un error al cancelar el complemento.", TipoMensaje.MsgError)
+
End If
- End If
-
- ObjBanco.Dispose()
- CargaComplementosPago()
+ ObjBanco.Dispose()
+ CargaComplementosPago()
End Sub
@@ -6614,7 +6616,7 @@ Partial Class Bancos_IE
Exit Sub
End If
- TxtFechaCancelacion.Text = TxtFechaCancelarComplemento.Text
+ 'TxtFechaCancelacion.Text = TxtFechaCancelarComplemento.Text
CancelarIE(True)
End Sub
@@ -6645,10 +6647,10 @@ Partial Class Bancos_IE
CvePACCancelacion = DTComplementos.Rows(0)("CvePAC").ToString.ToEntero
RegistraScript("$('#ModalCancelarComplemetno').modal('show');")
- DivFechaCancelación.Visible = True
+ 'DivFechaCancelación.Visible = True
CargaComplementosPago()
- UpModalCancelarComplemetno.Update()
+ 'UpModalCancelarComplemetno.Update()
Else
If DTComplementos.Rows.Count = 0 Then
diff --git a/Bancos/PopIECompras.aspx.vb b/Bancos/PopIECompras.aspx.vb
index e0111b63a..7e0bae4ee 100644
--- a/Bancos/PopIECompras.aspx.vb
+++ b/Bancos/PopIECompras.aspx.vb
@@ -2581,7 +2581,7 @@ Partial Class Bancos_PopIECompras
TimpocambioGeneral = TCImpuestos
Dim tipoCambioCompraValuacion As Decimal = If(PagoMismoMes, tipoCambioCompra, TCUltimaFluctuacion)
'' si tiene funcionalidad de flucturación con ivas, tomar tipocambioCompra
- If tipoCambioPago < tipoCambioCompra AndAlso CveMonedaCompra = 2 Then
+ If tipoCambioPago < tipoCambioCompra AndAlso CveMonedaCompra = 2 Or (CveMonedaCompra = 2 AndAlso UsuarioActual.CveEmpresa = 119 AndAlso PagoMismoMes = False AndAlso tipoCambioPago < TCUltimaFluctuacion) Then
ImporteMovimiento = ((MovimientoPagar.Total * PorcentajePago) * tipoCambioPago) - ((MovimientoPagar.Total * PorcentajePago) * tipoCambioCompraValuacion) 'Añadimos la diferencia de ganancia en la venta
ImporteMovimiento -= ((MovimientoPagar.IVA * PorcentajePago) * TCImpuestos) - ((MovimientoPagar.IVA * PorcentajePago) * tipoCambioCompra) 'Añadimos la diferencia de ganancia en el IVA
ImporteMovimiento += ((MovimientoPagar.RetIVA * PorcentajePago) * TCImpuestos) - ((MovimientoPagar.RetIVA * PorcentajePago) * tipoCambioCompra) 'Añadimos la diferencia de ganancia en el RetIVA
@@ -2604,9 +2604,10 @@ Partial Class Bancos_PopIECompras
If CveMoneda <> 1 OrElse CveMonedaCompra <> 1 Then
IdCtaContable = UsuarioActual.Empresa.IdCuentaPerdidaCambiaria
Dim TCImpuestos As Decimal = If(FuncionalidadFluctuacionImpuestos, tipoCambioPago, tipoCambioCompra)
- Dim tipoCambioCompraValuacion As Decimal = If(PagoMismoMes, tipoCambioCompra, TCUltimaFluctuacion)
- '' si tiene funcionalidad de flucturación con ivas, tomar tipocambioCompra
- If tipoCambioPago > tipoCambioCompra AndAlso CveMonedaCompra = 2 Then
+ Dim tipoCambioCompraValuacion As Decimal = If(PagoMismoMes, tipoCambioCompra, TCUltimaFluctuacion)
+ '' si tiene funcionalidad de flucturación con ivas, tomar tipocambioCompra
+
+ If tipoCambioPago > tipoCambioCompra AndAlso CveMonedaCompra = 2 Or (CveMonedaCompra = 2 AndAlso UsuarioActual.CveEmpresa = 119 AndAlso PagoMismoMes = False AndAlso tipoCambioPago > TCUltimaFluctuacion) Then
ImporteMovimiento = ((MovimientoPagar.Total * PorcentajePago) * tipoCambioCompraValuacion) - ((MovimientoPagar.Total * PorcentajePago) * tipoCambioPago) 'Añadimos la diferencia de perdida en la venta
ImporteMovimiento -= ((MovimientoPagar.IVA * PorcentajePago) * tipoCambioCompra) - ((MovimientoPagar.IVA * PorcentajePago) * TCImpuestos) 'Añadimos la diferencia de ganancia en el IVA
ImporteMovimiento += ((MovimientoPagar.RetIVA * PorcentajePago) * tipoCambioCompra) - ((MovimientoPagar.RetIVA * PorcentajePago) * TCImpuestos) 'Añadimos la diferencia de ganancia en el RetIVA
diff --git a/Compras/PopUpVerFactura.aspx.vb b/Compras/PopUpVerFactura.aspx.vb
index 2486ed8af..f54ffac71 100644
--- a/Compras/PopUpVerFactura.aspx.vb
+++ b/Compras/PopUpVerFactura.aspx.vb
@@ -2047,6 +2047,7 @@ Partial Class PopUpVerFactura
For Each parametro As ReportParameter In params
retorno.Parametros.Add(New ReportParameter($"SRP_{parametro.Name}", parametro.Values.Item(0)))
Next
+ retorno.Parametros.Add(New ReportParameter($"TieneCartaPorte", "True"))
Else
retorno.Parametros.AddRange(params)
End If
@@ -2690,7 +2691,7 @@ Partial Class PopUpVerFactura
Dim CveTimbreCartaPorteVenta As Integer = -1
Dim CartaPorte As Modelos.MSubReportData = Nothing
- If Vta.TipoDocto = "Ing" Then
+ If UsuarioActual.CveEmpresa = 13 AndAlso Vta.TipoDocto = "Ing" Then
Using ObjGral As New ClsGenerales
If ObjGral.GetGralTimbre(-1, "Ing", MinFecha, MaxFecha, 0, UsuarioActual.CveEmpresa, -1, CveVenta:=CveVenta) AndAlso ObjGral.DtResultados.Rows.Count > 0 Then
Dim RowCP As DataRow = ObjGral.DtResultados.Rows(0)
@@ -2713,6 +2714,9 @@ Partial Class PopUpVerFactura
'CartaPorte.DataSources.Add(New ReportDataSource() With {.Name = "DataSet1", .Value = dt})
CartaPorte = PreParaImpresionCartaPorte(CveTimbreCartaPorteVenta, AplicaSubReporte:=True)
+ Else
+ CartaPorte = New Modelos.MSubReportData()
+ CartaPorte.Parametros.Add(New ReportParameter($"TieneCartaPorte", "False"))
End If
End If
diff --git a/Empresas/119/Formatos/ReciboDePago.rdlc b/Empresas/119/Formatos/ReciboDePago.rdlc
index 21a9869ea..abf548d0c 100644
--- a/Empresas/119/Formatos/ReciboDePago.rdlc
+++ b/Empresas/119/Formatos/ReciboDePago.rdlc
@@ -416,7 +416,16 @@
- 7.35332cm
+ 2.13038cm
+
+
+ 1.64459cm
+
+
+ 1.80415cm
+
+
+ 1.76995cm
1.8cm
@@ -439,7 +448,7 @@
- 0.49cm
+ 0.56938cm
@@ -474,8 +483,12 @@
2pt
+ 4
+
+
+
@@ -689,7 +702,7 @@
- 0.44125cm
+ 0.54021cm
@@ -721,8 +734,12 @@
2pt
+ 4
+
+
+
@@ -924,6 +941,2793 @@
+
+ 0.07938cm
+
+
+
+
+ true
+ true
+
+
+
+
+ Impuesto
+
+
+
+
+
+
+ Textbox108
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ OR Fields!Tra002ImporteDR.Value > 0
+ OR Fields!Tra003ImporteDR.Value > 0
+ OR Fields!Ret001ImporteDR.Value > 0
+ OR Fields!Ret002ImporteDR.Value > 0
+ OR Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Tipo
+
+
+
+
+
+
+ Textbox109
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ OR Fields!Tra002ImporteDR.Value > 0
+ OR Fields!Tra003ImporteDR.Value > 0
+ OR Fields!Ret001ImporteDR.Value > 0
+ OR Fields!Ret002ImporteDR.Value > 0
+ OR Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Base
+
+
+
+
+
+
+ Textbox110
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ OR Fields!Tra002ImporteDR.Value > 0
+ OR Fields!Tra003ImporteDR.Value > 0
+ OR Fields!Ret001ImporteDR.Value > 0
+ OR Fields!Ret002ImporteDR.Value > 0
+ OR Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Tipo Factor
+
+
+
+
+
+
+ Textbox111
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ OR Fields!Tra002ImporteDR.Value > 0
+ OR Fields!Tra003ImporteDR.Value > 0
+ OR Fields!Ret001ImporteDR.Value > 0
+ OR Fields!Ret002ImporteDR.Value > 0
+ OR Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Tasa/Cuota
+
+
+
+
+
+
+ Textbox112
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ OR Fields!Tra002ImporteDR.Value > 0
+ OR Fields!Tra003ImporteDR.Value > 0
+ OR Fields!Ret001ImporteDR.Value > 0
+ OR Fields!Ret002ImporteDR.Value > 0
+ OR Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Importe
+
+
+
+
+
+
+ Textbox113
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ OR Fields!Tra002ImporteDR.Value > 0
+ OR Fields!Tra003ImporteDR.Value > 0
+ OR Fields!Ret001ImporteDR.Value > 0
+ OR Fields!Ret002ImporteDR.Value > 0
+ OR Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox114
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ OR Fields!Tra002ImporteDR.Value > 0
+ OR Fields!Tra003ImporteDR.Value > 0
+ OR Fields!Ret001ImporteDR.Value > 0
+ OR Fields!Ret002ImporteDR.Value > 0
+ OR Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox115
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ OR Fields!Tra002ImporteDR.Value > 0
+ OR Fields!Tra003ImporteDR.Value > 0
+ OR Fields!Ret001ImporteDR.Value > 0
+ OR Fields!Ret002ImporteDR.Value > 0
+ OR Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox116
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ OR Fields!Tra002ImporteDR.Value > 0
+ OR Fields!Tra003ImporteDR.Value > 0
+ OR Fields!Ret001ImporteDR.Value > 0
+ OR Fields!Ret002ImporteDR.Value > 0
+ OR Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox117
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ OR Fields!Tra002ImporteDR.Value > 0
+ OR Fields!Tra003ImporteDR.Value > 0
+ OR Fields!Ret001ImporteDR.Value > 0
+ OR Fields!Ret002ImporteDR.Value > 0
+ OR Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 0.07938cm
+
+
+
+
+ true
+ true
+
+
+
+
+ ISR
+
+
+
+
+
+
+ Textbox61
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Traslado
+
+
+
+
+
+
+ Textbox204
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!ImpPagado.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Tra001TipoFactorDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Tra001TasaOCuotaDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Tra001ImporteDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox4
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox13
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox17
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox18
+
+ = IIF(
+ Fields!Tra001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 0.07938cm
+
+
+
+
+ true
+ true
+
+
+
+
+ IVA
+
+
+
+
+
+
+ Textbox61
+
+ = IIF(
+ Fields!Tra002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Traslado
+
+
+
+
+
+
+ Textbox204
+
+ = IIF(
+ Fields!Tra002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!ImpPagado.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Tra002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Tra002TipoFactorDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Tra002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Tra002TasaOCuotaDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Tra002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Tra002ImporteDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Tra002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox67
+
+ = IIF(
+ Fields!Tra002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox68
+
+ = IIF(
+ Fields!Tra002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox69
+
+ = IIF(
+ Fields!Tra002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox70
+
+ = IIF(
+ Fields!Tra002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 0.07938cm
+
+
+
+
+ true
+ true
+
+
+
+
+ IEPS
+
+
+
+
+
+
+ Textbox61
+
+ = IIF(
+ Fields!Tra003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Traslado
+
+
+
+
+
+
+ Textbox204
+
+ = IIF(
+ Fields!Tra003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!ImpPagado.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Tra003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Tra003TipoFactorDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Tra003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Tra003TasaOCuotaDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Tra003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Tra003ImporteDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Tra003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox51
+
+ = IIF(
+ Fields!Tra003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox55
+
+ = IIF(
+ Fields!Tra003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox56
+
+ = IIF(
+ Fields!Tra003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox58
+
+ = IIF(
+ Fields!Tra003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 0.07938cm
+
+
+
+
+ true
+ true
+
+
+
+
+ ISR
+
+
+
+
+
+
+ Textbox61
+
+ = IIF(
+ Fields!Ret001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Retención
+
+
+
+
+
+
+ Textbox207
+
+ = IIF(
+ Fields!Ret001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!ImpPagado.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Ret001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Ret001TipoFactorDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Ret001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Ret001TasaOCuotaDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Ret001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Ret001ImporteDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Ret001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox75
+
+ = IIF(
+ Fields!Ret001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox76
+
+ = IIF(
+ Fields!Ret001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox77
+
+ = IIF(
+ Fields!Ret001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox78
+
+ = IIF(
+ Fields!Ret001ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 0.07938cm
+
+
+
+
+ true
+ true
+
+
+
+
+ IVA
+
+
+
+
+
+
+ Textbox61
+
+ = IIF(
+ Fields!Ret002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Retención
+
+
+
+
+
+
+ Textbox207
+
+ = IIF(
+ Fields!Ret002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!ImpPagado.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Ret002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Ret002TipoFactorDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Ret002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Ret002TasaOCuotaDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Ret002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Ret002ImporteDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Ret002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox85
+
+ = IIF(
+ Fields!Ret002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox86
+
+ = IIF(
+ Fields!Ret002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox87
+
+ = IIF(
+ Fields!Ret002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox88
+
+ = IIF(
+ Fields!Ret002ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ 0.07938cm
+
+
+
+
+ true
+ true
+
+
+
+
+ IEPS
+
+
+
+
+
+
+ Textbox59
+
+ = IIF(
+ Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ Retención
+
+
+
+
+
+
+ Textbox207
+
+ = IIF(
+ Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!ImpPagado.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Ret003TipoFactorDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Ret003TasaOCuotaDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+ =Fields!Ret003ImporteDR.Value
+
+
+
+
+
+
+ ImpPagado
+
+ = IIF(
+ Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox95
+
+ = IIF(
+ Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox96
+
+ = IIF(
+ Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox97
+
+ = IIF(
+ Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
+
+ true
+ true
+
+
+
+
+
+
+
+
+
+
+
+ Textbox98
+
+ = IIF(
+ Fields!Ret003ImporteDR.Value > 0
+ ,False,True)
+
+
+
+ 2pt
+ 2pt
+ 2pt
+ 2pt
+
+
+
+
+
+
@@ -935,6 +3739,9 @@
+
+
+
@@ -944,13 +3751,23 @@
+
+
+
+
+
+
+
+
+
+
DataSet2
4.62704cm
- 0.93125cm
- 20.53564cm
+ 1.66521cm
+ 20.53139cm
1
+
+
+
+ = IIF( Parameters!RegimenFiscalCodigo.Value <> "ND-", "<b>Reg. Fiscal:</b> " & Parameters!RegimenFiscalCodigo.Value,"")
+
+
+
+
+
Textbox2
0.03528cm
@@ -2060,7 +4892,7 @@
Textbox45
- 7.94284cm
+ 8.92709cm
3.30199cm
16.51971cm
5
@@ -2089,7 +4921,7 @@
Textbox5
- 7.67825cm
+ 8.6625cm
0.0882cm
20.53564cm
6
@@ -2108,7 +4940,7 @@
External
=Parameters!QR.Value
FitProportional
- 3.1271in
+ 3.5146in
6.51771in
1.3in
1.5in
@@ -2134,7 +4966,7 @@
Textbox5
- 11.36179cm
+ 12.34604cm
0.11466cm
20.5314cm
8
@@ -2150,7 +4982,7 @@
- 11.47645cm
+ 13.54549cm