diff --git a/Compras/Compras.aspx.vb b/Compras/Compras.aspx.vb index 879a4635a..d024dcd69 100644 --- a/Compras/Compras.aspx.vb +++ b/Compras/Compras.aspx.vb @@ -2205,12 +2205,13 @@ Partial Class Compras_Compras DdlRetIVAConcepto.Items.Add(New ListItem("Arrendamiento", "4")) End If - If DIOTCveTipoOperacion = 3 Then ' 85 - Otros + If DIOTCveTipoOperacion.Contiene(0, 3) Then ' 85 - Otros DdlRetIVAConcepto.Items.Insert(0, New ListItem("Honorarios/Serv. Prof.", "1")) DdlRetIVAConcepto.Items.Add(New ListItem("Arrendamiento", "4")) DdlRetIVAConcepto.Items.Insert(0, New ListItem("Fletes P.F.", "2")) End If + ElseIf RFCProv.Length = 12 Then If DIOTCveTipoOperacion = 1 Then '03 - Prestación de Servicios Profesionales DdlRetIVAConcepto.Items.Insert(0, New ListItem("Honorarios/Serv. Prof.", "1")) @@ -2220,12 +2221,14 @@ Partial Class Compras_Compras DdlRetIVAConcepto.Items.Add(New ListItem("Arrendamiento", "4")) End If - If DIOTCveTipoOperacion = 3 Then ' 85 - Otros + If DIOTCveTipoOperacion.Contiene(0, 3) Then ' 85 - Otros DdlRetIVAConcepto.Items.Insert(0, New ListItem("Honorarios/Serv. Prof.", "1")) DdlRetIVAConcepto.Items.Add(New ListItem("Arrendamiento", "4")) DdlRetIVAConcepto.Items.Insert(0, New ListItem("Fletes P.F.", "2")) End If + + End If End If @@ -2251,12 +2254,14 @@ Partial Class Compras_Compras DdlRetISRConcepto.Items.Insert(1, New ListItem("Resico", "3")) End If - If DIOTCveTipoOperacion = 3 Then ' 85 - Otros + If DIOTCveTipoOperacion.Contiene(0, 3) Then ' 85 - Otros DdlRetISRConcepto.Items.Insert(0, New ListItem("Honorarios", "1")) DdlRetISRConcepto.Items.Insert(1, New ListItem("Arrendamiento", "2")) DdlRetISRConcepto.Items.Insert(1, New ListItem("Resico", "3")) End If + + End If UpPS.Update() End Sub diff --git a/Compras/Proveedores.aspx.vb b/Compras/Proveedores.aspx.vb index 226553921..7c5ce2a0e 100644 --- a/Compras/Proveedores.aspx.vb +++ b/Compras/Proveedores.aspx.vb @@ -750,9 +750,11 @@ Partial Class Compras_Proveedores TxtNombreComercial.Text = HttpUtility.HtmlDecode(ValorXml(node, "Nombre")) ChkEstado.Checked = True - If Version = "4.0" Then + Dim CodigoRegimenFiscal As String = ValorXml(node, "RegimenFiscal") + + If Version = "4.0" Or CodigoRegimenFiscal.Trim.Length > 0 Then + - Dim CodigoRegimenFiscal As String = ValorXml(node, "RegimenFiscal") Dim CveRegimenFiscal As Integer = GlobalDTRegimenesFiscales(-1).FiltroPrimeroValor("CveRegimenFiscal", $" CodigoRegimenFiscal = '{ CodigoRegimenFiscal }'").ToEntero DdlRegimenFiscal.SelectedValueExist(CveRegimenFiscal) diff --git a/Empresas/13/Formatos/Factura.rdlc b/Empresas/13/Formatos/Factura.rdlc index e2a9d6c67..29bca9e44 100644 --- a/Empresas/13/Formatos/Factura.rdlc +++ b/Empresas/13/Formatos/Factura.rdlc @@ -89,7 +89,16 @@ - Régimen Fiscal: 601 - General de Ley Personas Morales + Régimen Fiscal: + + + + =IIF(Parameters!RegimenFiscalCodigo.Value="ND-","601 - General de Ley Personas Morales",Parameters!RegimenFiscalCodigo.Value) + + + + + + Textbox7 + + + + Black + + + + Black + + + White + 2pt + 2pt + 2pt + 2pt + + + + @@ -834,6 +892,43 @@ + + + + true + true + + + + + =Fields!CodigoObjetoImpuesto.Value + + + + + + + CodigoObjetoImpuesto + + + + #4f81bd + + 2pt + 2pt + 2pt + 2pt + + + + @@ -960,6 +1055,7 @@ + @@ -976,7 +1072,7 @@ 6.28717cm 0.08756cm 1.2353cm - 20.06999cm + 20.20228cm 4 + + + =Parameters!CFDIVersion.Value + + + +