Factura 141, Compras correcion actualizar retenciones

This commit is contained in:
rakcsle
2022-05-21 14:49:27 -07:00
parent ca360c8e8c
commit a7bd4f5c7f
2 changed files with 121 additions and 127 deletions

View File

@@ -10483,6 +10483,17 @@ Partial Class Compras_Compras
Next
If Retorno Then
If CveRetIVAConceptoOriginal > 0 Then
CveRetIVAConceptoOriginal = DdlRetIVAConcepto.SelectedValue.ToEntero
End If
If CveRetISRConceptoOriginal > 0 Then
CveRetISRConceptoOriginal = DdlRetISRConcepto.SelectedValue.ToEntero
End If
End If
End If
Else

View File

@@ -448,13 +448,21 @@
<Paragraph>
<TextRuns>
<TextRun>
<Value>Este documento es una representación impresa de un CFDI</Value>
<Value>Este documento es una representación impresa de un CFDI </Value>
<Style>
<FontFamily>calibri</FontFamily>
<FontSize>6pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
<TextRun>
<Value>VERSION 3.3</Value>
<Style>
<FontFamily>MYRiad Pro</FontFamily>
<FontSize>6pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
@@ -477,7 +485,7 @@
</Textbox>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>6.69118in</Top>
<Top>6.32868in</Top>
<Left>0.06752in</Left>
<Height>1.42169in</Height>
<Width>8.23953in</Width>
@@ -1272,7 +1280,7 @@
</TablixMembers>
</TablixRowHierarchy>
<DataSetName>DsOC</DataSetName>
<Top>1.92778in</Top>
<Top>1.75278in</Top>
<Left>0.09836in</Left>
<Height>0.36206in</Height>
<Width>8.16629in</Width>
@@ -1298,7 +1306,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName>
<Top>9.52211cm</Top>
<Top>9.07761cm</Top>
<Left>0.28014cm</Left>
<Height>0.05496cm</Height>
<Width>20.88652cm</Width>
@@ -1349,7 +1357,7 @@
</Style>
</TextRun>
<TextRun>
<Value>="&lt;br/&gt;&lt;b&gt;Próxima Rotación y Balanceo: &lt;/b&gt;" &amp; FormatDateTime(CDate(Parameters!Fecha.Value).AddMonths(6), DateFormat.ShortDate) &amp; "&lt;br/&lt;b&gt;Próxima Alineación: &lt;/b&gt;" &amp; FormatDateTime(CDate(Parameters!Fecha.Value).AddMonths(6), DateFormat.ShortDate)</Value>
<Value>="&lt;br/&gt;&lt;b&gt;Próxima Rotación y Balanceo: &lt;/b&gt;" &amp; FormatDateTime(CDate(Parameters!Fecha.Value).AddMonths(6), DateFormat.ShortDate) &amp; " &lt;b&gt;Próxima Alineación: &lt;/b&gt;" &amp; FormatDateTime(CDate(Parameters!Fecha.Value).AddMonths(6), DateFormat.ShortDate)</Value>
<MarkupType>HTML</MarkupType>
<Style>
<FontFamily>calibri</FontFamily>
@@ -1360,10 +1368,10 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName>
<Top>9.66322cm</Top>
<Top>9.21872cm</Top>
<Left>1.10521cm</Left>
<Height>0.62233cm</Height>
<Width>9.17089cm</Width>
<Height>0.47226cm</Height>
<Width>12.31061cm</Width>
<ZIndex>3</ZIndex>
<Style>
<Border>
@@ -1379,9 +1387,9 @@
<Source>Embedded</Source>
<Value>ID2</Value>
<Sizing>FitProportional</Sizing>
<Top>0.29668cm</Top>
<Top>0.15875cm</Top>
<Left>1.15361cm</Left>
<Height>2.413cm</Height>
<Height>2.2881cm</Height>
<Width>2.75323cm</Width>
<ZIndex>4</ZIndex>
<Style>
@@ -1461,7 +1469,7 @@
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Left>4.32565cm</Left>
<Height>2.70968cm</Height>
<Height>1.93cm</Height>
<Width>7.93893cm</Width>
<ZIndex>5</ZIndex>
<Style>
@@ -1541,7 +1549,7 @@
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Left>12.68838cm</Left>
<Height>2.70968cm</Height>
<Height>2.55125cm</Height>
<Width>5.11312cm</Width>
<ZIndex>6</ZIndex>
<Style>
@@ -1751,7 +1759,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Top>2.88607cm</Top>
<Top>2.47332cm</Top>
<Left>0.28014cm</Left>
<Height>1.09007cm</Height>
<Width>9.71199cm</Width>
@@ -1828,7 +1836,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Top>2.86594cm</Top>
<Top>2.45319cm</Top>
<Left>10.09281cm</Left>
<Height>1.12078cm</Height>
<Width>10.9783cm</Width>
@@ -2009,7 +2017,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Top>3.97614cm</Top>
<Top>3.56339cm</Top>
<Left>0.25136cm</Left>
<Height>0.74611cm</Height>
<Width>13.82025cm</Width>
@@ -2042,7 +2050,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox32</rd:DefaultName>
<Top>4.05346cm</Top>
<Top>3.64071cm</Top>
<Left>14.07729cm</Left>
<Height>0.57354cm</Height>
<Width>2.90753cm</Width>
@@ -2080,7 +2088,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Top>5.8751cm</Top>
<Top>5.4306cm</Top>
<Left>1.74571cm</Left>
<Height>1.05328cm</Height>
<Width>17.71415cm</Width>
@@ -2246,7 +2254,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Top>10.55218cm</Top>
<Top>10.20293cm</Top>
<Left>0.22108cm</Left>
<Height>2.03224cm</Height>
<Width>20.79751cm</Width>
@@ -2276,7 +2284,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName>
<Top>14.19509cm</Top>
<Top>13.27434cm</Top>
<Left>0.24983cm</Left>
<Height>0.05496cm</Height>
<Width>20.88652cm</Width>
@@ -2296,7 +2304,7 @@
<Source>Embedded</Source>
<Value>ID3</Value>
<Sizing>FitProportional</Sizing>
<Top>26.3493cm</Top>
<Top>24.6983cm</Top>
<Left>0.28014cm</Left>
<Height>0.93046cm</Height>
<Width>5.37042cm</Width>
@@ -2328,7 +2336,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox60</rd:DefaultName>
<Top>24.01452cm</Top>
<Top>22.36352cm</Top>
<Left>0.28014cm</Left>
<Height>0.6882cm</Height>
<Width>20.71217cm</Width>
@@ -2381,7 +2389,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox32</rd:DefaultName>
<Top>3.98672cm</Top>
<Top>3.57397cm</Top>
<Left>17.11694cm</Left>
<Height>0.64028cm</Height>
<Width>3.90165cm</Width>
@@ -2548,7 +2556,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Top>14.35588cm</Top>
<Top>13.43513cm</Top>
<Left>0.16383cm</Left>
<Height>2.44366cm</Height>
<Width>15.51057cm</Width>
@@ -2583,9 +2591,9 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox19</rd:DefaultName>
<Top>5.63803in</Top>
<Top>5.27553in</Top>
<Left>6.21617in</Left>
<Height>0.17708in</Height>
<Height>0.17608in</Height>
<Width>0.94607in</Width>
<ZIndex>21</ZIndex>
<Style>
@@ -2618,9 +2626,9 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox19</rd:DefaultName>
<Top>5.8305in</Top>
<Top>5.4305in</Top>
<Left>6.21616in</Left>
<Height>0.17966in</Height>
<Height>0.17608in</Height>
<Width>0.94607in</Width>
<ZIndex>22</ZIndex>
<Style>
@@ -2653,9 +2661,9 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox19</rd:DefaultName>
<Top>6.02949in</Top>
<Top>5.59199in</Top>
<Left>6.21616in</Left>
<Height>0.18819in</Height>
<Height>0.17608in</Height>
<Width>0.94607in</Width>
<ZIndex>23</ZIndex>
<Style>
@@ -2688,9 +2696,9 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox19</rd:DefaultName>
<Top>6.23574in</Top>
<Top>5.76074in</Top>
<Left>6.22658in</Left>
<Height>0.17119in</Height>
<Height>0.17608in</Height>
<Width>0.94607in</Width>
<ZIndex>24</ZIndex>
<Style>
@@ -2724,7 +2732,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox19</rd:DefaultName>
<Top>6.42637in</Top>
<Top>5.92637in</Top>
<Left>6.237in</Left>
<Height>0.19596in</Height>
<Width>0.94607in</Width>
@@ -2760,9 +2768,9 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox42</rd:DefaultName>
<Top>5.66303in</Top>
<Top>5.27553in</Top>
<Left>7.16224in</Left>
<Height>0.17708in</Height>
<Height>0.17608in</Height>
<Width>0.98426in</Width>
<ZIndex>26</ZIndex>
<Style>
@@ -2795,9 +2803,9 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox42</rd:DefaultName>
<Top>5.8555in</Top>
<Top>5.4305in</Top>
<Left>7.16224in</Left>
<Height>0.17966in</Height>
<Height>0.17608in</Height>
<Width>0.98425in</Width>
<ZIndex>27</ZIndex>
<Style>
@@ -2830,9 +2838,9 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox42</rd:DefaultName>
<Top>6.05449in</Top>
<Top>5.59199in</Top>
<Left>7.17266in</Left>
<Height>0.18819in</Height>
<Height>0.17608in</Height>
<Width>0.98425in</Width>
<ZIndex>28</ZIndex>
<Style>
@@ -2866,9 +2874,9 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox42</rd:DefaultName>
<Top>6.26074in</Top>
<Top>5.76074in</Top>
<Left>7.17266in</Left>
<Height>0.17119in</Height>
<Height>0.17608in</Height>
<Width>0.98425in</Width>
<ZIndex>29</ZIndex>
<Style>
@@ -2902,7 +2910,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox42</rd:DefaultName>
<Top>6.45137in</Top>
<Top>5.92637in</Top>
<Left>7.18308in</Left>
<Height>0.19596in</Height>
<Width>0.98425in</Width>
@@ -2924,10 +2932,8 @@
<Paragraph>
<TextRuns>
<TextRun>
<Value>
www.econollantas.com
01800 560-6757
</Value>
<Value> www.econollantas.com
01800 560-6757 </Value>
<Style>
<FontSize>8pt</FontSize>
</Style>
@@ -2939,10 +2945,10 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox90</rd:DefaultName>
<Top>1.88947cm</Top>
<Left>6.75122cm</Left>
<Height>0.82021cm</Height>
<Width>5.51336cm</Width>
<Top>1.77125cm</Top>
<Left>7.90108cm</Left>
<Height>0.78cm</Height>
<Width>4.3635cm</Width>
<ZIndex>31</ZIndex>
<Style>
<Border>
@@ -2969,7 +2975,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName>
<Top>16.8701cm</Top>
<Top>15.94935cm</Top>
<Left>0.10579cm</Left>
<Height>0.05496cm</Height>
<Width>20.88652cm</Width>
@@ -3016,7 +3022,7 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox3</rd:DefaultName>
<Top>6.92838cm</Top>
<Top>6.48388cm</Top>
<Left>1.15361cm</Left>
<Height>1.32415cm</Height>
<Width>19.15078cm</Width>
@@ -3034,54 +3040,16 @@
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Textbox Name="Textbox47">
<CanGrow>true</CanGrow>
<CanShrink>true</CanShrink>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>&lt; ** Toda corrección de los datos del comprobante debera efectuarse a más tardar tres dias despues de su expedición. ** &gt;</Value>
<Style>
<FontStyle>Normal</FontStyle>
<FontFamily>calibri</FontFamily>
<FontSize>7pt</FontSize>
<FontWeight>Normal</FontWeight>
<TextDecoration>None</TextDecoration>
<Color>#000000</Color>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Top>13.71798cm</Top>
<Left>0.19008cm</Left>
<Height>0.40655cm</Height>
<Width>12.88812cm</Width>
<ZIndex>34</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
<PaddingLeft>2pt</PaddingLeft>
<PaddingRight>2pt</PaddingRight>
<PaddingTop>2pt</PaddingTop>
<PaddingBottom>2pt</PaddingBottom>
</Style>
</Textbox>
<Image Name="QRCodeDescarga">
<Source>Database</Source>
<Value>=System.Convert.FromBase64String(Parameters!QRDescarga.Value)</Value>
<MIMEType>image/png</MIMEType>
<Sizing>FitProportional</Sizing>
<Top>9.9935in</Top>
<Top>9.3435in</Top>
<Left>6.67743in</Left>
<Height>0.6035in</Height>
<Width>0.78275in</Width>
<ZIndex>35</ZIndex>
<ZIndex>34</ZIndex>
<Style>
<Border>
<Style>None</Style>
@@ -3130,11 +3098,11 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox60</rd:DefaultName>
<Top>24.4593cm</Top>
<Top>22.8083cm</Top>
<Left>0.28014cm</Left>
<Height>1.49135cm</Height>
<Width>5.37042cm</Width>
<ZIndex>36</ZIndex>
<ZIndex>35</ZIndex>
<Style>
<Border>
<Style>None</Style>
@@ -3160,11 +3128,11 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName>
<Top>20.69665cm</Top>
<Top>19.7759cm</Top>
<Left>0.14007cm</Left>
<Height>0.05496cm</Height>
<Width>20.88652cm</Width>
<ZIndex>37</ZIndex>
<ZIndex>36</ZIndex>
<Style>
<Border>
<Style>None</Style>
@@ -3191,11 +3159,11 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName>
<Top>27.44203cm</Top>
<Top>25.69578cm</Top>
<Left>0.28014cm</Left>
<Height>0.05496cm</Height>
<Width>20.88652cm</Width>
<ZIndex>38</ZIndex>
<ZIndex>37</ZIndex>
<Style>
<Border>
<Style>None</Style>
@@ -3285,11 +3253,11 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox60</rd:DefaultName>
<Top>24.4593cm</Top>
<Top>22.8083cm</Top>
<Left>7.45145cm</Left>
<Height>2.45709cm</Height>
<Width>6.56105cm</Width>
<ZIndex>39</ZIndex>
<ZIndex>38</ZIndex>
<Style>
<Border>
<Style>None</Style>
@@ -3324,11 +3292,11 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox60</rd:DefaultName>
<Top>24.44952cm</Top>
<Top>22.79852cm</Top>
<Left>14.67145cm</Left>
<Height>1.46939cm</Height>
<Width>6.32076cm</Width>
<ZIndex>40</ZIndex>
<ZIndex>39</ZIndex>
<Style>
<Border>
<Style>None</Style>
@@ -3363,11 +3331,11 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox15</rd:DefaultName>
<Top>8.42892cm</Top>
<Top>7.98442cm</Top>
<Left>1.15361cm</Left>
<Height>1.05791cm</Height>
<Width>19.15078cm</Width>
<ZIndex>41</ZIndex>
<ZIndex>40</ZIndex>
<Visibility>
<Hidden>=IIF((Sum(IIF(Fields!CveClasificacion.Value = 20345,1,0), "DsOC") &gt; 0),false,true)</Hidden>
</Visibility>
@@ -3832,11 +3800,11 @@
</Tablix>
</ReportItems>
<KeepTogether>true</KeepTogether>
<Top>20.92547cm</Top>
<Top>19.97297cm</Top>
<Left>0.13424cm</Left>
<Height>2.25247cm</Height>
<Width>20.89818cm</Width>
<ZIndex>42</ZIndex>
<ZIndex>41</ZIndex>
<Visibility>
<Hidden>=Microsoft.VisualBasic.Interaction.IIF(First(Fields!SerieFolio.Value, "DataSet4") &lt;&gt; "", False, True)</Hidden>
</Visibility>
@@ -3853,15 +3821,27 @@
<Paragraph>
<TextRuns>
<TextRun>
<Value>Acepto ajuste </Value>
<Value>Acepto ajuste </Value>
<Style>
<FontFamily>calibri</FontFamily>
<FontSize>12pt</FontSize>
<FontSize>11pt</FontSize>
<FontWeight>Bold</FontWeight>
</Style>
</TextRun>
<TextRun>
<Value>_______________________</Value>
<Value>____________________</Value>
<Style>
<FontFamily>calibri</FontFamily>
<FontSize>11pt</FontSize>
</Style>
</TextRun>
</TextRuns>
<Style />
</Paragraph>
<Paragraph>
<TextRuns>
<TextRun>
<Value />
<Style>
<FontFamily>calibri</FontFamily>
<FontSize>12pt</FontSize>
@@ -3872,11 +3852,11 @@
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox1</rd:DefaultName>
<Top>9.84123cm</Top>
<Left>10.41721cm</Left>
<Height>0.64039cm</Height>
<Width>9.53276cm</Width>
<ZIndex>43</ZIndex>
<Top>9.14816cm</Top>
<Left>13.59221cm</Left>
<Height>0.54281cm</Height>
<Width>7.38429cm</Width>
<ZIndex>42</ZIndex>
<Visibility>
<Hidden>=IIF((Sum(IIF(UCase(Fields!Clasificacion.Value) = "AJUSTE" , 1, 0), "DsOC") &gt; 0),false,true)</Hidden>
</Visibility>
@@ -3894,29 +3874,32 @@
<Source>Embedded</Source>
<Value>LogoLlantas1</Value>
<Sizing>FitProportional</Sizing>
<Top>12.72328cm</Top>
<Top>12.27878cm</Top>
<Left>0.20617cm</Left>
<Height>0.85359cm</Height>
<Width>20.86494cm</Width>
<ZIndex>44</ZIndex>
<ZIndex>43</ZIndex>
<Style>
<Border>
<Style>None</Style>
</Border>
</Style>
</Image>
<Textbox Name="Textbox26">
<Textbox Name="Textbox47">
<CanGrow>true</CanGrow>
<CanShrink>true</CanShrink>
<KeepTogether>true</KeepTogether>
<Paragraphs>
<Paragraph>
<TextRuns>
<TextRun>
<Value>VERSION 3.3</Value>
<Value>&lt; ** Toda corrección de los datos del comprobante debera efectuarse a más tardar tres dias despues de su expedición. ** &gt;</Value>
<Style>
<FontFamily>MYRiad Pro</FontFamily>
<FontSize>9.16pt</FontSize>
<FontWeight>Bold</FontWeight>
<FontStyle>Normal</FontStyle>
<FontFamily>calibri</FontFamily>
<FontWeight>Normal</FontWeight>
<TextDecoration>None</TextDecoration>
<Color>Red</Color>
</Style>
</TextRun>
</TextRuns>
@@ -3925,12 +3908,12 @@
</Style>
</Paragraph>
</Paragraphs>
<rd:DefaultName>Textbox5</rd:DefaultName>
<Top>23.28377cm</Top>
<Left>17.70088cm</Left>
<Height>0.6cm</Height>
<Width>3.32021cm</Width>
<ZIndex>45</ZIndex>
<rd:DefaultName>Textbox4</rd:DefaultName>
<Top>9.73684cm</Top>
<Left>0.20617cm</Left>
<Height>0.44183cm</Height>
<Width>20.83436cm</Width>
<ZIndex>44</ZIndex>
<Style>
<Border>
<Style>None</Style>
@@ -3942,7 +3925,7 @@
</Style>
</Textbox>
</ReportItems>
<Height>27.49699cm</Height>
<Height>25.75074cm</Height>
<Style />
</Body>
<Width>21.16666cm</Width>