--FIX importe IE
This commit is contained in:
@@ -697,6 +697,7 @@ Partial Class Ventas_PVCobranza
|
|||||||
If respFactura.Factura.DtAnticiposAplicados IsNot Nothing Then
|
If respFactura.Factura.DtAnticiposAplicados IsNot Nothing Then
|
||||||
PagoAplicado += respFactura.Factura.DtAnticiposAplicados.SUM("Importe")
|
PagoAplicado += respFactura.Factura.DtAnticiposAplicados.SUM("Importe")
|
||||||
SaldoPendienteVenta = SaldoPendienteVenta - PagoAplicado
|
SaldoPendienteVenta = SaldoPendienteVenta - PagoAplicado
|
||||||
|
SaldoPendientePagos = SaldoPendientePagos - PagoAplicado
|
||||||
|
|
||||||
For Each RowAnt As DataRow In respFactura.Factura.DtAnticiposAplicados.Rows
|
For Each RowAnt As DataRow In respFactura.Factura.DtAnticiposAplicados.Rows
|
||||||
If Not ActualizaAnticipos(RowAnt("CveIE").ToString().ToEntero(), RowAnt("CveVenta").ToString().ToEntero(), RowAnt("Tipo").ToString(), RowAnt("Folio").ToString(), ObjVentas2, ObjOIEventos) Then
|
If Not ActualizaAnticipos(RowAnt("CveIE").ToString().ToEntero(), RowAnt("CveVenta").ToString().ToEntero(), RowAnt("Tipo").ToString(), RowAnt("Folio").ToString(), ObjVentas2, ObjOIEventos) Then
|
||||||
@@ -727,6 +728,7 @@ Partial Class Ventas_PVCobranza
|
|||||||
Else
|
Else
|
||||||
PagoAplicado += respNC.Factura.Total
|
PagoAplicado += respNC.Factura.Total
|
||||||
SaldoPendienteVenta = SaldoPendienteVenta - PagoAplicado
|
SaldoPendienteVenta = SaldoPendienteVenta - PagoAplicado
|
||||||
|
SaldoPendientePagos = SaldoPendientePagos - PagoAplicado
|
||||||
|
|
||||||
For Each RowAnt As DataRow In respNC.Factura.DtAnticiposAplicados.Rows
|
For Each RowAnt As DataRow In respNC.Factura.DtAnticiposAplicados.Rows
|
||||||
If Not ActualizaAnticipos(RowAnt("CveIE").ToString().ToEntero(), RowAnt("CveVenta").ToString().ToEntero(), RowAnt("Tipo").ToString(), RowAnt("Folio").ToString(), ObjVentas2, ObjOIEventos) Then
|
If Not ActualizaAnticipos(RowAnt("CveIE").ToString().ToEntero(), RowAnt("CveVenta").ToString().ToEntero(), RowAnt("Tipo").ToString(), RowAnt("Folio").ToString(), ObjVentas2, ObjOIEventos) Then
|
||||||
|
|||||||
Reference in New Issue
Block a user