Visualizar intermediario en formato de complemento de pago de VSH

This commit is contained in:
2023-04-12 13:55:17 -07:00
parent 9078f9881c
commit 5a318f05ca
3 changed files with 8684 additions and 8566 deletions

View File

@@ -7321,6 +7321,7 @@ Public Class ClsPaginas
Dim Importe = "" Dim Importe = ""
Dim TotalLetra = "" Dim TotalLetra = ""
Dim FechaRecibo = "" Dim FechaRecibo = ""
Dim ProveedorIntermediario As String = ""
Dim RegimenFiscalCodigo As String = "" Dim RegimenFiscalCodigo As String = ""
Dim CFDIVersion As String = If(UsuarioActual.Empresa.Funcionalidad(350) = "1", "4.0", "3.3") Dim CFDIVersion As String = If(UsuarioActual.Empresa.Funcionalidad(350) = "1", "4.0", "3.3")
@@ -7385,6 +7386,7 @@ Public Class ClsPaginas
CveCliente = ObjBancos.DtResultados.FiltroPrimeroValor("CveCliente").ToEntero CveCliente = ObjBancos.DtResultados.FiltroPrimeroValor("CveCliente").ToEntero
CveMoneda = ObjBancos.DtResultados.FiltroPrimeroValor("CveMoneda").ToEntero CveMoneda = ObjBancos.DtResultados.FiltroPrimeroValor("CveMoneda").ToEntero
FechaComprobante = ObjBancos.DtResultados.FiltroPrimeroValor("Fecha").ToDate FechaComprobante = ObjBancos.DtResultados.FiltroPrimeroValor("Fecha").ToDate
ProveedorIntermediario = ObjBancos.DtResultados.FiltroPrimeroValor("ProveedorIntermediario")
SerieFolio = $"{Serie}-{Folio}" SerieFolio = $"{Serie}-{Folio}"
End If End If
ObjBancos.Dispose() ObjBancos.Dispose()
@@ -7628,6 +7630,11 @@ Public Class ClsPaginas
Else Else
params.Add(New ReportParameter("LogoPath", "")) params.Add(New ReportParameter("LogoPath", ""))
End If End If
If UsuarioActual.CveEmpresa = 145 Then
params.Add(New ReportParameter("ProveedorIntermediario", ProveedorIntermediario))
End If
If File.Exists($"{UsuarioActual.Empresa.Ruta}Formatos\ReciboDePago.rdlc") Then If File.Exists($"{UsuarioActual.Empresa.Ruta}Formatos\ReciboDePago.rdlc") Then
rutaArchivo = $"{UsuarioActual.Empresa.Ruta}Formatos\ReciboDePago.rdlc" rutaArchivo = $"{UsuarioActual.Empresa.Ruta}Formatos\ReciboDePago.rdlc"
Else Else

View File

@@ -488,7 +488,7 @@
</TablixMembers> </TablixMembers>
</TablixRowHierarchy> </TablixRowHierarchy>
<DataSetName>DataSet2</DataSetName> <DataSetName>DataSet2</DataSetName>
<Top>3.35585cm</Top> <Top>4.3401cm</Top>
<Left>0.01844cm</Left> <Left>0.01844cm</Left>
<Height>1.09cm</Height> <Height>1.09cm</Height>
<Width>20.53564cm</Width> <Width>20.53564cm</Width>
@@ -1246,7 +1246,7 @@
</TablixMembers> </TablixMembers>
</TablixRowHierarchy> </TablixRowHierarchy>
<DataSetName>DataSet1</DataSetName> <DataSetName>DataSet1</DataSetName>
<Top>7.05357cm</Top> <Top>8.03782cm</Top>
<Left>0.01844cm</Left> <Left>0.01844cm</Left>
<Height>1.61062cm</Height> <Height>1.61062cm</Height>
<Width>20.5314cm</Width> <Width>20.5314cm</Width>
@@ -1279,7 +1279,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName> <rd:DefaultName>Textbox5</rd:DefaultName>
<Top>4.71462cm</Top> <Top>5.69887cm</Top>
<Left>0.01844cm</Left> <Left>0.01844cm</Left>
<Height>0.49cm</Height> <Height>0.49cm</Height>
<Width>20.5314cm</Width> <Width>20.5314cm</Width>
@@ -1299,7 +1299,7 @@
<Source>External</Source> <Source>External</Source>
<Value>=Parameters!QR.Value</Value> <Value>=Parameters!QR.Value</Value>
<Sizing>FitProportional</Sizing> <Sizing>FitProportional</Sizing>
<Top>3.60753in</Top> <Top>3.99503in</Top>
<Left>0.00726in</Left> <Left>0.00726in</Left>
<Height>1.3in</Height> <Height>1.3in</Height>
<Width>1.5in</Width> <Width>1.5in</Width>
@@ -1330,7 +1330,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox165</rd:DefaultName> <rd:DefaultName>Textbox165</rd:DefaultName>
<Top>9.16313cm</Top> <Top>10.14738cm</Top>
<Left>4.02751cm</Left> <Left>4.02751cm</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>16.51099cm</Width> <Width>16.51099cm</Width>
@@ -1385,7 +1385,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox166</rd:DefaultName> <rd:DefaultName>Textbox166</rd:DefaultName>
<Top>9.61313cm</Top> <Top>10.59738cm</Top>
<Left>4.02751cm</Left> <Left>4.02751cm</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>16.51099cm</Width> <Width>16.51099cm</Width>
@@ -1440,7 +1440,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox167</rd:DefaultName> <rd:DefaultName>Textbox167</rd:DefaultName>
<Top>14.56313cm</Top> <Top>15.54738cm</Top>
<Left>4.02751cm</Left> <Left>4.02751cm</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>3.14425cm</Width> <Width>3.14425cm</Width>
@@ -1480,7 +1480,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox167</rd:DefaultName> <rd:DefaultName>Textbox167</rd:DefaultName>
<Top>15.01313cm</Top> <Top>15.99738cm</Top>
<Left>4.02751cm</Left> <Left>4.02751cm</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>3.14425cm</Width> <Width>3.14425cm</Width>
@@ -1519,7 +1519,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox171</rd:DefaultName> <rd:DefaultName>Textbox171</rd:DefaultName>
<Top>10.06313cm</Top> <Top>11.04738cm</Top>
<Left>7.19444cm</Left> <Left>7.19444cm</Left>
<Height>2.25cm</Height> <Height>2.25cm</Height>
<Width>13.34406cm</Width> <Width>13.34406cm</Width>
@@ -1573,7 +1573,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox171</rd:DefaultName> <rd:DefaultName>Textbox171</rd:DefaultName>
<Top>12.31313cm</Top> <Top>13.29738cm</Top>
<Left>7.19444cm</Left> <Left>7.19444cm</Left>
<Height>2.25cm</Height> <Height>2.25cm</Height>
<Width>13.34406cm</Width> <Width>13.34406cm</Width>
@@ -1627,7 +1627,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox171</rd:DefaultName> <rd:DefaultName>Textbox171</rd:DefaultName>
<Top>14.56313cm</Top> <Top>15.54738cm</Top>
<Left>7.19444cm</Left> <Left>7.19444cm</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>13.34406cm</Width> <Width>13.34406cm</Width>
@@ -1681,7 +1681,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox171</rd:DefaultName> <rd:DefaultName>Textbox171</rd:DefaultName>
<Top>15.01313cm</Top> <Top>15.99738cm</Top>
<Left>7.19444cm</Left> <Left>7.19444cm</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>13.34406cm</Width> <Width>13.34406cm</Width>
@@ -1751,7 +1751,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox171</rd:DefaultName> <rd:DefaultName>Textbox171</rd:DefaultName>
<Top>15.46313cm</Top> <Top>16.44738cm</Top>
<Left>4.02751cm</Left> <Left>4.02751cm</Left>
<Height>0.89979cm</Height> <Height>0.89979cm</Height>
<Width>16.53791cm</Width> <Width>16.53791cm</Width>
@@ -1786,6 +1786,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox165</rd:DefaultName> <rd:DefaultName>Textbox165</rd:DefaultName>
<Left>0in</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>20.5385cm</Width> <Width>20.5385cm</Width>
<ZIndex>13</ZIndex> <ZIndex>13</ZIndex>
@@ -1822,7 +1823,6 @@
</Style> </Style>
</Textbox> </Textbox>
<Textbox Name="Textbox177"> <Textbox Name="Textbox177">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Paragraphs> <Paragraphs>
<Paragraph> <Paragraph>
@@ -1840,6 +1840,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox167</rd:DefaultName> <rd:DefaultName>Textbox167</rd:DefaultName>
<Top>0.45cm</Top> <Top>0.45cm</Top>
<Left>0in</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>3.14425cm</Width> <Width>3.14425cm</Width>
<ZIndex>14</ZIndex> <ZIndex>14</ZIndex>
@@ -1875,7 +1876,6 @@
</Style> </Style>
</Textbox> </Textbox>
<Textbox Name="Textbox178"> <Textbox Name="Textbox178">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Paragraphs> <Paragraphs>
<Paragraph> <Paragraph>
@@ -1929,7 +1929,6 @@
</Style> </Style>
</Textbox> </Textbox>
<Textbox Name="Textbox179"> <Textbox Name="Textbox179">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Paragraphs> <Paragraphs>
<Paragraph> <Paragraph>
@@ -1997,7 +1996,6 @@
</Style> </Style>
</Textbox> </Textbox>
<Textbox Name="Textbox180"> <Textbox Name="Textbox180">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Paragraphs> <Paragraphs>
<Paragraph> <Paragraph>
@@ -2015,6 +2013,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox167</rd:DefaultName> <rd:DefaultName>Textbox167</rd:DefaultName>
<Top>0.9cm</Top> <Top>0.9cm</Top>
<Left>0in</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>3.14425cm</Width> <Width>3.14425cm</Width>
<ZIndex>17</ZIndex> <ZIndex>17</ZIndex>
@@ -2050,7 +2049,6 @@
</Style> </Style>
</Textbox> </Textbox>
<Textbox Name="Textbox181"> <Textbox Name="Textbox181">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Paragraphs> <Paragraphs>
<Paragraph> <Paragraph>
@@ -2068,6 +2066,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox167</rd:DefaultName> <rd:DefaultName>Textbox167</rd:DefaultName>
<Top>1.35cm</Top> <Top>1.35cm</Top>
<Left>0in</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>3.14425cm</Width> <Width>3.14425cm</Width>
<ZIndex>18</ZIndex> <ZIndex>18</ZIndex>
@@ -2103,7 +2102,6 @@
</Style> </Style>
</Textbox> </Textbox>
<Textbox Name="Textbox182"> <Textbox Name="Textbox182">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Paragraphs> <Paragraphs>
<Paragraph> <Paragraph>
@@ -2157,7 +2155,6 @@
</Style> </Style>
</Textbox> </Textbox>
<Textbox Name="Textbox183"> <Textbox Name="Textbox183">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Paragraphs> <Paragraphs>
<Paragraph> <Paragraph>
@@ -2211,7 +2208,6 @@
</Style> </Style>
</Textbox> </Textbox>
<Textbox Name="Textbox184"> <Textbox Name="Textbox184">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Paragraphs> <Paragraphs>
<Paragraph> <Paragraph>
@@ -2229,6 +2225,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox167</rd:DefaultName> <rd:DefaultName>Textbox167</rd:DefaultName>
<Top>1.8cm</Top> <Top>1.8cm</Top>
<Left>0in</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>3.14425cm</Width> <Width>3.14425cm</Width>
<ZIndex>21</ZIndex> <ZIndex>21</ZIndex>
@@ -2264,7 +2261,6 @@
</Style> </Style>
</Textbox> </Textbox>
<Textbox Name="Textbox185"> <Textbox Name="Textbox185">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Paragraphs> <Paragraphs>
<Paragraph> <Paragraph>
@@ -2282,6 +2278,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox167</rd:DefaultName> <rd:DefaultName>Textbox167</rd:DefaultName>
<Top>2.25cm</Top> <Top>2.25cm</Top>
<Left>0in</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>3.16269cm</Width> <Width>3.16269cm</Width>
<ZIndex>22</ZIndex> <ZIndex>22</ZIndex>
@@ -2317,7 +2314,6 @@
</Style> </Style>
</Textbox> </Textbox>
<Textbox Name="Textbox186"> <Textbox Name="Textbox186">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Paragraphs> <Paragraphs>
<Paragraph> <Paragraph>
@@ -2389,7 +2385,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox167</rd:DefaultName> <rd:DefaultName>Textbox167</rd:DefaultName>
<Top>10.06313cm</Top> <Top>11.04738cm</Top>
<Left>4.02751cm</Left> <Left>4.02751cm</Left>
<Height>2.25cm</Height> <Height>2.25cm</Height>
<Width>3.16693cm</Width> <Width>3.16693cm</Width>
@@ -2430,7 +2426,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox167</rd:DefaultName> <rd:DefaultName>Textbox167</rd:DefaultName>
<Top>12.31313cm</Top> <Top>13.29738cm</Top>
<Left>4.02751cm</Left> <Left>4.02751cm</Left>
<Height>2.26cm</Height> <Height>2.26cm</Height>
<Width>3.16693cm</Width> <Width>3.16693cm</Width>
@@ -2452,7 +2448,6 @@
</Style> </Style>
</Textbox> </Textbox>
<Textbox Name="Textbox189"> <Textbox Name="Textbox189">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Paragraphs> <Paragraphs>
<Paragraph> <Paragraph>
@@ -2470,6 +2465,7 @@
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox167</rd:DefaultName> <rd:DefaultName>Textbox167</rd:DefaultName>
<Top>2.7cm</Top> <Top>2.7cm</Top>
<Left>0in</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>3.14425cm</Width> <Width>3.14425cm</Width>
<ZIndex>26</ZIndex> <ZIndex>26</ZIndex>
@@ -2505,7 +2501,6 @@
</Style> </Style>
</Textbox> </Textbox>
<Textbox Name="Textbox190"> <Textbox Name="Textbox190">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether> <KeepTogether>true</KeepTogether>
<Paragraphs> <Paragraphs>
<Paragraph> <Paragraph>
@@ -2522,7 +2517,7 @@
</Paragraph> </Paragraph>
</Paragraphs> </Paragraphs>
<rd:DefaultName>Textbox171</rd:DefaultName> <rd:DefaultName>Textbox171</rd:DefaultName>
<Top>2.73175cm</Top> <Top>2.7cm</Top>
<Left>3.16466cm</Left> <Left>3.16466cm</Left>
<Height>0.45cm</Height> <Height>0.45cm</Height>
<Width>17.39425cm</Width> <Width>17.39425cm</Width>
@@ -5514,7 +5509,7 @@
</TablixMembers> </TablixMembers>
</TablixRowHierarchy> </TablixRowHierarchy>
<DataSetName>DataSet2</DataSetName> <DataSetName>DataSet2</DataSetName>
<Top>5.31865cm</Top> <Top>6.3029cm</Top>
<Left>0.03403cm</Left> <Left>0.03403cm</Left>
<Height>1.5452cm</Height> <Height>1.5452cm</Height>
<Width>20.53139cm</Width> <Width>20.53139cm</Width>
@@ -5525,8 +5520,118 @@
</Border> </Border>
</Style> </Style>
</Tablix> </Tablix>
<Textbox Name="Textbox191">
<CanGrow>true</CanGrow>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Intermediario:</Value>
<Style>
<FontFamily>calibri</FontFamily>
<FontSize>9pt</FontSize>
<FontWeight>Normal</FontWeight>
<Color>White</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox165</rd:DefaultName>
<Top>1.30298in</Top>
<Height>0.45cm</Height>
<Width>20.5385cm</Width>
<ZIndex>29</ZIndex>
<Visibility>
<Hidden>=Parameters!ProveedorIntermediario.Value = ""</Hidden>
</Visibility>
<Style>
<Border>
<Color>#4f81bd</Color>
<Style>Solid</Style>
</Border>
<BackgroundColor>#4f81bd</BackgroundColor>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox192">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>Proveedor:</Value>
<Style>
<FontFamily>calibri</FontFamily>
<FontSize>9pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox167</rd:DefaultName>
<Top>3.75957cm</Top>
<Height>0.45cm</Height>
<Width>3.14425cm</Width>
<ZIndex>30</ZIndex>
<Visibility>
<Hidden>=Parameters!ProveedorIntermediario.Value = ""</Hidden>
</Visibility>
<Style>
<Border>
<Color>#4f81bd</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox193">
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>=Parameters!ProveedorIntermediario.Value</Value>
<Style>
<FontFamily>calibri</FontFamily>
<FontSize>8pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox171</rd:DefaultName>
<Top>3.75957cm</Top>
<Left>3.14425cm</Left>
<Height>0.45cm</Height>
<Width>17.39425cm</Width>
<ZIndex>31</ZIndex>
<Visibility>
<Hidden>=Parameters!ProveedorIntermediario.Value = ""</Hidden>
</Visibility>
<Style>
<Border>
<Color>#4f81bd</Color>
<Style>Solid</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
</ReportItems> </ReportItems>
<Height>16.36292cm</Height> <Height>17.34717cm</Height>
<Style> <Style>
<Border> <Border>
<Style>None</Style> <Style>None</Style>
@@ -6523,6 +6628,12 @@
<AllowBlank>true</AllowBlank> <AllowBlank>true</AllowBlank>
<Prompt>ReportParameter1</Prompt> <Prompt>ReportParameter1</Prompt>
</ReportParameter> </ReportParameter>
<ReportParameter Name="ProveedorIntermediario">
<DataType>String</DataType>
<Nullable>true</Nullable>
<AllowBlank>true</AllowBlank>
<Prompt>ReportParameter1</Prompt>
</ReportParameter>
</ReportParameters> </ReportParameters>
<EmbeddedImages> <EmbeddedImages>
<EmbeddedImage Name="Logo"> <EmbeddedImage Name="Logo">